Show examples in:
JavascriptHTTP
Dashboard API > Per-project subscription

Per-project subscription

Warning: Experimental API

Please note that the Dashboard API is an experimental, prerelease API. This API method is considered unstable, and should be avoided in production environments and automations. Changes may occur at any time without warning.

A per-project subscription record

Object payload

idstring

ID of subscription

Example:"124"
typestring

Must be exactly "site_subscription".

attributes.created_atdate-time

Date of creation of subscription

attributes.extra_packetsobject

Extra packets

Example:{ users: 1, locales: 1, item_types: 0, roles: 0, build_triggers: 0, access_tokens: 0, mux_encoding_seconds: 0, sandbox_environments: 0, items: 0, uploadable_bytes: 0, }
usersinteger
localesinteger
item_typesinteger
rolesinteger
build_triggersinteger
search_indexesinteger
access_tokensinteger
mux_encoding_secondsinteger
sandbox_environmentsinteger
itemsinteger
uploadable_bytesinteger
attributes.priceinteger
attributes.recurrenceenum

Type of recurrence (yearly/monthly)

Example:"monthly"
yearly
monthly
relationships.plan.data

Subscription plan

Type:<a href="/docs/content-management-api/resources/site_plan">ResourceLinkage&#x3C;"site_plan"></a>
relationships.billing_profile.data

Billing profile

Type:<a href="/docs/content-management-api/resources/per_site_pricing_billing_profile">ResourceLinkage&#x3C;"per_site_pricing_billing_profile"></a>, null
relationships.site.data

Subscription site

Type:<a href="/docs/content-management-api/resources/site">ResourceLinkage&#x3C;"site"></a>

Available endpoints