-
Notifications
You must be signed in to change notification settings - Fork 0
/
dtz-containerregistry-api.yaml
62 lines (62 loc) · 1.49 KB
/
dtz-containerregistry-api.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
openapi: 3.1.0
info:
title: DTZ Container Registry
version: 1.0.0
description: a generated client for the DTZ Container Registry API
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
contact:
name: Jens Walter
email: jens@apimeister.com
externalDocs:
description: dtz docs page
url: https://docs.downtozero.cloud
servers:
- url: https://cr.dtz.rocks/api/{version}
variables:
version:
default: 2023-12-28
enum:
- 2023-12-28
paths:
/enable:
post:
summary: enable the container registry service
description: enable the container registry service
operationId: enableService
responses:
200:
description: service enabled
/disable:
post:
summary: disable the container registry service
description: disable the container registry service
operationId: disableService
responses:
200:
description: service disabled
/v2/:
get:
summary: check authentication
description: check authentication
operationId: checkAuthentication
responses:
200:
description: success
components:
securitySchemes:
dtz_auth:
type: apiKey
in: header
name: X-API-KEY
dtz_auth2:
type: oauth2
flows:
implicit:
authorizationUrl: https://identity.dtz.rocks/api/2021-02-21/token/auth
scopes:
dummy:dummy: dummy
security:
- dtz_auth: []
- dtz_auth2: []