-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathswagger.yaml
70 lines (70 loc) · 1.7 KB
/
swagger.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
63
64
65
66
67
68
69
70
info:
contact: {}
paths:
/blobs/{url}:
get:
parameters:
- description: The URL of the blob
in: path
name: url
required: true
type: string
responses:
"200":
description: The blob content
schema:
type: string
"404":
description: Not Found
schema:
type: string
summary: Get a blob by URL
/v2/{repo}/blobs/{digest}:
get:
parameters:
- description: The repository name
in: path
name: repo
required: true
type: string
- description: The digest of the blob
in: path
name: digest
type: string
responses:
"200":
description: The manifest or blob information
schema:
additionalProperties:
type: string
type: object
"404":
description: Not Found
schema:
type: string
summary: Get a manifest or a blob by repository and reference or digest
/v2/{repo}/manifests/{reference}:
get:
parameters:
- description: The repository name
in: path
name: repo
required: true
type: string
- description: The reference of the manifest
in: path
name: reference
type: string
responses:
"200":
description: The manifest or blob information
schema:
additionalProperties:
type: string
type: object
"404":
description: Not Found
schema:
type: string
summary: Get a manifest or a blob by repository and reference or digest
swagger: "2.0"