Shifts
Lists shifts
Changed onget/v1/{account_subdomain}/shifts
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/v1/{account_subdomain}/shifts
- Auth: HTTP basic
Query parameters
page[number]integer
Page number
page[size]integer
Page size
filter[{attribute}_{predicate}]string
Filter by attribute using Ransack predicates.<br><br>Available attributes:<br>schedule_id, creator_id, starts_at, ends_at, desired_coverage, note, published_at, created_at, updated_at<br><br>Common predicates:<br>eq, not_eq, matches, lt, lteq, gt, gteq, in, not_in, cont, start, end, null, not_null<br><br>Full list of predicates
includestring
Include related resources in the response (JSON:API includes).<br><br>Available relationships:<br>schedule, creator, applications
Response
shifts found
Changes
- info
added the new optional
queryrequest parameterinclude - info
added the optional property
to the response with the status
- info
- info
added the new optional
queryrequest parameterfilter[{attribute}_{predicate}]
- info