Expose expires_at property of project shared_with_group relation by API
Description
When sharing a project with a group, one can specify an expires_at
property: https://docs.gitlab.com/ee/api/projects.html#share-project-with-group
However, when reading a project via the API, shared_with_group
only contains the group id, name and access level,
but not the expires_at
property.
This prevents from detecting changes of this property via API.
Context: we are managing users/projects/groups via the API using terraform.
Proposal
It would improve managing projects via the API if the expires_at
property of the project shared_with_group
relation would be exposed by the API.
Links / references
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/api/entities.rb#L88 https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/api/entities.rb#L215