GET /v2/products/:product_id/commands
Return all the commands of the given Product
GET /v2/campus/:campus_id/products/:product_id/commands
Return all the commands of the given Product, associated with the given Campus
settings Params
Param name | Description |
---|---|
product_id |
optional
. Must be String
The product id or slug |
campus_id |
optional
. Must be String
The campus id or slug |
sort |
optional
. Must be one of: id , created_at , updated_at , product_id , user_id , owner_id , used , validator_id , validated_at .
The sort field. Sorted by id desc by default. MoreExample:To sort on commands on the fields validator_id on a descending order and validated_at on a ascending order: ...&sort=-validator_id,validated_at |
filter |
optional
. Must be one of: id , created_at , updated_at , product_id , user_id , owner_id , used , validator_id , validated_at , validated .
Filtering on one or more fields MoreExample:
To filter on commands with the
...&filter[id]=a_value,another_value Filterable fields:
|
range |
optional
. Must be one of: id , created_at , updated_at , product_id , user_id , owner_id , used , validator_id , validated_at .
Select on a particular range MoreExample:
To range on commands with the
...&range[validated_at]=min_value,max_value Rangeable fields:
|