Sign up and get started with Confidence today! Create your account
Sign up and get started with Confidence today! Create your account
Indicates that resolved values of a set of flags have been used. In many
situations there is a delay between the moment a flag is resolved and
when it is actually used in a client. This is often the case in mobile
clients where you typically batch resolve all flags at startup, but then
apply them later when the user interacts with a specific view. If the
apply flag is set to false in a resolve, the flag assignment event is
delayed until the flag is applied.
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.
Credentials for the client.
An opaque token that was returned from ResolveFlags; it must be set.
The client time when the this request was sent, used for correcting clock skew from the client.
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.
Show child attributes
Information about the SDK used to initiate the request.
Show child attributes
OK
The response is of type object.
Was this page helpful?
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>"
}
}
'{}