Create Inventory Bucket Use Rule Sets
POST/v1/sandbox/:sandbox_id/inventory-bucket-use-rule-set
Create Inventory Bucket Use Rule Sets. Requires permission sandbox:config:edit.
Request
Path Parameters
Sandbox ID
- application/json
Body
required
Array [
Array [
]
]
data
object[]
required
Possible values: >= 1
The Inventory Bucket Use Rule Sets.
custom_data
object
Custom data associated with the resource
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
rules
object
The Inventory Bucket Use Rules by Inventory Bucket.
property name*
Inventory Bucket (string)[]
Possible values: [free, sweat, none, anon, amazon, steam, psn, xbox_live, google, twitch, nintendo_switch, apple, nintendo, epic, google_play, nintendo_ppid]
string
Possible values: [free, sweat, none, anon, amazon, steam, psn, xbox_live, google, twitch, nintendo_switch, apple, nintendo, epic, google_play, nintendo_ppid]
Default value: 0
The Legacy Inventory Bucket Use Rule Set ID.
Responses
- 201
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
custom_data
object
Custom data associated with the resource
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
rules
object
The Inventory Bucket Use Rules by Inventory Bucket.
property name*
Inventory Bucket (string)[]
Possible values: [free, sweat, none, anon, amazon, steam, psn, xbox_live, google, twitch, nintendo_switch, apple, nintendo, epic, google_play, nintendo_ppid]
string
Possible values: [free, sweat, none, anon, amazon, steam, psn, xbox_live, google, twitch, nintendo_switch, apple, nintendo, epic, google_play, nintendo_ppid]
ID of the Sandbox
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when the resource was created
The Inventory Bucket Use Rule Set ID.
The Legacy Inventory Bucket Use Rule Set ID.
[
{
"custom_data": {},
"name": "string",
"description": "string",
"rules": {},
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"created_timestamp": "2024-07-29T15:51:28.071Z",
"rule_set_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"legacy_rule_set_id": 0
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}