RepositoriesApi
RepositoriesApi
All URIs are relative to https://api.ionos.com/containerregistries
DELETE /registries/{registryId}/repositories/{repositoryName}
Delete repository
GET /registries/{registryId}/repositories/{repositoryName}
Retrieve Repository
GET /registries/{registryId}/repositories
Retrieve all Repositories
registries_repositories_delete
registries_repositories_delete(registry_id, repository_name)
Delete repository
Delete all repository contents The registry V2 API allows manifests and blobs to be deleted individually but it is not possible to remove an entire repository. This operation is provided for convenience
Example
Parameters
registry_id
str
The unique ID of the registry
repository_name
str
The name of the repository
Return type
void (empty response body)
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: Not defined
registries_repositories_find_by_name
RepositoryRead registries_repositories_find_by_name(registry_id, repository_name)
Retrieve Repository
Returns the Repository by Name.
Example
Parameters
registry_id
str
The ID (UUID) of the Registry.
repository_name
str
The Name of the Repository that should be retrieved.
Return type
Authorization
tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registries_repositories_get
RepositoryReadList registries_repositories_get(registry_id, offset=offset, limit=limit, filter_name=filter_name, filter_vulnerability_severity=filter_vulnerability_severity, order_by=order_by)
Retrieve all Repositories
This endpoint enables retrieving all Repositories using pagination and optional filters.
Example
Parameters
registry_id
str
The ID (UUID) of the Registry.
offset
int
The first element (of the total list of elements) to include in the response. Use together with limit for pagination.
[optional] [default to 0]
limit
int
The maximum number of elements to return. Use together with offset for pagination.
[optional] [default to 100]
filter_name
str
Filter resources by name.
[optional]
filter_vulnerability_severity
str
Filter resources by vulnerability severity.
[optional]
order_by
str
The field to order the results by. If not provided, the results will be ordered by the default field.
[optional] [default to '-lastPush']
Return type
Authorization
tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
Last updated