Skip to main content
POST
Register a new item definition

Body

application/json

Item definition: numeric id, name, and a properties map of named numeric attributes (e.g. cost, damage).

The body is of type any.

Response

200 - application/json

Item definition registered in the ItemRegistry.

ok
boolean
required
message
string | null