Registries
APIs to create, update, list registries
Create a Registry.
Reference to the scope in which the registry exists (required for registry creation).
Format depends on the scope:
- Account-level:
account_id/+ - Organization-level:
account_id/org/+ - Project-level:
account_id/org/project/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/+"}refers to package
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id - Organization-level:
account_id/org_id - Project-level:
account_id/org_id/project_id
response for create, get and update registry
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
An unexpected server error occurred
POST /api/v1/registry?space_ref=text HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 507
{
"allowedPattern": [
"text"
],
"blockedPattern": [
"text"
],
"cleanupPolicy": [
{
"expireDays": 1,
"name": "text",
"packagePrefix": [
"text"
],
"versionPrefix": [
"text"
]
}
],
"config": {
"type": "VIRTUAL",
"debianConfig": {
"optionalIndexCompressionFormats": [
".xz"
],
"remoteIndexedArchitectures": [
"text"
]
},
"upstreamProxies": [
"text"
]
},
"description": "text",
"identifier": "text",
"isPublic": true,
"labels": [
"text"
],
"opaMetadataValidation": true,
"packageType": "DOCKER",
"parentRef": "text",
"policyRefs": [
"text"
],
"scanners": [
{
"name": "AQUA_TRIVY"
}
]
}{
"data": {
"allowedPattern": [
"text"
],
"blockedPattern": [
"text"
],
"cleanupPolicy": [
{
"expireDays": 1,
"name": "text",
"packagePrefix": [
"text"
],
"versionPrefix": [
"text"
]
}
],
"config": {
"type": "VIRTUAL",
"debianConfig": {
"optionalIndexCompressionFormats": [
".xz"
],
"remoteIndexedArchitectures": [
"text"
]
},
"upstreamProxies": [
"text"
]
},
"createdAt": "text",
"deletedAt": "text",
"description": "text",
"identifier": "text",
"isPublic": true,
"labels": [
"text"
],
"modifiedAt": "text",
"opaMetadataValidation": true,
"packageType": "DOCKER",
"policyRefs": [
"text"
],
"scanners": [
{
"name": "AQUA_TRIVY"
}
],
"url": "text",
"uuid": "text"
},
"status": "SUCCESS"
}Returns Registry Details in the account for the given key
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}response for create, get and update registry
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/registry/{registry_ref} HTTP/1.1
Accept: */*
{
"data": {
"allowedPattern": [
"text"
],
"blockedPattern": [
"text"
],
"cleanupPolicy": [
{
"expireDays": 1,
"name": "text",
"packagePrefix": [
"text"
],
"versionPrefix": [
"text"
]
}
],
"config": {
"type": "VIRTUAL",
"debianConfig": {
"optionalIndexCompressionFormats": [
".xz"
],
"remoteIndexedArchitectures": [
"text"
]
},
"upstreamProxies": [
"text"
]
},
"createdAt": "text",
"deletedAt": "text",
"description": "text",
"identifier": "text",
"isPublic": true,
"labels": [
"text"
],
"modifiedAt": "text",
"opaMetadataValidation": true,
"packageType": "DOCKER",
"policyRefs": [
"text"
],
"scanners": [
{
"name": "AQUA_TRIVY"
}
],
"url": "text",
"uuid": "text"
},
"status": "SUCCESS"
}Updates a Registry in the account for the given key
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}refers to package
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id - Organization-level:
account_id/org_id - Project-level:
account_id/org_id/project_id
response for create, get and update registry
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
PUT /api/v1/registry/{registry_ref} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 507
{
"allowedPattern": [
"text"
],
"blockedPattern": [
"text"
],
"cleanupPolicy": [
{
"expireDays": 1,
"name": "text",
"packagePrefix": [
"text"
],
"versionPrefix": [
"text"
]
}
],
"config": {
"type": "VIRTUAL",
"debianConfig": {
"optionalIndexCompressionFormats": [
".xz"
],
"remoteIndexedArchitectures": [
"text"
]
},
"upstreamProxies": [
"text"
]
},
"description": "text",
"identifier": "text",
"isPublic": true,
"labels": [
"text"
],
"opaMetadataValidation": true,
"packageType": "DOCKER",
"parentRef": "text",
"policyRefs": [
"text"
],
"scanners": [
{
"name": "AQUA_TRIVY"
}
]
}{
"data": {
"allowedPattern": [
"text"
],
"blockedPattern": [
"text"
],
"cleanupPolicy": [
{
"expireDays": 1,
"name": "text",
"packagePrefix": [
"text"
],
"versionPrefix": [
"text"
]
}
],
"config": {
"type": "VIRTUAL",
"debianConfig": {
"optionalIndexCompressionFormats": [
".xz"
],
"remoteIndexedArchitectures": [
"text"
]
},
"upstreamProxies": [
"text"
]
},
"createdAt": "text",
"deletedAt": "text",
"description": "text",
"identifier": "text",
"isPublic": true,
"labels": [
"text"
],
"modifiedAt": "text",
"opaMetadataValidation": true,
"packageType": "DOCKER",
"policyRefs": [
"text"
],
"scanners": [
{
"name": "AQUA_TRIVY"
}
],
"url": "text",
"uuid": "text"
},
"status": "SUCCESS"
}Delete a Registry in the account for the given key
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Generic success response
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
DELETE /api/v1/registry/{registry_ref} HTTP/1.1
Accept: */*
{
"status": "SUCCESS"
}Lists all the Artifacts for Registry
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Label.
Current page number
1Number of items per page
20sortOrder
sortField
search Term.
artifact type.
response for list artifact
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/registry/{registry_ref}/artifacts HTTP/1.1
Accept: */*
{
"data": {
"artifacts": [
{
"artifactType": "model",
"deletedAt": "text",
"downloadsCount": 1,
"isPublic": true,
"isQuarantined": true,
"labels": [
"text"
],
"lastModified": "text",
"latestVersion": "text",
"name": "text",
"packageType": "DOCKER",
"registryIdentifier": "text",
"registryPath": "text",
"registryUUID": "text",
"uuid": "text"
}
],
"itemCount": 1,
"pageCount": 100,
"pageIndex": 0,
"pageSize": 1
},
"status": "SUCCESS"
}Returns CLI Client Setup Details based on package type
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Artifat
Version
artifact type.
response for client setup details
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/registry/{registry_ref}/client-setup-details HTTP/1.1
Accept: */*
{
"data": {
"mainHeader": "text",
"secHeader": "text",
"sections": [
{
"steps": [
{
"commands": [
{
"label": "text",
"value": "text"
}
],
"header": "text",
"type": "Static"
}
]
}
]
},
"status": "SUCCESS"
}Last updated
Was this helpful?