Wiki Navigation

Category API Endpoints

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.

List Categories

Retrieve a paginated list of categories for a specific instance.

Request

GET /api/instance/{instance_sid}/category

URL Parameters

Parameter Type Description
instance_sid string The SID of the instance

Query Parameters

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)

Response

Get Category

Retrieve details of a specific category.

Request

GET /api/instance/{instance_sid}/category/{category_sid}

URL Parameters

Parameter Type Description
instance_sid string The SID of the instance
category_sid string The SID of the category

Response

Create Category

Create a new category for an instance.

Request

POST /api/instance/{instance_sid}/category

URL Parameters

Parameter Type Description
instance_sid string The SID of the instance

Request Body

Parameter Type Required Description
name string Required Name of the category

Response

Update Category

Update an existing category.

Request

PATCH /api/instance/{instance_sid}/category/{category_sid}

URL Parameters

Parameter Type Description
instance_sid string The SID of the instance
category_sid string The SID of the category

Request Body

Parameter Type Required Description
name string Optional New name of the category

Response

Delete Category

Delete a category.

Warning: Deleting a category will also delete all classnames associated with it. This action cannot be undone.

Request

DELETE /api/instance/{instance_sid}/category/{category_sid}

URL Parameters

Parameter Type Description
instance_sid string The SID of the instance
category_sid string The SID of the category

Response