For the complete documentation index, see llms.txt. This page is also available as Markdown.

Flags

Manage flags

Get flags of the account

get

Return the list of the flags of the account

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

Query parameters
_pageintegerOptional

Index of the page

Example: 0
_max_per_pageintegerOptional

Number of items per page

Example: 10
Responses
200

Success

application/json
current_item_countinteger · intOptional

Returns the number of items in the current page

current_pageinteger · intOptional

Returns the number of the current page

Default: 0
total_countinteger · intOptional

Returns the number of total items

items_per_pageinteger · intOptional

Returns the number of items per page

Default: 10
last_pageinteger · intOptional

Returns the index of the page

get/accounts/{account_id}/flags

Create one/multiple flag(s)

post

Create one/multiple flag(s)

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

Body
idstringRead-onlyOptional

ID of the flag

namestringRequired

Name of the flag

descriptionstringRequired

Description of the flag

typestring · enumRequired

Type of the flag

Possible values:
sourcestring · enumRequired

Source of the flag

Possible values:
default_valuestringOptional

Default value of the flag (default value is only supported for string type)

created_atstring · date-timeRead-onlyOptional

Creation date of the flag

Responses
201

Created

application/json
idstringRead-onlyOptional

ID of the flag

namestringRequired

Name of the flag

descriptionstringRequired

Description of the flag

typestring · enumRequired

Type of the flag

Possible values:
sourcestring · enumRequired

Source of the flag

Possible values:
default_valuestringOptional

Default value of the flag (default value is only supported for string type)

created_atstring · date-timeRead-onlyOptional

Creation date of the flag

post/accounts/{account_id}/flags

Get flags usages of the account

get

Return the list of the flag usages of the account

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

Query parameters
_pageintegerOptional

Index of the page

Example: 0
_max_per_pageintegerOptional

Number of items per page

Example: 10
Responses
200

Success

application/json
current_item_countinteger · intOptional

Returns the number of items in the current page

current_pageinteger · intOptional

Returns the number of the current page

Default: 0
total_countinteger · intOptional

Returns the number of total items

items_per_pageinteger · intOptional

Returns the number of items per page

Default: 10
last_pageinteger · intOptional

Returns the index of the page

get/accounts/{account_id}/flags/usage

Get one flag

get

Return one flag key by its id

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

flag_idstringRequired

The ID of the flag

Responses
200

Success

application/json
idstringRead-onlyOptional

ID of the flag

namestringRequired

Name of the flag

descriptionstringRequired

Description of the flag

typestring · enumRequired

Type of the flag

Possible values:
sourcestring · enumRequired

Source of the flag

Possible values:
default_valuestringOptional

Default value of the flag (default value is only supported for string type)

created_atstring · date-timeRead-onlyOptional

Creation date of the flag

get/accounts/{account_id}/flags/{flag_id}

Delete a flag

delete

Delete a flag by its id.

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

flag_idstringRequired

The ID of the flag

Responses
204

Deleted

No content

delete/accounts/{account_id}/flags/{flag_id}

No content

Update a flag

patch

Update flag informations - You can set only the properies you want to update in the request body.

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

flag_idstringRequired

The ID of the flag

Body
idstringRead-onlyOptional

ID of the flag

namestringRequired

Name of the flag

descriptionstringRequired

Description of the flag

typestring · enumRequired

Type of the flag

Possible values:
sourcestring · enumRequired

Source of the flag

Possible values:
default_valuestringOptional

Default value of the flag (default value is only supported for string type)

created_atstring · date-timeRead-onlyOptional

Creation date of the flag

Responses
200

Updated

application/json
idstringRead-onlyOptional

ID of the flag

namestringRequired

Name of the flag

descriptionstringRequired

Description of the flag

typestring · enumRequired

Type of the flag

Possible values:
sourcestring · enumRequired

Source of the flag

Possible values:
default_valuestringOptional

Default value of the flag (default value is only supported for string type)

created_atstring · date-timeRead-onlyOptional

Creation date of the flag

patch/accounts/{account_id}/flags/{flag_id}

Get flag usages of the account environment

get

Return the list of the flag usages of the account environment

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

account_environment_idstringRequired

The ID of the environment

Query parameters
_pageintegerOptional

Index of the page

Example: 0
_max_per_pageintegerOptional

Number of items per page

Example: 10
Responses
200

Success

application/json
current_item_countinteger · intOptional

Returns the number of items in the current page

current_pageinteger · intOptional

Returns the number of the current page

Default: 0
total_countinteger · intOptional

Returns the number of total items

items_per_pageinteger · intOptional

Returns the number of items per page

Default: 10
last_pageinteger · intOptional

Returns the index of the page

get/accounts/{account_id}/account_environments/{account_environment_id}/flags_usage

Update flag usages

post

Update flag usages

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

account_environment_idstringRequired

The ID of the environment

Bodyobject · FlagUsageGroup[]
repositoryUrlstringOptional

Git repository url of the flag usage (in client client)

repositoryBranchstringOptional

Git branch of the flag usage (in client client)

Responses
201

Created

No content

post/accounts/{account_id}/account_environments/{account_environment_id}/flags_usage

No content

Get one flag usage

get

Return list of flag usages key by its key

Authorizations
AuthorizationstringRequired

Prefix the token with 'Bearer ' to indicate it is a bearer token

Path parameters
account_idstringRequired

The ID of the account

account_environment_idstringRequired

The ID of the environment

flag_keystringRequired

The key of the flag

Responses
200

Success

application/json
current_item_countinteger · intOptional

Returns the number of items in the current page

current_pageinteger · intOptional

Returns the number of the current page

Default: 0
total_countinteger · intOptional

Returns the number of total items

items_per_pageinteger · intOptional

Returns the number of items per page

Default: 10
last_pageinteger · intOptional

Returns the index of the page

get/accounts/{account_id}/account_environments/{account_environment_id}/flags_usage/{flag_key}

Last updated

Was this helpful?