From 209bd8cf1f542f6ba2a069b368a9187faa871e96 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 9 Apr 2020 15:09:29 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/api/dependency_proxy.md | 21 +++++++++++++++++++++ doc/api/projects.md | 9 ++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 doc/api/dependency_proxy.md (limited to 'doc/api') diff --git a/doc/api/dependency_proxy.md b/doc/api/dependency_proxy.md new file mode 100644 index 00000000000..a379f1481c1 --- /dev/null +++ b/doc/api/dependency_proxy.md @@ -0,0 +1,21 @@ +# Dependency Proxy API **(PREMIUM)** + +## Purge the dependency proxy for a group + +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/11631) in GitLab 12.10. + +Deletes the cached blobs for a group. This endpoint requires group admin access. + +```plaintext +DELETE /groups/:id/dependency_proxy/cache +``` + +| Attribute | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `id` | integer/string | yes | The ID or [URL-encoded path of the group](README.md#namespaced-path-encoding) owned by the authenticated user | + +Example request: + +```shell +curl --request DELETE --header "PRIVATE-TOKEN: " "https://gitlab.example.com/api/v4/groups/5/dependency_proxy/cache" +``` diff --git a/doc/api/projects.md b/doc/api/projects.md index 959b263c301..f0b65b9ac6a 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -162,7 +162,7 @@ When the user is authenticated and `simple` is not set this returns something li "merge_method": "merge", "autoclose_referenced_issues": true, "suggestion_commit_message": null, - "marked_for_deletion_at": "2020-04-03", + "marked_for_deletion_at": "2020-04-03", // to be deprecated in GitLab 13.0 in favor of marked_for_deletion_on "marked_for_deletion_on": "2020-04-03", "statistics": { "commit_count": 37, @@ -287,6 +287,9 @@ When the user is authenticated and `simple` is not set this returns something li ] ``` +NOTE: **Note:** +For users on GitLab [Silver, Premium, or higher](https://about.gitlab.com/pricing/) the `marked_for_deletion_at` attribute will be deprecated in GitLab 13.0 in favor of the `marked_for_deletion_on` attribute. + Users on GitLab [Starter, Bronze, or higher](https://about.gitlab.com/pricing/) will also see the `approvals_before_merge` parameter: @@ -408,7 +411,7 @@ This endpoint supports [keyset pagination](README.md#keyset-based-pagination) fo "merge_method": "merge", "autoclose_referenced_issues": true, "suggestion_commit_message": null, - "marked_for_deletion_at": "2020-04-03", + "marked_for_deletion_at": "2020-04-03", // to be deprecated in GitLab 13.0 in favor of marked_for_deletion_on "marked_for_deletion_on": "2020-04-03", "statistics": { "commit_count": 37, @@ -874,7 +877,7 @@ GET /projects/:id "service_desk_address": null, "autoclose_referenced_issues": true, "suggestion_commit_message": null, - "marked_for_deletion_at": "2020-04-03", + "marked_for_deletion_at": "2020-04-03", // to be deprecated in GitLab 13.0 in favor of marked_for_deletion_on "marked_for_deletion_on": "2020-04-03", "statistics": { "commit_count": 37, -- cgit v1.2.1