Dynamic Configs

Get Dynamic Config Rules

Changed on
get/console/v1/dynamic_configs/{id}/rules

Request

  • Base URL
    https://statsigapi.net
  • URL
    https://statsigapi.net/console/v1/dynamic_configs/{id}/rules
  • Auth
    API key in header STATSIG-API-KEY

Path parameters

idstring required

id

Response

Get Dynamic Config Rules Response

messagestring required

A simple string explaining the result of the operation.

Example response

{
  "message": "Dynamic Config rules read successfully.",
  "data": [
    {
      "rules": [
        {
          "id": "5pjzfmF8KLFsh81kBPyxvR",
          "baseID": "5pjzfmF8KLFsh81kBPyxvR",
          "name": "rule name",
          "passPercentage": 1,
          "conditions": [
            {
              "type": "browser_name",
              "targetValue": [],
              "operator": "any"
            }
          ],
          "environments": null,
          "completedAutomatedRollouts": [],
          "pendingAutomatedRollouts": []
        },
        {
          "id": "6jQEnu1fCnXqjXhm1qGEnt",
          "baseID": "6jQEnu1fCnXqjXhm1qGEnt",
          "name": "Other2",
          "passPercentage": 80,
          "conditions": [],
          "environments": null,
          "completedAutomatedRollouts": [],
          "pendingAutomatedRollouts": []
        },
        {
          "id": "4DonExIcOjSV8kG3WSQ5Zm",
          "baseID": "4DonExIcOjSV8kG3WSQ5Zm",
          "name": "Austin's fav rule",
          "passPercentage": 8,
          "conditions": [],
          "environments": null,
          "completedAutomatedRollouts": [],
          "pendingAutomatedRollouts": []
        }
      ]
    }
  ],
  "pagination": {
    "itemsPerPage": 20000,
    "pageNumber": 1,
    "totalItems": 1,
    "nextPage": null,
    "previousPage": null,
    "all": ""
  }
}

Changes

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      the response optional property ///// became not read-only for the status

    • warning

      added the new after enum value to the /////// response property for the response status

    • warning

      added the new any enum value to the /////// response property for the response status

    • warning

      added the new any_case_sensitive enum value to the /////// response property for the response status

    • warning

      added the new array_contains_all enum value to the /////// response property for the response status

    • warning

      added the new array_contains_any enum value to the /////// response property for the response status

    • warning

      added the new array_contains_none enum value to the /////// response property for the response status

    • warning

      added the new before enum value to the /////// response property for the response status

    • warning

      added the new encoded_any enum value to the /////// response property for the response status

    • warning

      added the new gt enum value to the /////// response property for the response status

    • warning

      added the new gte enum value to the /////// response property for the response status

    • warning

      added the new is_not_null enum value to the /////// response property for the response status

    • warning

      added the new is_null enum value to the /////// response property for the response status

    • warning

      added the new lt enum value to the /////// response property for the response status

    • warning

      added the new lte enum value to the /////// response property for the response status

    • warning

      added the new none enum value to the /////// response property for the response status

    • warning

      added the new none_case_sensitive enum value to the /////// response property for the response status

    • warning

      added the new not_array_contains_all enum value to the /////// response property for the response status

    • warning

      added the new on enum value to the /////// response property for the response status

    • warning

      added the new str_contains_any enum value to the /////// response property for the response status

    • warning

      added the new str_contains_none enum value to the /////// response property for the response status

    • warning

      added the new str_matches enum value to the /////// response property for the response status

    • warning

      added the new version_eq enum value to the /////// response property for the response status

    • warning

      added the new version_gt enum value to the /////// response property for the response status

    • warning

      added the new version_gte enum value to the /////// response property for the response status

    • warning

      added the new version_lt enum value to the /////// response property for the response status

    • warning

      added the new version_lte enum value to the /////// response property for the response status