Create or update the Platform Consumption
PUT/platform-limit/consumptions/me
Create or update the Platform Consumption for the authenticated user.
Request
Query Parameters
applies_to stringrequired
consumption_to_add int32
Default value: 1
Responses
- 200
- 401
- 404
Found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
first stringnullablerequired
The link to the first page.
items
object[]
required
An array of objects.
account_limits int32
applies_to stringrequired
block boolean
consumption int32
id int64
limits int32
reference_id int64required
reference_type stringrequired
Possible values: [SUBSCRIPTION, ACCOUNT]
remaining int32
resets_in_seconds int64
subscription_limits int32
last stringnullablerequired
The link to the last page.
next stringnullablerequired
The link to the next page or null if there's no page.
prev stringnullablerequired
The link to the previous page or null if there's no page.
self stringnullablerequired
The link to the current page.
{
"first": "string",
"items": [
{
"account_limits": 0,
"applies_to": "string",
"block": true,
"consumption": 0,
"id": 0,
"limits": 0,
"reference_id": 0,
"reference_type": "SUBSCRIPTION",
"remaining": 0,
"resets_in_seconds": 0,
"subscription_limits": 0
}
],
"last": "string",
"next": "string",
"prev": "string",
"self": "string"
}
Authentication Failure
Not Found