Register a client SDK
POST/api/client/register
Register a client SDK with Unleash. SDKs call this endpoint on startup to tell Unleash about their existence. Used to track custom strategies in use as well as SDK versions.
Request
- application/json
Body
required
clientApplicationSchema
- MOD1
- MOD2
An identifier for the app that uses the sdk, should be static across SDK restarts
example-app
A unique identifier identifying the instance of the application running the SDK. Often changes based on execution environment. For instance: two pods in Kubernetes will have two different instanceIds
b77f3d13-5f48-4a7b-a3f4-a449b97ce43a
An SDK version identifier. Usually formatted as "unleash-client-
unleash-client-java:7.0.0
The SDK's configured 'environment' property. This property was deprecated in v5. This property does not control which Unleash environment the SDK gets toggles for. To control Unleash environments, use the SDKs API key.
development
The platform the application is running on. For languages that compile to binaries, this can be omitted
.NET Core
The version of the platform the application is running on. Languages that compile to binaries, this is expected to be the compiler version used to assemble the binary.
3.1
The semantic version of the Yggdrasil engine used by the client. If the client is using a native engine this can be omitted.
1.0.0
The version of the Unleash client specification the client supports
3.0.0
How often (in seconds) does the client refresh its toggles
10
started
object
required
Either an RFC-3339 timestamp or a unix timestamp in seconds
oneOf
string
number
Which strategies the SDKs runtime knows about
["default","gradualRollout","remoteAddress"]
Responses
- 202
This response has no body.