Skip to content

SDK sync

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)

POST /api/applications/{appCode}/connections/sync

Section titled “POST /api/applications/{appCode}/connections/sync”

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)

Content type Schema
application/json SyncConnectionsRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/dispatch-pools/sync

Section titled “POST /api/applications/{appCode}/dispatch-pools/sync”

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)

Content type Schema
application/json SyncDispatchPoolsRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/docs/sync

Section titled “POST /api/applications/{appCode}/docs/sync”

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)

Content type Schema
application/json SyncDocsRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/event-types/sync

Section titled “POST /api/applications/{appCode}/event-types/sync”

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)

Content type Schema
application/json SyncEventTypesRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/openapi/sync

Section titled “POST /api/applications/{appCode}/openapi/sync”

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)

Content type Schema
application/json SyncOpenapiRequest

Responses

Status Description Body
200 OK application/json SyncOpenApiSpecResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/principals/sync

Section titled “POST /api/applications/{appCode}/principals/sync”

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)

Content type Schema
application/json SyncPrincipalsRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/processes/sync

Section titled “POST /api/applications/{appCode}/processes/sync”

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)

Content type Schema
application/json SyncProcessesRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/push/sync

Section titled “POST /api/applications/{appCode}/push/sync”

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)

Content type Schema
application/json SyncPushRequest

Responses

Status Description Body
200 OK application/json PushSyncResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/roles/sync

Section titled “POST /api/applications/{appCode}/roles/sync”

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)

Content type Schema
application/json SyncRolesRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/scheduled-jobs/sync

Section titled “POST /api/applications/{appCode}/scheduled-jobs/sync”

Sync scheduled jobs (SDK self-registration)

Operation ID: syncScheduledJobs

Parameters

Name In Type Required Description
appCode path string yes Application code

Request body (required)

Content type Schema
application/json SyncScheduledJobsRequest

Responses

Status Description Body
200 OK application/json SyncScheduledJobsResultResponse
default Error application/json ErrorModel

POST /api/applications/{appCode}/subscriptions/sync

Section titled “POST /api/applications/{appCode}/subscriptions/sync”

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)

Content type Schema
application/json SyncSubscriptionsRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel

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)

Content type Schema
application/json SyncProcessesByBodyRequest

Responses

Status Description Body
200 OK application/json SyncResultResponse
default Error application/json ErrorModel
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
clientId string no
connections SyncConnectionInputRequest[] 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
pools SyncDispatchPoolInputRequest[] yes
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
docs SyncDocInputRequest[] yes
Field Type Required Description
code string yes Full code (application:subdomain:aggregate:event)
description string no
name string yes
Field Type Required Description
eventTypes SyncEventTypeInputRequest[] 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
principals SyncPrincipalInputRequest[] yes
Field Type Required Description
applicationCode string yes Application code (carried in the body for /api/processes/sync)
processes SyncProcessInputRequest[] yes
Field Type Required Description
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
keys SyncPushKeysRequest yes
rules SyncPushRuleRequest[] yes
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
roles SyncRoleInputRequest[] yes
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
archiveUnlisted boolean no
clientId string no
jobs SyncScheduledJobInputRequest[] yes
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
Field Type Required Description
clientId string no
subscriptions SyncSubscriptionInputRequest[] yes