All URIs are relative to https://zernio.com/api
| Method | HTTP request | Description |
|---|---|---|
| create_queue_slot | POST /v1/queue/slots | Create schedule |
| delete_queue_slot | DELETE /v1/queue/slots | Delete schedule |
| get_next_queue_slot | GET /v1/queue/next-slot | Get next available slot |
| list_queue_slots | GET /v1/queue/slots | List schedules |
| preview_queue | GET /v1/queue/preview | Preview upcoming slots |
| update_queue_slot | PUT /v1/queue/slots | Update schedule |
models::CreateQueueSlot201Response create_queue_slot(create_queue_slot_request) Create schedule
Create an additional queue for a profile. The first queue created becomes the default. Subsequent queues are non-default unless explicitly set.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| create_queue_slot_request | CreateQueueSlotRequest | [required] |
models::CreateQueueSlot201Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::DeleteQueueSlot200Response delete_queue_slot(profile_id, queue_id) Delete schedule
Delete a queue from a profile. Requires queueId to specify which queue to delete. If deleting the default queue, another queue will be promoted to default.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| profile_id | String | [required] | ||
| queue_id | String | Queue ID to delete | [required] |
models::DeleteQueueSlot200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::GetNextQueueSlot200Response get_next_queue_slot(profile_id, queue_id) Get next available slot
Returns the next available queue slot for preview purposes. To create a queue post, use POST /v1/posts with queuedFromProfile instead of scheduledFor.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| profile_id | String | [required] | ||
| queue_id | Option<String> | Specific queue ID (optional, defaults to profile's default queue) |
models::GetNextQueueSlot200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::ListQueueSlots200Response list_queue_slots(profile_id, queue_id, all) List schedules
Returns queue schedules for a profile. Use all=true for all queues, or queueId for a specific one. Defaults to the default queue.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| profile_id | String | Profile ID to get queues for | [required] | |
| queue_id | Option<String> | Specific queue ID to retrieve (optional) | ||
| all | Option<String> | Set to 'true' to list all queues for the profile |
models::ListQueueSlots200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::PreviewQueue200Response preview_queue(profile_id, queue_id, count) Preview upcoming slots
Returns the next N upcoming queue slot times for a profile as ISO datetime strings.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| profile_id | String | [required] | ||
| queue_id | Option<String> | Filter by specific queue ID. Omit to use the default queue. | ||
| count | Option<i32> | [default to 20] |
models::PreviewQueue200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::UpdateQueueSlot200Response update_queue_slot(update_queue_slot_request) Update schedule
Create a new queue or update an existing one. Without queueId, creates/updates the default queue. With queueId, updates a specific queue. With setAsDefault=true, makes this queue the default for the profile.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| update_queue_slot_request | UpdateQueueSlotRequest | [required] |
models::UpdateQueueSlot200Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]