Skip to content

API /tags should provide timestamp for release/tag creation #13004

Closed
@Idrinth

Description

@Idrinth

Description

Currently the api returns a timestamp for a branch's commit, but no commit timestamp for a tag. This seems inconsistent and makes it unecessarily complicated to find out when something was tagged.

I would expect a structure similar to the following:

[
    {
        "name":"test4issue",
        "id":"fea22d6f670b52cab0685fb531877ecb552d4efb",
        "commit":{
            "url":"https://try.gitea.io/api/v1/repos/Idrinth/config-check/git/commits/fea22d6f670b52cab0685fb531877ecb552d4efb",
            "sha":"fea22d6f670b52cab0685fb531877ecb552d4efb",
			"timestamp": "2020-09-08T18:46:47+02:00"
        },
        "zipball_url":"https://try.gitea.io/Idrinth/config-check/archive/test4issue.zip",
        "tarball_url":"https://try.gitea.io/Idrinth/config-check/archive/test4issue.tar.gz"
    }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions