CustomFlag

List custom flags

This will list all custom flags for an org

  • Requires the action org:ListCustomFlag on the organization
get/api/v1/org/{orgUID}/customflag/

Request

  • Base URL: https://api.prod.spyderbat.com
  • URL: https://api.prod.spyderbat.com/api/v1/org/{orgUID}/customflag/
  • Auth: HTTP bearer

Path parameters

orgUIDstring required

Query parameters

action_taken_equalsstring

Filter by the action taken on the flag(s). Pulls from the history database table. One of [insert|update|delete|enable|disable]

content_containsstring
flag_type_equalsstring

Filter by the flag type

from_historyboolean

Retrieves historical custom flags data. Pulls from the history database table

impact_containsstring
is_enabledboolean

Filter by the flag enabled status

is_not_enabledboolean

Filter by the flag disabled status

latest_versionboolean

Filter by the latest version of the flag. Pulls from the history database table

name_containsstring
name_or_uid_containsstring
pageinteger
page_sizeinteger

Number of results per page. Default 10. -1 means all.

query_containsstring
query_equalsstring
query_uid_equalsstring

Filter by the saved query UID

reversedboolean
schema_equalsstring
severity_equalsstring
sort_bystring

Sort the results by a field. One of [name|description|create_time|query|schema|severity|impact|last_updated|is_enabled]

tags_containstring[]
uid_equalsstring
versioninteger

Filter by the flag version. Pulls from the history database table

Response

OK

search_totalinteger

Total number of custom flags matching the search criteria

total_flagsinteger

Total number of custom flags

total_pagesinteger

Total number of pages

Changes

No recorded changes to this operation across all 1 revision of this API.