Push gateway
Push gateway: 2 operations, tagged push-gateway in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/applications/{appCode}/push/settings |
Read an application’s push gateway limits and pause (anchor-only) |
PUT |
/api/applications/{appCode}/push/settings |
Set an application’s push gateway limits and pause (anchor-only, audited) |
Operations
Section titled “Operations”GET /api/applications/{appCode}/push/settings
Section titled “GET /api/applications/{appCode}/push/settings”Read an application’s push gateway limits and pause (anchor-only)
Operation ID: getPushSettings
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appCode |
path | string | yes | Application code |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json PushSettingsResponse |
default |
Error | application/json ErrorModel |
PUT /api/applications/{appCode}/push/settings
Section titled “PUT /api/applications/{appCode}/push/settings”Set an application’s push gateway limits and pause (anchor-only, audited)
Operation ID: putPushSettings
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
appCode |
path | string | yes | Application code |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
PushSettings |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json PushSettingsResponse |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”PushSettings
Section titled “PushSettings”| Field | Type | Required | Description |
|---|---|---|---|
maxDataBytes |
integer (int64) | no | Largest push data, in bytes (default 16,384; at most 65,536) |
maxStreams |
integer (int64) | no | Open streams that listen to the application’s topics (default 20,000) |
paused |
boolean | yes | Ingest answers 429 for the application until unpaused; open streams stay connected |
publishBurst |
integer (int64) | no | Burst of the publish rate (default 2,000; at least the rate) |
publishRate |
integer (int64) | no | Pushes per second per gateway task (default 500) |
PushSettingsResponse
Section titled “PushSettingsResponse”| Field | Type | Required | Description |
|---|---|---|---|
applicationCode |
string | yes | |
effective |
PushSettingsResponseEffectiveStruct |
yes | |
settings |
PushSettings |
yes | |
updatedAt |
string (date-time) | no | |
updatedBy |
string | no |
PushSettingsResponseEffectiveStruct
Section titled “PushSettingsResponseEffectiveStruct”| Field | Type | Required | Description |
|---|---|---|---|
maxDataBytes |
integer (int64) | yes | |
maxStreams |
integer (int64) | yes | |
publishBurst |
integer (int64) | yes | |
publishRate |
integer (int64) | yes |