Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to skip issue details in /times endpoints reply #30994

Open
Diomas opened this issue May 16, 2024 · 1 comment
Open

Option to skip issue details in /times endpoints reply #30994

Diomas opened this issue May 16, 2024 · 1 comment
Labels
topic/api Concerns mainly the API type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@Diomas
Copy link

Diomas commented May 16, 2024

Feature Description

It would be nice option to have less output when we're querying for an issue tracked time: each time record has full issue object with lots of details in it.

It makes even more sense when we're querying for tracked times for a single issue: same big data chunk for the given issue repeats over and over again in the list while we're obviously interested only in time records itself here, not other issue details.

Screenshots

No response

@Diomas Diomas added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label May 16, 2024
@kemzeb
Copy link
Contributor

kemzeb commented May 17, 2024

Thanks for the enhancement request! It looks like you're talking about GET /repos/{owner}/{repo}/issues/{index}/times?

From reading the Go struct that gets JSON serialized and the review comments of the PR that made the change, it looks like the issue-specific details coming from this endpoint are actually deprecated. It is planned for removal outright when v2 of the API comes around.

@kemzeb kemzeb added the topic/api Concerns mainly the API label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/api Concerns mainly the API type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants