|
29 | 29 | "name": "repositories-webhooks", |
30 | 30 | "x-displayName": "Repository webhooks", |
31 | 31 | "description": "Endpoints for managing repository webhooks\n" |
32 | | - }, |
33 | | - { |
34 | | - "name": "registry-settings", |
35 | | - "x-displayName": "Registry settings", |
36 | | - "description": "Endpoints for managing org and user registry settings\n" |
37 | | - }, |
38 | | - { |
39 | | - "name": "repositories-advanced-images", |
40 | | - "x-displayName": "Advanced Image Management", |
41 | | - "description": "The Advanced Image Management API endpoints allow you to manage Docker\nimages across all repositories.\n\nFor more information, see [Advanced Image Management dashboard](/docker-hub/image-management/).\n" |
42 | | - }, |
43 | | - { |
44 | | - "name": "repositories-autobuilds", |
45 | | - "x-displayName": "Repository auto-builds", |
46 | | - "description": "Endpoints for managing repository auto-builds\n" |
47 | 32 | } |
48 | 33 | ], |
49 | 34 | "paths": { |
|
55 | 40 | ], |
56 | 41 | "post": { |
57 | 42 | "summary": "Creates a new repository", |
58 | | - "description": "Creates a new repository in the provided namespace.\n\n The repository can be public or private. PAT scope: `repo:admin`\n\nLegacy endpoint: `/v2/repositories/`\n", |
| 43 | + "description": "Creates a new repository in the provided namespace.\n\n The repository can be public or private. PAT scope: `repo:admin`\n", |
59 | 44 | "operationId": "create-repository", |
60 | 45 | "tags": ["repositories"], |
61 | 46 | "requestBody": { |
|
78 | 63 | }, |
79 | 64 | "get": { |
80 | 65 | "summary": "Lists repositories under namespace", |
81 | | - "description": "List all repositories under the provided namespace. If authenticated, the response will include private repositories.\n\nPAT scope: `repo:public_read`\n\nLegacy endpoint: `/v2/repositories/{namespace}/`\n", |
82 | | - "operationId": "list-repositories", |
| 66 | + "description": "List all repositories under the provided namespace. If authenticated, the response will include private repositories. Namespace is a mandatory parameter. To list repositories under the `personal` namespace, the user must explicitly provide the exact username as the namespace parameter.\n\nPAT scope: `repo:public_read`.\n", |
| 67 | + "operationId": "list-repositories-by-namespace", |
83 | 68 | "tags": ["repositories"], |
84 | 69 | "parameters": [ |
85 | 70 | { |
|
157 | 142 | ], |
158 | 143 | "get": { |
159 | 144 | "summary": "Gets repository info", |
160 | | - "description": "PAT scope: `repo:public_read`\n\nLegacy endpoint: `/v2/repositories/{namespace}/{repository}/`\n", |
| 145 | + "description": "PAT scope: `repo:public_read`\n", |
161 | 146 | "operationId": "get-repository-info", |
162 | 147 | "tags": ["repositories"], |
163 | 148 | "responses": { |
|
170 | 155 | } |
171 | 156 | }, |
172 | 157 | "head": { |
173 | | - "description": "PAT scope: `repo:public_read`\n\nLegacy endpoint: `/v2/repositories/{namespace}/{repository}/`\n", |
| 158 | + "description": "PAT scope: `repo:public_read`\n", |
174 | 159 | "summary": "Check repository", |
175 | 160 | "operationId": "check-repository", |
176 | 161 | "tags": ["repositories"], |
|
185 | 170 | }, |
186 | 171 | "patch": { |
187 | 172 | "summary": "Updates repository info", |
188 | | - "description": "PAT scope: `repo:admin`\n\nLegacy endpoint: `/v2/repositories/{namespace}/{repository}/`\n\nUpdates a repository info\n", |
| 173 | + "description": "PAT scope: `repo:admin`\n", |
189 | 174 | "operationId": "update-repository-info", |
190 | 175 | "tags": ["repositories"], |
191 | 176 | "requestBody": { |
|
214 | 199 | } |
215 | 200 | ], |
216 | 201 | "get": { |
217 | | - "description": "PAT scope: `repo:public_read`\n\nLegacy endpoint: `/v2/repositories/{namespace}/{repository}/dockerfile/`\n", |
| 202 | + "description": "PAT scope: `repo:public_read`\n", |
218 | 203 | "summary": "Gets dockerfile for repository", |
219 | 204 | "operationId": "get-repository-dockerfile", |
220 | 205 | "tags": ["repositories"], |
|
261 | 246 | } |
262 | 247 | ], |
263 | 248 | "get": { |
264 | | - "description": "List all tags for a repository. If the repository is private, the call must be authenticated. PAT scope: `repo:public_read`\n\nLegacy endpoint: `/v2/repositories/{namespace}/{repository}/tags`\n", |
| 249 | + "description": "List all tags for a repository. If the repository is private, the call must be authenticated. PAT scope: `repo:public_read`\n", |
265 | 250 | "summary": "List repository tags", |
266 | 251 | "operationId": "list-repository-tags", |
267 | 252 | "tags": ["repositories"], |
|
292 | 277 | } |
293 | 278 | }, |
294 | 279 | "head": { |
295 | | - "description": "PAT scope: `repo:public_read`\n\nLegacy endpoint: `/v2/repositories/{namespace}/{repository}/tags`\n", |
| 280 | + "description": "PAT scope: `repo:public_read`\n", |
296 | 281 | "summary": "Check repository tags", |
297 | 282 | "operationId": "check-repository-tags", |
298 | 283 | "tags": ["repositories"], |
|
322 | 307 | } |
323 | 308 | ], |
324 | 309 | "get": { |
325 | | - "description": "PAT scope: `repo:public_read`\n\nLegacy endpoint: `/v2/repositories/{namespace}/{repository}/tags/{tag}`\n", |
| 310 | + "description": "PAT scope: `repo:public_read`\n", |
326 | 311 | "summary": "Read repository tag", |
327 | 312 | "operationId": "read-repository-tag", |
328 | 313 | "tags": ["repositories"], |
|
339 | 324 | } |
340 | 325 | }, |
341 | 326 | "head": { |
342 | | - "description": "PAT scope: `repo:public_read`\n\nLegacy endpoint: `/v2/repositories/{namespace}/{repository}/tags/{tag}`\n", |
| 327 | + "description": "PAT scope: `repo:public_read`\n", |
343 | 328 | "summary": "Check repository tag", |
344 | 329 | "operationId": "check-repository-tag", |
345 | 330 | "tags": ["repositories"], |
|
1905 | 1890 | } |
1906 | 1891 | }, |
1907 | 1892 | "list_repositories": { |
1908 | | - "description": "", |
| 1893 | + "description": "a paginated list of repositories under the provided namespace. If authenticated, the response will include private repositories", |
1909 | 1894 | "content": { |
1910 | 1895 | "application/json": { |
1911 | 1896 | "schema": { |
|
0 commit comments