Fetch a List of Repositories associated with an Image

Gets registries associated with an image.

GET/v1.3/images/{imageSha}/repos

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" 
--header "Authorization: Bearer <token>"

Response

    {
    "registryUuid": "f3927b96-dbb4-473b-bf10-18460c97736c",
    "registry": "registrytest2.azurecr.io",
    "repo": "couchbase",
    "tag": "latest"
}

Response - in the case of sub-users

    {  
    "errorCode": "403 FORBIDDEN",  
    "message": "Request Forbidden",  
    "timestamp": 1700721586546
    }