1+ {
2+ "components" : {},
3+ "info" : {
4+ "description" : " This API provides endpoints for managing STACKIT Functions.\n " ,
5+ "title" : " STACKIT Functions Registry API" ,
6+ "version" : " 2.0.0"
7+ },
8+ "openapi" : " 3.0.3" ,
9+ "paths" : {
10+ "/v2/{name}/blobs/{digest}" : {
11+ "head" : {
12+ "description" : " Checks for the existence of a blob.\n Returns the blob's digest and content type in the headers if it exists.\n " ,
13+ "operationId" : " headBlob" ,
14+ "responses" : {
15+ "200" : {
16+ "description" : " Blob exists." ,
17+ "headers" : {
18+ "Content-Length" : {
19+ "description" : " The length of the blob in bytes." ,
20+ "schema" : {
21+ "format" : " int64" ,
22+ "type" : " integer"
23+ }
24+ },
25+ "Content-Type" : {
26+ "description" : " The media type of the blob." ,
27+ "schema" : {
28+ "example" : " application/octet-stream" ,
29+ "type" : " string"
30+ }
31+ },
32+ "Docker-Content-Digest" : {
33+ "$ref" : " #/components/headers/DockerContentDigestHeader"
34+ }
35+ }
36+ },
37+ "400" : {
38+ "$ref" : " #/components/responses/BadRequest"
39+ },
40+ "401" : {
41+ "$ref" : " #/components/responses/Unauthorized"
42+ },
43+ "404" : {
44+ "$ref" : " #/components/responses/NotFound"
45+ },
46+ "500" : {
47+ "$ref" : " #/components/responses/InternalServerError"
48+ }
49+ },
50+ "summary" : " Check Blob Existence" ,
51+ "tags" : [
52+ " Blobs"
53+ ],
54+ "x-stackit-authorization" : {
55+ "disabled" : true
56+ }
57+ },
58+ "parameters" : [
59+ {
60+ "$ref" : " #/components/parameters/RepositoryName"
61+ },
62+ {
63+ "$ref" : " #/components/parameters/BlobDigest"
64+ }
65+ ]
66+ },
67+ "/v2/{name}/manifests/{reference}" : {
68+ "head" : {
69+ "description" : " Checks for the existence of an image manifest or image index.\n Returns the manifest's digest and content type in the headers if it exists.\n " ,
70+ "operationId" : " headManifest" ,
71+ "responses" : {
72+ "200" : {
73+ "description" : " Manifest exists." ,
74+ "headers" : {
75+ "Content-Length" : {
76+ "description" : " The length of the manifest in bytes." ,
77+ "schema" : {
78+ "format" : " int64" ,
79+ "type" : " integer"
80+ }
81+ },
82+ "Content-Type" : {
83+ "description" : " The media type of the manifest." ,
84+ "schema" : {
85+ "example" : " application/vnd.oci.image.manifest.v1+json" ,
86+ "type" : " string"
87+ }
88+ },
89+ "Docker-Content-Digest" : {
90+ "$ref" : " #/components/headers/DockerContentDigestHeader"
91+ }
92+ }
93+ },
94+ "400" : {
95+ "$ref" : " #/components/responses/BadRequest"
96+ },
97+ "401" : {
98+ "$ref" : " #/components/responses/Unauthorized"
99+ },
100+ "404" : {
101+ "$ref" : " #/components/responses/NotFound"
102+ },
103+ "500" : {
104+ "$ref" : " #/components/responses/InternalServerError"
105+ }
106+ },
107+ "summary" : " Check Manifest Existence" ,
108+ "tags" : [
109+ " Manifests"
110+ ],
111+ "x-stackit-authorization" : {
112+ "disabled" : true
113+ }
114+ },
115+ "parameters" : [
116+ {
117+ "$ref" : " #/components/parameters/RepositoryName"
118+ },
119+ {
120+ "$ref" : " #/components/parameters/ManifestReference"
121+ }
122+ ]
123+ }
124+ },
125+ "servers" : [
126+ {
127+ "url" : " https://functions-registry.api.{region}stackit.cloud" ,
128+ "variables" : {
129+ "region" : {
130+ "default" : " eu01." ,
131+ "enum" : [
132+ " eu01."
133+ ]
134+ }
135+ }
136+ }
137+ ]
138+ }
0 commit comments