Get Catalog
Return a specific catalog in an organization. The id of the organization is fetched from CSP token
Details of the catalog
{
"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"
}
}
}
Identifier of the catalog
Name of the catalog
Date when the catalog was registered
Last date when the catalog was updated
Date when the catalog was removed
Catalog is (or can be) shared with different organizations
Organization owns the catalog
Section to include hyperlinks based on Hypertext Application Language
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 catalog
{
"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 requested catalog is not found
{
"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/{catalog_id}