Skip to content

Commit

Permalink
Update Container Registry Endpoint Paths
Browse files Browse the repository at this point in the history
We had a Pydo user [open a github issue](digitalocean/pydo#173) regarding the [list registry repository tags endpoint](https://docs.digitalocean.com/reference/api/api-reference/#operation/registry_list_repositoryTags). 

Turns out the client wasn't working because we were documenting the wrong endpoint path for the container registry endpoints, resulting in a "Not Found" 404 error.
  • Loading branch information
danaelhe authored Jun 12, 2023
1 parent 6e94c30 commit 2c1b3b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specification/DigitalOcean-public.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1338,19 +1338,19 @@ paths:
get:
$ref: 'resources/registry/registry_list_repositoriesV2.yml'

/v2/registry/{registry_name}/{repository_name}/tags:
/v2/registry/{registry_name}/repositories/{repository_name}/tags:
get:
$ref: 'resources/registry/registry_list_repositoryTags.yml'

/v2/registry/{registry_name}/{repository_name}/tags/{repository_tag}:
/v2/registry/{registry_name}/repositories/{repository_name}/tags/{repository_tag}:
delete:
$ref: 'resources/registry/registry_delete_repositoryTag.yml'

/v2/registry/{registry_name}/{repository_name}/digests:
/v2/registry/{registry_name}/repositories/{repository_name}/digests:
get:
$ref: 'resources/registry/registry_list_repositoryManifests.yml'

/v2/registry/{registry_name}/{repository_name}/digests/{manifest_digest}:
/v2/registry/{registry_name}/repositories/{repository_name}/digests/{manifest_digest}:
delete:
$ref: 'resources/registry/registry_delete_repositoryManifest.yml'

Expand Down

0 comments on commit 2c1b3b0

Please sign in to comment.