SDK sync: 12 operations, tagged sdk-sync in the OpenAPI document.
| Method |
Path |
Summary |
POST |
/api/applications/{appCode}/connections/sync |
Sync an application’s connections (SDK self-registration) |
POST |
/api/applications/{appCode}/dispatch-pools/sync |
Sync dispatch pools (SDK self-registration) |
POST |
/api/applications/{appCode}/docs/sync |
Sync an application’s documentation pages (SDK self-registration; declarative full replace) |
POST |
/api/applications/{appCode}/event-types/sync |
Sync an application’s event types (SDK self-registration) |
POST |
/api/applications/{appCode}/openapi/sync |
Sync an application’s OpenAPI document (SDK self-registration) |
POST |
/api/applications/{appCode}/principals/sync |
Sync an application’s principals (SDK self-registration) |
POST |
/api/applications/{appCode}/processes/sync |
Sync an application’s processes (SDK self-registration) |
POST |
/api/applications/{appCode}/push/sync |
Sync an application’s push gateway rules and ticket keys (SDK self-registration; declarative full replace) |
POST |
/api/applications/{appCode}/roles/sync |
Sync an application’s roles (SDK self-registration) |
POST |
/api/applications/{appCode}/scheduled-jobs/sync |
Sync scheduled jobs (SDK self-registration) |
POST |
/api/applications/{appCode}/subscriptions/sync |
Sync an application’s subscriptions (SDK self-registration) |
POST |
/api/processes/sync |
Sync processes (SDK alias; applicationCode in the body) |
Sync an application’s connections (SDK self-registration)
Operation ID: syncConnections
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
removeUnlisted |
query |
boolean |
no |
Remove API/CODE connections not in the list |
Request body (required)
Responses
Sync dispatch pools (SDK self-registration)
Operation ID: syncDispatchPools
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
removeUnlisted |
query |
boolean |
no |
Archive pools not in the list |
Request body (required)
Responses
Sync an application’s documentation pages (SDK self-registration; declarative full replace)
Operation ID: syncAppDocs
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
Request body (required)
Responses
Sync an application’s event types (SDK self-registration)
Operation ID: syncEventTypes
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
removeUnlisted |
query |
boolean |
no |
Remove API-sourced event types not in the list |
Request body (required)
Responses
Sync an application’s OpenAPI document (SDK self-registration)
Operation ID: syncOpenapi
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
Request body (required)
Responses
Sync an application’s principals (SDK self-registration)
Operation ID: syncPrincipals
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
removeUnlisted |
query |
boolean |
no |
Strip SDK_SYNC roles from unlisted principals |
Request body (required)
Responses
Sync an application’s processes (SDK self-registration)
Operation ID: syncProcesses
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
removeUnlisted |
query |
boolean |
no |
Remove API/CODE processes not in the list |
Request body (required)
Responses
Sync an application’s push gateway rules and ticket keys (SDK self-registration; declarative full replace)
Operation ID: syncPush
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
Request body (required)
Responses
Sync an application’s roles (SDK self-registration)
Operation ID: syncRoles
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
removeUnlisted |
query |
boolean |
no |
Remove SDK roles not in the list |
Request body (required)
Responses
Sync scheduled jobs (SDK self-registration)
Operation ID: syncScheduledJobs
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
Request body (required)
Responses
Sync an application’s subscriptions (SDK self-registration)
Operation ID: syncSubscriptions
Parameters
| Name |
In |
Type |
Required |
Description |
appCode |
path |
string |
yes |
Application code |
removeUnlisted |
query |
boolean |
no |
Remove API/CODE subscriptions not in the list |
Request body (required)
Responses
Sync processes (SDK alias; applicationCode in the body)
Operation ID: syncProcessesByBody
Parameters
| Name |
In |
Type |
Required |
Description |
removeUnlisted |
query |
boolean |
no |
Remove API/CODE processes not in the list |
Request body (required)
Responses
| Field |
Type |
Required |
Description |
created |
integer (int32) |
yes |
Minimum 0. |
deleted |
integer (int32) |
yes |
Minimum 0. |
updated |
integer (int32) |
yes |
Minimum 0. |
| Field |
Type |
Required |
Description |
applicationCode |
string |
yes |
|
keys |
PushSyncCounts |
yes |
|
rules |
PushSyncCounts |
yes |
|
syncedKids |
string[] |
yes |
|
syncedPatterns |
string[] |
yes |
|
| Field |
Type |
Required |
Description |
code |
string |
yes |
|
description |
string |
no |
|
externalId |
string |
no |
|
name |
string |
yes |
|
| Field |
Type |
Required |
Description |
code |
string |
yes |
|
concurrency |
integer (int32) |
no |
|
description |
string |
no |
|
name |
string |
yes |
|
rateLimit |
integer (int32) |
no |
Messages per minute; omit for concurrency-only |
| Field |
Type |
Required |
Description |
content |
string |
yes |
The page body, Markdown (Mermaid fences render as diagrams) |
slug |
string |
yes |
URL-safe page id, unique within the application (kebab-case) |
title |
string |
no |
|
| Field |
Type |
Required |
Description |
code |
string |
yes |
Full code (application:subdomain:aggregate:event) |
description |
string |
no |
|
name |
string |
yes |
|
| Field |
Type |
Required |
Description |
spec |
any |
yes |
The OpenAPI document (OpenAPI 3.x or Swagger 2.x) |
| Field |
Type |
Required |
Description |
applicationCode |
string |
yes |
|
archivedPriorVersion |
string |
no |
|
hasBreaking |
boolean |
yes |
|
specId |
string |
yes |
|
status |
string |
yes |
|
unchanged |
boolean |
yes |
|
version |
string |
yes |
|
| Field |
Type |
Required |
Description |
active |
boolean |
no |
Whether the user is active (default true) |
email |
string |
yes |
User’s email address (unique identifier for matching) |
name |
string |
yes |
|
passwordHash |
string |
no |
Pre-hashed password (bcrypt/argon2i/argon2id), stored verbatim on a user the sync creates; migrated on first login. Never applied to an existing user (reported in passwordHashIgnored). |
roles |
string[] |
no |
Role names, the application’s own (app:role, matched case-insensitively and not prefixed by the platform). A name that is not a role is not assigned and is reported in skippedRoles; another application’s role refuses the sync (403 ROLE_APP_FORBIDDEN). |
| Field |
Type |
Required |
Description |
applicationCode |
string |
yes |
Application code (carried in the body for /api/processes/sync) |
processes |
SyncProcessInputRequest[] |
yes |
|
| Field |
Type |
Required |
Description |
body |
string |
no |
Diagram body (typically Mermaid source) |
code |
string |
yes |
Full code (application:subdomain:process-name) |
description |
string |
no |
|
diagramType |
string |
no |
|
name |
string |
yes |
|
tags |
string[] |
no |
|
| Field |
Type |
Required |
Description |
alg |
string |
no |
|
crv |
string |
yes |
Ed25519 |
kid |
string |
yes |
The key id tickets name in their header |
kty |
string |
yes |
OKP |
use |
string |
no |
|
x |
string |
yes |
The public key, base64url |
| Field |
Type |
Required |
Description |
keys |
SyncPushKeyRequest[] |
yes |
At most 4 public Ed25519 keys: the current and the previous during a rotation |
| Field |
Type |
Required |
Description |
pattern |
string |
yes |
{application}:{segment}(:{segment})*, the first segment the application’s own code; a segment may be a {placeholder} |
public |
boolean |
no |
A deliberately open topic: anyone may subscribe, with or without credentials. Required for a rule with neither {principal} nor requires. |
requires |
string[] |
no |
Permissions the subscriber must all hold |
| Field |
Type |
Required |
Description |
applicationCode |
string |
yes |
|
created |
integer (int32) |
yes |
Minimum 0. |
deleted |
integer (int32) |
yes |
Minimum 0. |
passwordHashIgnored |
string[] |
no |
Principal sync only: emails whose passwordHash was ignored because the user already exists (omitted when none) |
skippedRoles |
string[] |
no |
Principal sync only: role names that are not roles and so were not assigned to anyone (lower-cased, each once, in payload order; omitted when none). The rest of the sync applied. |
syncedCodes |
string[] |
yes |
|
updated |
integer (int32) |
yes |
Minimum 0. |
| Field |
Type |
Required |
Description |
clientManaged |
boolean |
no |
|
description |
string |
no |
|
displayName |
string |
no |
|
name |
string |
yes |
|
permissions |
string[] |
no |
|
| Field |
Type |
Required |
Description |
code |
string |
yes |
|
concurrent |
boolean |
no |
|
crons |
string[] |
yes |
|
deliveryMaxAttempts |
integer (int32) |
no |
Default 3 when omitted |
description |
string |
no |
|
name |
string |
yes |
|
payload |
any |
no |
|
targetUrl |
string |
no |
|
timeoutSeconds |
integer (int32) |
no |
|
timezone |
string |
no |
IANA timezone (default UTC) |
tracksCompletion |
boolean |
no |
|
| Field |
Type |
Required |
Description |
applicationCode |
string |
yes |
|
archived |
string[] |
yes |
|
created |
string[] |
yes |
|
updated |
string[] |
yes |
|
| Field |
Type |
Required |
Description |
eventTypeCode |
string |
yes |
|
filter |
string |
no |
Not supported. Must be absent or empty; a non-empty filter is refused with 400 FILTER_NOT_SUPPORTED (filters were never applied: a binding receives every event of its type). |
| Field |
Type |
Required |
Description |
code |
string |
yes |
|
connectionCode |
string |
no |
Connection code — stable across environments, unlike connectionId. By default resolves a connection owned by THIS application; set sharedConnection to resolve it among the shared (application-less) connections instead. Within either namespace, a client-scoped sync (clientId set) prefers its own client’s connection, falling back to a global one; a client-less sync only resolves a global connection. |
connectionId |
string |
no |
|
dataOnly |
boolean |
no |
|
description |
string |
no |
|
dispatchPoolCode |
string |
no |
|
eventTypes |
SyncSubscriptionEventTypeRequest[] |
yes |
|
maxRetries |
integer (int32) |
no |
|
mode |
string |
no |
|
name |
string |
yes |
|
sharedConnection |
boolean |
no |
Resolve connectionCode among the shared (application-less) connections instead of this application’s own. Requires connectionCode. |
target |
string |
yes |
|
timeoutSeconds |
integer (int32) |
no |
|