Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-27 18:09:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-27 18:09:34 +0300
commitf459f810d53dd453d3fc39df2dd62f01629d99e4 (patch)
tree1ecd155b532808014da10d0c04357292f06700a9 /doc/api
parent71329edee6b7c2af838e07189dfeef8a41cd66ec (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/container_registry.md13
-rw-r--r--doc/api/jobs.md5
2 files changed, 15 insertions, 3 deletions
diff --git a/doc/api/container_registry.md b/doc/api/container_registry.md
index 901b0b93529..2af725ecdad 100644
--- a/doc/api/container_registry.md
+++ b/doc/api/container_registry.md
@@ -448,6 +448,17 @@ $ curl --request GET --user "${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}" \
### Delete image tags by reference
+> Endpoint `v2/<name>/manifests/<tag>` [introduced](https://gitlab.com/gitlab-org/container-registry/-/issues/1091) and endpoint `v2/<name>/tags/reference/<tag>` [deprecated](https://gitlab.com/gitlab-org/container-registry/-/issues/1094) in GitLab 16.4.
+
+<!--- start_remove The following content will be removed on remove_date: '2024-08-15' -->
+
+WARNING:
+Endpoint `v2/<name>/tags/reference/<tag>` [deprecated](https://gitlab.com/gitlab-org/container-registry/-/issues/1095)
+in GitLab 16.4 and is planned for removal in 17.0. Use [`v2/<name>/manifests/<tag>`](https://gitlab.com/gitlab-org/container-registry/-/blob/master/docs/spec/docker/v2/api.md#delete-manifest) instead.
+This change is a breaking change.
+
+<!--- end_remove -->
+
```plaintext
DELETE http(s)://${CI_REGISTRY}/v2/${CI_REGISTRY_IMAGE}/tags/reference/${CI_COMMIT_SHORT_SHA}
```
@@ -458,7 +469,7 @@ The `tag_delete` [Container-Registry-Feature](https://gitlab.com/gitlab-org/cont
```shell
$ curl --request DELETE --header "Authorization: Bearer <token_from_above>" \
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
- "https://gitlab.example.com:5050/v2/${CI_REGISTRY_IMAGE}/tags/reference/${CI_COMMIT_SHORT_SHA}"
+ "https://gitlab.example.com:5050/v2/${CI_REGISTRY_IMAGE}/manifests/${CI_COMMIT_SHORT_SHA}"
```
### Listing all container repositories
diff --git a/doc/api/jobs.md b/doc/api/jobs.md
index 92ab12ec0d0..06fd354f2be 100644
--- a/doc/api/jobs.md
+++ b/doc/api/jobs.md
@@ -14,8 +14,9 @@ Get a list of jobs in a project. Jobs are sorted in descending order of their ID
By default, this request returns 20 results at a time because the API results [are paginated](rest/index.md#pagination)
-This endpoint supports both offset-based and [keyset-based](rest/index.md#keyset-based-pagination) pagination. Keyset-based
-pagination is recommended when requesting consecutive pages of results.
+NOTE:
+This endpoint supports both offset-based and [keyset-based](rest/index.md#keyset-based-pagination) pagination, but keyset-based
+pagination is strongly recommended when requesting consecutive pages of results.
```plaintext
GET /projects/:id/jobs