Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

key
string
required
Required string length: 1 - 120
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$

Body

application/json
defaults
object

Your baked-in config. On the first fetch of an unknown key this registers the config and becomes revision 1, so integration is a single call. Ignored once the key exists.

Example:
session
object

Session context. When the call was originated by a Roark simulation, Roark recognizes it here and serves the staging revision for this session only; real traffic always gets production.

Response

The resolved config for this session.

data
object
required