gitlab4j / gitlab4j-api

GitLab4J API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories via the GitLab REST API
MIT License
1.07k stars 459 forks source link

Expose `created_at` field in Tags API #1151

Closed nhanlc56 closed 1 month ago

nhanlc56 commented 2 months ago

Please add "created_at" property in Tag model. Currently, The actual response of API v4 to retrieve info of TAGS doesn't show the creation date of the TAG, only shows date and creation timestamp of Commits.

Please check GitLab documentation here: https://docs.gitlab.com/ee/api/issues.html#single-issue response

Nadreasky commented 2 months ago

I have same issue, please release new version to support it

jmini commented 1 month ago

Isn't the link to the gitlab documentation pointing to something else?

nhanlc56 commented 1 month ago

Nope, this link is from https://docs.gitlab.com/17.3/ee/api/tags.html with history description: created_at response attribute introduced in GitLab 16.11.

Currently, the Tag.class don't have createAt property yet.

jmini commented 1 month ago

Currently, the Tag.class don't have createdAt property yet.

Yes this can be added (PR are welcome), together with a change of the tag.json to have the serializer tested in the TestGitLabApiBeans.