Categories

GET

Authentication: Optional

/categories

For a single category

/categories/<id>

Query Params

Field Description Example Value
name Category Name for filtering sauce

POST

This API can only be used by admins

Authentication: Required

/categories

JSON Example

Values and types can be inferred from the example

{
    "name": "Name",
    "description": "Description"
}

PATCH

This API can only be used by admins

Authentication: Required

/categories/<id>

JSON Example

Values and types can be inferred from the example

{
    "name": "Name",
    "description": "Description"
}

DELETE

This API can only be used by admins

Authentication: Required

/categories/<id>