V1Instructions
Retrieve a list of all instructions available to the user.
List all Instruction Sets
List all Instruction Sets
Authorization
access_token Authorization<token>
In: header
Query Parameters
page?integer
actual page of instructions
per_page?integer
number of instructions per page
order?string
order by 'field,order'
filter[query]?string
filter instructions by title or id
filter[daterange_from_to]?string
filter by creation date range
Value in
- "today"
- "yesterday"
- "last_7_days"
- "last_30_days"
- "current_month"
- "last_month"
- "02/21/2024 19:56 - 02/28/2024 19:56"
Response Body
application/json
curl -X GET "https://example.com/api/v1/instructions?page=1&per_page=20&order=id%2Cdesc"{ "status": "ok", "data": { "pagination": { "total_pages": 0, "current_page": 0 }, "list": [ { "id": "1ja0n2shds", "title": "Instruction Title", "content": "Instruction content...", "created_at": "string", "updated_at": "string" } ] }}