feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Add coverage percentage to public API's Flag list endpoint

Open spalmurray-codecov opened this issue 1 year ago • 2 comments

https://docs.codecov.com/reference/repos_flags_list

On this endpoint, add the flag coverage to the response. Almost same feature as was added in https://github.com/codecov/feedback/issues/150.

Requested by @nikosatwork

spalmurray-codecov avatar May 01 '24 20:05 spalmurray-codecov

@aj-codecov This might be a separate request, but there was an ask to add line coverage to the API as well:

If that ticket is being worked on, it'd also be great to get the line by line coverage data for each flag too. It's not available on the flag coverage endpoints, and is also only available on the repo endpoint.

drazisil-codecov avatar Jul 19 '24 12:07 drazisil-codecov

More context:

To restate Jimmy’s request - he wants the flags endpoints to return whatever is most recent - he’s using this endpoint which based on just this page appears to be pulling time series data, which is bucketed/aggregated and not specific to a single commit, what he really seems to be asking for is a brand new endpoint that returns results specific to the flag and commit. Spencer did this for Components, but the work hasn’t been completed for flags.

katia-sentry avatar Aug 12 '24 19:08 katia-sentry

@JerrySentry can I provide any additional context for this one or are you unblocked?

jerrodcodecov avatar Aug 20 '24 18:08 jerrodcodecov