Skip to content

Remove label issue and MR counts from default API responses

Sean McGivern requested to merge speed-up-labels-api into master

What does this MR do?

These counts significantly increase the load time for these requests. Users can now opt in to receiving the counts by setting with_counts=true in requests. This is a breaking change, but hopefully a fairly minor one.

Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/63103.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Merge request reports

Loading