Add a "House Keeping" API call
For instance:
House Keeping
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects.
PUT /projects/:id/repository/housekeeping
Attribute | Type | Required | Description |
---|---|---|---|
id | integer | yes | The ID of a project |
Or it can also be called "garbage collect", but there should be the same name as the corresponding feature in "Project settings"