Add API endpoint to refresh a project statistics
What does this MR do?
Add API endpoint to refresh a project statistics. Available for only admins.
For performance reasons, a project statistics is cached and it may not return accurate values. You can use this endpoint to get more accurate project statistics.
Note: This endpoint does not refresh
job_artifacts_size
, because there is a issue to recalculate it.
What are the relevant issue numbers?
#29288 (moved) #43765 (closed) #44726 (closed) #49368 (moved) #57640 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process. -
Security reports checked/validated by reviewer
Edited by Hiroyuki Sato