The Category API allows you to manage item categories for your DayZ server instances. Categories are used to organize items in the game.
Note: All API requests require authentication. See the Authentication page for details.
Retrieve a paginated list of categories for a specific instance.
GET /api/instance/{instance_sid}/category
Parameter | Type | Description |
---|---|---|
instance_sid
|
string | The SID of the instance |
Parameter | Type | Description |
---|---|---|
page
|
integer | Page number for pagination (default: 1) |
amount
|
integer | Number of items per page (default: 30) |
like
|
string | Filter categories by name (partial match) |
Retrieve details of a specific category.
GET /api/instance/{instance_sid}/category/{category_sid}
Parameter | Type | Description |
---|---|---|
instance_sid
|
string | The SID of the instance |
category_sid
|
string | The SID of the category |
Create a new category for an instance.
POST /api/instance/{instance_sid}/category
Parameter | Type | Description |
---|---|---|
instance_sid
|
string | The SID of the instance |
Parameter | Type | Required | Description |
---|---|---|---|
name
|
string | Required | Name of the category |
Update an existing category.
PATCH /api/instance/{instance_sid}/category/{category_sid}
Parameter | Type | Description |
---|---|---|
instance_sid
|
string | The SID of the instance |
category_sid
|
string | The SID of the category |
Parameter | Type | Required | Description |
---|---|---|---|
name
|
string | Optional | New name of the category |
Delete a category.
Warning: Deleting a category will also delete all classnames associated with it. This action cannot be undone.
DELETE /api/instance/{instance_sid}/category/{category_sid}
Parameter | Type | Description |
---|---|---|
instance_sid
|
string | The SID of the instance |
category_sid
|
string | The SID of the category |