-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathregistries_update_garbageCollection.yml
More file actions
49 lines (35 loc) · 1.2 KB
/
registries_update_garbageCollection.yml
File metadata and controls
49 lines (35 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
operationId: registries_update_garbageCollection
summary: "Update Garbage Collection"
description: To cancel the currently-active garbage collection for a registry,
send a PUT request to `/v2/registries/$REGISTRY_NAME/garbage-collection/$GC_UUID`
and specify one or more of the attributes below. It is similar to PUT `/v2/registries/$REGISTRY_NAME/garbage-collection/$GC_UUID`.
tags:
- Container Registries
parameters:
- $ref: 'parameters.yml#/registry_name'
- $ref: 'parameters.yml#/garbage_collection_uuid'
requestBody:
required: true
content:
application/json:
schema:
$ref: 'models/update_registry.yml'
responses:
'200':
$ref: 'responses/garbage_collection.yml'
'401':
$ref: '../../shared/responses/unauthorized.yml'
'404':
$ref: '../../shared/responses/not_found.yml'
'429':
$ref: '../../shared/responses/too_many_requests.yml'
'500':
$ref: '../../shared/responses/server_error.yml'
default:
$ref: '../../shared/responses/unexpected_error.yml'
x-codeSamples:
- $ref: 'examples/curl/registries_update_garbageCollection.yml'
- $ref: 'examples/python/registries_update_garbageCollection.yml'
security:
- bearer_auth:
- 'registry:update'