feedback
feedback copied to clipboard
API call to tell whether Codecov processing has finished successfully or errored for a given commit
What product do you want to improve? API endpoint: https://docs.codecov.com/reference/repos_commits_retrieve
Is your feature request related to a problem? Please describe. The call to the endpoint above will return a large JSON blob about 10.4MB in some cases. This is inefficient as we only need to have the status to check the commit processing. Currently the status is returned, however it cannot be returned separately from the large JSON blob.
Describe the solution you'd like Allow a customer to define field(s) that they would like to isolate form the report payload (as it is the probably the largest part of the payload). Alternative, add a filter (true/false) in the required request fields to return the report or not. That should make the endpoint more efficient.
Describe alternatives you've considered
Add a new endpoint to return status only repos_commits_retrieve_status. In the future it could also be improved to allow any _field to be passed-in, for example: repos_commits_retrieve_branch
Additional context Customer request that needs to be prioritized.