List of all subscriptions
Subscription object
const response = await fetch('https://beta.data.banyan.computer/api/v1/subscriptions', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
[ { "id": "text", "currently_active": false, "service_key": "text", "tax_class": "text", "title": "text", "features": { "archival_available": false, "included_hot_replica_count": 0, "included_hot_storage": 0, "included_bandwidth": 0, "archival_hard_limit": 0, "hot_storage_hard_limit": 0, "bandwidth_hard_limit": 0 }, "pricing": { "archival": 0, "hot_storage": 0, "plan_base": 0, "bandwidth": 0 } } ]
const response = await fetch('https://beta.data.banyan.computer/api/v1/subscriptions/{subscription_id}', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "id": "text", "currently_active": false, "service_key": "text", "tax_class": "text", "title": "text", "features": { "archival_available": false, "included_hot_replica_count": 0, "included_hot_storage": 0, "included_bandwidth": 0, "archival_hard_limit": 0, "hot_storage_hard_limit": 0, "bandwidth_hard_limit": 0 }, "pricing": { "archival": 0, "hot_storage": 0, "plan_base": 0, "bandwidth": 0 } }