Skip to main content
POST
/
v1
/
flags:apply
Applys Flag
curl --request POST \
  --url https://resolver.eu.confidence.dev/v1/flags:apply \
  --header 'Content-Type: application/json' \
  --data '
{
  "clientSecret": "<string>",
  "resolveToken": {},
  "sendTime": {},
  "flags": [
    {
      "flag": "<string>",
      "applyTime": {}
    }
  ],
  "sdk": {
    "id": "SDK_ID_UNSPECIFIED",
    "customId": "<string>",
    "version": "<string>"
  }
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
clientSecret
string
required

Credentials for the client.

resolveToken
object
required

An opaque token that was returned from ResolveFlags; it must be set.

sendTime
object
required

The client time when the this request was sent, used for correcting clock skew from the client.

flags
object[]

The flags to apply and information about when they were applied. TODO: Temporarily changed from REQUIRED to OPTIONAL to allow empty flags lists without returning INVALID_ARGUMENT. Re-add once SDKs are updated.

sdk
object

Information about the SDK used to initiate the request.

Response

200 - application/json

OK

The response is of type object.