RegisterAppAsDraftResponse
Response from POST /applications/1.0/drafts. Returns both the
production-draft credentials and, on the happy path, the sandbox
credentials. Each clientSecret is returned exactly once at creation
time and cannot be retrieved later through the API.
On a sandbox transient failure the production side still commits:
sandboxCredentials is null and sandboxStatus is pending; the App
is reconciled by the sandbox-provisioning backfill.
- applicationType: string Format: uuid
Id requiredUnique identifier of the newly registered draft application.
- appType: string · AppUrn
Urn Pattern: ^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$requiredCanonical URN identifying your registered application.
Format:
urn:uuid:{applicationId}(RFC 4122). Use this value as CaliperedApp.idwhen emitting events from your app. - productionType: object · RegisteredCredentials
Credentials requiredOne OAuth credential set (client credentials flow). The
clientSecretis returned exactly once at creation time and cannot be retrieved later.- clientType: string
Id requiredOAuth client ID for authenticating your application (client credentials flow).
- clientType: string
Secret requiredOAuth client secret. Returned only in this response; store it securely now.
- scopesType: array string[]required
OAuth scopes authorized on this client.
- tokenType: string Format: uri
Url requiredToken endpoint for this environment. POST
client_id+client_secretwithgrant_type=client_credentialsto mint an access token.
- publisherType: string Format: uuid
Id requiredPublisher that owns this application (assigned automatically or from your request).
- sandboxType: string enum
Status requiredprovisionedwhen both credential sets are returned;pendingwhen the sandbox side has not completed and is reconciled by the backfill.values- provisioned
- pending
- sandboxType: object · RegisteredCredentialsnullable
Credentials Sandbox credentials valid against
sandbox.platform.timeback.com. Null whensandboxStatusispending.One OAuth credential set (client credentials flow). The
clientSecretis returned exactly once at creation time and cannot be retrieved later.- clientType: string
Id requiredOAuth client ID for authenticating your application (client credentials flow).
- clientType: string
Secret requiredOAuth client secret. Returned only in this response; store it securely now.
- scopesType: array string[]required
OAuth scopes authorized on this client.
- tokenType: string Format: uri
Url requiredToken endpoint for this environment. POST
client_id+client_secretwithgrant_type=client_credentialsto mint an access token.
