ArtifactsApi
All URIs are relative to https://api.ionos.com/containerregistries
Method | HTTP request | Description |
---|---|---|
GET /registries/{registryId}/artifacts | Retrieve all Artifacts by Registry | |
GET /registries/{registryId}/repositories/{repositoryName}/artifacts/{digest} | Retrieve Artifact | |
GET /registries/{registryId}/repositories/{repositoryName}/artifacts | Retrieve all Artifacts by Repository | |
GET /registries/{registryId}/repositories/{repositoryName}/artifacts/{digest}/vulnerabilities | Retrieve all Vulnerabilities |
registriesArtifactsGet
registriesArtifactsGet(registryId, opts)
Retrieve all Artifacts by Registry
This endpoint enables retrieving all Artifacts using pagination and optional filters.
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
registryId | The ID (UUID) of the Registry. | [default to undefined] | |
offset | number | 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 | number | The maximum number of elements to return. Use together with offset for pagination. | [optional][default to 100] |
filterVulnerabilityId | string | Filter resources by vulnerabilityId. | [optional][default to undefined] |
orderBy | **'-pullCount' | '-pushCount' | '-lastPush' |
Return type
Authorization
tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registriesRepositoriesArtifactsFindByDigest
registriesRepositoriesArtifactsFindByDigest(registryId, repositoryName, digest)
Retrieve Artifact
Returns the Artifact by Digest.
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
registryId | The ID (UUID) of the Registry. | [default to undefined] | |
repositoryName | string | The Name of the Repository. | [default to undefined] |
digest | string | The Digest of the Artifact that should be retrieved. | [default to undefined] |
Return type
Authorization
tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registriesRepositoriesArtifactsGet
registriesRepositoriesArtifactsGet(registryId, repositoryName, opts)
Retrieve all Artifacts by Repository
This endpoint enables retrieving all Artifacts using pagination and optional filters.
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
registryId | The ID (UUID) of the Registry. | [default to undefined] | |
repositoryName | string | The Name of the Repository. | [default to undefined] |
offset | number | 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 | number | The maximum number of elements to return. Use together with offset for pagination. | [optional][default to 100] |
orderBy | **'-lastPush' | '-lastPull' | '-lastScan' |
Return type
Authorization
tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
registriesRepositoriesArtifactsVulnerabilitiesGet
registriesRepositoriesArtifactsVulnerabilitiesGet(registryId, repositoryName, digest, opts)
Retrieve all Vulnerabilities
This endpoint enables retrieving all Vulnerabilities using pagination and optional filters.
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
registryId | The ID (UUID) of the Registry. | [default to undefined] | |
repositoryName | string | The Name of the Repository. | [default to undefined] |
digest | string | The Digest of the Artifact. | [default to undefined] |
offset | number | 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 | number | The maximum number of elements to return. Use together with offset for pagination. | [optional][default to 100] |
filterSeverity | string | Filter resources by vulnerability severity. | [optional][default to undefined] |
filterFixable | boolean | Filter resources by fixable (i.e. remediation action is available) | [optional][default to undefined] |
orderBy | **'-score' | '-severity' | '-publishedAt' |
Return type
Authorization
tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
Last updated