Skip to content

Endpoint suggestions: /repos/{owner}/{repo}/issue_times and /repos/{owner}/{repo}/issue_labels #9839

Closed
@Breee

Description

@Breee

Description

If you want to get times for an issue you have to call /repos/{owner}/{repo}/issues/{id}/times
If you do this for alot of issues, it takes literally ages because of the high amount of requests,
In our case it takes ~20 minutes to fetch all times of all issues.

I suggest to introduce a new endpoint /repos/{owner}/{repo}/issue_times,
which returns all issues (or just their IDs) and the times tied to it.

The same for /repos/{owner}/{repo}/issue_labels.

I would find this useful, to reduce API calls and save alot of time, because the backend can prepare such an response really fast.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions