Get Catalogs
Return a paginated list of catalogs in an organization. The id of the organization is fetched from CSP token
Objects are private to the organization in the request (shared=false) or shared between organizations (shared=true)
Object is owned by the organization in the request (owned=true)
Name of the field to order the catalogs: CREATED_AT (default), NAME, NAMESPACE, ORGANIZATION_NAME, UPDATED_AT
CREATED_AT
Order to sort by the selected field: ASC or DESC (default)
An integer that identifies the page number for a paged response
An integer that identifies the maximum page size for a paged response
Paginated list of catalogs in an organization
{
"page": 1,
"page_size": 5,
"total_size": 10,
"total_pages": 2,
"items": [
{
"id": "d16c7f4d-b38a-405b-a1ca-3ac0a79418c1",
"name": "DefaultCatalog",
"created_at": "2017-07-21T17:32:28.000Z",
"updated_at": "2017-07-21T17:32:28.000Z",
"removed_at": "2017-07-21T17:32:28.000Z",
"shared": false,
"owned": true,
"_links": {
"applications": {
"href": "/v1/catalogs/351c1739-ca01-4a74-8124-1b99257cd7c9/applications"
},
"customizations": {
"href": "/v1/catalogs/351c1739-ca01-4a74-8124-1b99257cd7c9/customizations"
}
}
}
]
}
An error related to the request
{
"type": "https://example.com/probs/validation-error",
"title": "Validation error",
"status": 400,
"detail": "There was an error validating the request",
"violations": [
{
"field": "amount",
"message": "It should be greater than zero"
}
]
}
It represents a constraints violation error
The requesting user is not authorized to get the catalogs
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
An internal server error object
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
The server is temporarily unavailable
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
curl -H 'Authorization: <value>' https://{api_host}/v1/catalogs