Get paid registry storage
import requests
url = "https://platform.ankra.app/api/v1/org/registry-storage/addon"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/registry-storage/addon', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/registry-storage/addon \
--header 'Authorization: Bearer <token>'{
"available": true,
"unavailable_reason": "<string>",
"block_gib": 123,
"price_cents_per_block_month": 123,
"currency": "<string>",
"max_blocks": 123,
"blocks": 123,
"base_limit_bytes": 123,
"effective_limit_bytes": 123,
"monthly_cents": 123,
"scheduled_price_cents_per_block_month": 123,
"scheduled_price_from": "2023-11-07T05:31:56Z",
"billing_ready": true,
"billing_blocker": "<string>",
"updated_by": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"version": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Credentials
Get paid registry storage
Read the organisation’s paid registry storage: the storage blocks it holds on top of its base limit, the price of a block, the limit they make up, and whether more can be bought (available, billing_ready, billing_blocker). Requires credentials.read or billing.manage. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication).
GET
/
api
/
v1
/
org
/
registry-storage
/
addon
Get paid registry storage
import requests
url = "https://platform.ankra.app/api/v1/org/registry-storage/addon"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/registry-storage/addon', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/registry-storage/addon \
--header 'Authorization: Bearer <token>'{
"available": true,
"unavailable_reason": "<string>",
"block_gib": 123,
"price_cents_per_block_month": 123,
"currency": "<string>",
"max_blocks": 123,
"blocks": 123,
"base_limit_bytes": 123,
"effective_limit_bytes": 123,
"monthly_cents": 123,
"scheduled_price_cents_per_block_month": 123,
"scheduled_price_from": "2023-11-07T05:31:56Z",
"billing_ready": true,
"billing_blocker": "<string>",
"updated_by": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"version": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Response
Successful Response
The organisation's paid registry storage: blocks it holds on top of its base limit, what they cost, and whether more can be bought.