Dispatch pools
Dispatch pools: 8 operations, tagged dispatch-pools in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/dispatch-pools |
List dispatch pools |
POST |
/api/dispatch-pools |
Create a dispatch pool |
GET |
/api/dispatch-pools/{id} |
Get a dispatch pool by id |
PUT |
/api/dispatch-pools/{id} |
Update a dispatch pool |
DELETE |
/api/dispatch-pools/{id} |
Delete a dispatch pool |
POST |
/api/dispatch-pools/{id}/activate |
Resume a suspended dispatch pool |
POST |
/api/dispatch-pools/{id}/archive |
Archive a dispatch pool |
POST |
/api/dispatch-pools/{id}/suspend |
Suspend dispatch into a pool |
Operations
Section titled “Operations”GET /api/dispatch-pools
Section titled “GET /api/dispatch-pools”List dispatch pools
Operation ID: listDispatchPools
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
status |
query | string | no | Filter by status (ACTIVE, SUSPENDED, ARCHIVED) |
clientId |
query | string | no | Filter by client id |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json DispatchPoolListResponse |
default |
Error | application/json ErrorModel |
POST /api/dispatch-pools
Section titled “POST /api/dispatch-pools”Create a dispatch pool
Operation ID: createDispatchPool
Request body (required)
| Content type | Schema |
|---|---|
application/json |
CreateDispatchPoolRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json CreatedResponse |
default |
Error | application/json ErrorModel |
GET /api/dispatch-pools/{id}
Section titled “GET /api/dispatch-pools/{id}”Get a dispatch pool by id
Operation ID: getDispatchPool
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json DispatchPoolResponse |
default |
Error | application/json ErrorModel |
PUT /api/dispatch-pools/{id}
Section titled “PUT /api/dispatch-pools/{id}”Update a dispatch pool
Operation ID: updateDispatchPool
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
UpdateDispatchPoolRequest |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
DELETE /api/dispatch-pools/{id}
Section titled “DELETE /api/dispatch-pools/{id}”Delete a dispatch pool
Operation ID: deleteDispatchPool
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/dispatch-pools/{id}/activate
Section titled “POST /api/dispatch-pools/{id}/activate”Resume a suspended dispatch pool
Operation ID: activateDispatchPool
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/dispatch-pools/{id}/archive
Section titled “POST /api/dispatch-pools/{id}/archive”Archive a dispatch pool
Operation ID: archiveDispatchPool
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/dispatch-pools/{id}/suspend
Section titled “POST /api/dispatch-pools/{id}/suspend”Suspend dispatch into a pool
Operation ID: suspendDispatchPool
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”CreateDispatchPoolRequest
Section titled “CreateDispatchPoolRequest”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | no | |
code |
string | yes | Pool code (lowercase, alphanumeric, hyphens) |
concurrency |
integer (int32) | no | Max concurrent dispatches (default 10) |
description |
string | no | |
name |
string | yes | |
rateLimit |
integer (int32) | no | Messages per minute (nil = no rate limit) |
CreatedResponse
Section titled “CreatedResponse”| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes |
DispatchPoolListResponse
Section titled “DispatchPoolListResponse”| Field | Type | Required | Description |
|---|---|---|---|
pools |
DispatchPoolResponse[] |
yes | |
total |
integer (int64) | yes |
DispatchPoolResponse
Section titled “DispatchPoolResponse”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | no | |
clientIdentifier |
string | no | |
code |
string | yes | |
concurrency |
integer (int32) | yes | |
createdAt |
string (date-time) | yes | |
description |
string | no | |
id |
string | yes | |
name |
string | yes | |
rateLimit |
integer (int32) | no | |
status |
string | yes | |
updatedAt |
string (date-time) | yes |
UpdateDispatchPoolRequest
Section titled “UpdateDispatchPoolRequest”| Field | Type | Required | Description |
|---|---|---|---|
concurrency |
integer (int32) | no | |
description |
string | no | Omitted leaves it; blank clears it. |
name |
string | no | |
rateLimit |
integer (int32) | no | Messages per minute. Omitted leaves it; 0 clears it (no limit). |