When content plays on screens. All requests need a secret key; see REST API for keys, errors and limits.
List schedules, newest first
GET /v1/schedules
List schedules, newest first; filter by level, site, store, group or screen
Parameters
| Name | In | Type | Description |
|---|
cursor | query | string | |
limit | query | integer | |
sortBy | query | "createdAt" | |
sortDir | query | "asc" | "desc" | |
groupId | query | id | |
level | query | "screen" | "group" | "location" | "site" | "org" | Only schedules on this level of target. |
locationId | query | id | |
screenId | query | id | |
siteId | query | id | |
curl -X GET https://api.loomieo.com/v1/schedules \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
paginationrequired | object | |
schedulesrequired | list of object | |
Errors
401: auth_unauthenticated403: forbidden422: validation_failed429: rate_limited
Create a schedule for everyone, a site, a store, a group or a screen
POST /v1/schedules
Create a schedule for everyone, a site, a store, a group or a screen; its screens switch on time from then on
Body
| Name | Type | Description |
|---|
namerequired | string | 1 to 120 characters |
entries | list of object | up to 50 items |
groupId | id or null | Same as target { level: group }; kept for older clients. |
screenId | id or null | Same as target { level: screen }; kept for older clients. |
target | object | Who it's for, most specific wins: a screen, a group, a store (location), a site or everyone (org). |
curl -X POST https://api.loomieo.com/v1/schedules \
-H "Authorization: Bearer $LUMIEO_KEY" \
-H "Content-Type: application/json" \
Response 200
| Name | Type | Description |
|---|
schedulerequired | object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: layout_not_found, location_not_found, playlist_not_found, screen_group_not_found, screen_not_found, site_not_found422: validation_failed429: rate_limited
Delete a schedule
DELETE /v1/schedules/{id}
Delete a schedule; its screens go back to their default content
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
curl -X DELETE https://api.loomieo.com/v1/schedules/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
schedulerequired | object | |
Errors
401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: schedule_not_found422: validation_failed429: rate_limited
One schedule with its entries
GET /v1/schedules/{id}
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
curl -X GET https://api.loomieo.com/v1/schedules/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
schedulerequired | object | |
Errors
401: auth_unauthenticated403: forbidden404: schedule_not_found422: validation_failed429: rate_limited
Rename a schedule, move it to another target, or replace its entries
PATCH /v1/schedules/{id}
Rename a schedule, move it to another target, or replace its entries; screens update at once
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
Body
| Name | Type | Description |
|---|
entries | list of object | up to 50 items |
groupId | id or null | Same as target { level: group }; kept for older clients. |
name | string | 1 to 120 characters |
screenId | id or null | Same as target { level: screen }; kept for older clients. |
target | object | Who it's for, most specific wins: a screen, a group, a store (location), a site or everyone (org). |
curl -X PATCH https://api.loomieo.com/v1/schedules/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
schedulerequired | object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: layout_not_found, location_not_found, playlist_not_found, schedule_not_found, screen_group_not_found, screen_not_found, site_not_found422: validation_failed429: rate_limited