Query colors
POST/colors/query
Query available colors using an optional filter.
Returns all colors when no filter is provided. This endpoint does not support sorting or pagination — all matching results are returned at once.
Filter
The filter object must have exactly one key. It can be:
- A property filter (
id) with a single color ID or an array of color IDs. - A compound filter with key
and(value: array of filter objects; all must match),or(value: array of filter objects; at least one must match), ornot(single filter object to negate).
Request
Responses
- 200
- 401
- 403
- 422
Successful operation.
Returns all colors matching the filter, or all colors if no filter is provided.
Unauthorized
Forbidden
Unprocessable Entity