Get Subscriptions
Returns the subscriptions related with an organization
Name of the field to order the subscription requests: CREATED_AT (default), ID, ORGANIZATION_NAME, ORGANIZATION_ID, PRODUCT_ID, SUBSCRIPTION_STATUS, ACTIVE_AT, STARTS_AT, ENDS_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 subscriptions
{
"page": 1,
"page_size": 5,
"total_size": 10,
"total_pages": 2,
"items": [
{
"id": "aa6ce24d-b38a-405b-a1ca-3ac0a79418bb",
"product_id": "VTAC_AAORG_CP",
"status": "ACTIVE",
"quotas": {
"applications": {
"limit": 25
}
},
"created_at": "2023-03-03T00:59:52.762Z",
"created_by": "Bitnami Secure Images",
"updated_at": "2023-03-03T00:59:52.762Z",
"updated_by": "Bitnami Secure Images",
"starts_at": "2023-03-03T00:59:52.762Z",
"ends_at": "2023-03-03T00:59:52.762Z"
}
]
}
The requesting user is not authorized to get subscriptions
{
"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/subscriptions