Get Digests
Return a list of digests of the releases that match the query params searching in all catalogs for an organization. The id of the organization is fetched from CSP token.
Request
URI
GET
https://{api_host}/v1/releases/repo-digests
COPY
Query Parameters
string
product_name
Required
The name of the product
string
branch
Optional
The branch of the product
Responses
200
List of digests for that product in all catalogs of the organization
Returns Array of string of type(s) application/json
[
{}
]
400
An error related to the request
Returns ConstraintsViolationsError of type(s) application/problem+json
This response body class contains all of the following: InlineConstraintsViolationsError0
"ConstraintsViolationsError Object"
array of object
violations
Required
It represents a constraints violation error
403
The requesting user is not authorized to get the digests
Returns Error403 of type(s) application/problem+json
This response body class contains all of the following: InlineError4030
"Error403 Object"
404
No catalogs found for the organization
Returns Error404 of type(s) application/problem+json
This response body class contains all of the following: InlineError4040
"Error404 Object"
500
An internal server error object
Returns Error500 of type(s) application/problem+json
This response body class contains all of the following: InlineError5000
"Error500 Object"
503
The server is temporarily unavailable
Returns Error503 of type(s) application/problem+json
This response body class contains all of the following: InlineError5030
"Error503 Object"
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/v1/releases/repo-digests?product_name=value&packaging_type=v