Fetch a List of Repositories associated with an Image
Gets registries associated with an image.
Input ParametersInput Parameters
|
Parameter |
Mandatory/Optional |
Data Type |
Description |
|---|---|---|---|
|
imageSha |
Mandatory |
string |
Specify the SHA value of a specific image in the user’s scope. |
SampleSample
API request
curl -X GET
"<qualys_base_url>/csapi/v1.3/images/30def87e0731/repos"
-H "Authorization: Bearer <token>"
Response
{
"registryUuid": "f3927b96-dbb4-473b-bf10-18460c97736c",
"registry": "registrytest2.azurecr.io",
"repo": "couchbase",
"tag": "latest"
}
Error Response
The following error response is seen when the sub-users don't have permission to the specified image.
{
"errorCode": "403 FORBIDDEN",
"message": "Request Forbidden",
"timestamp": 1700721586546
}