GET
/
waap
/
v1
/
advanced-rules
/
descriptor
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
advanced_rule_descriptor_list = client.waap.advanced_rules.list()
print(advanced_rule_descriptor_list.version)
{
  "version": "<string>",
  "objects": [
    {
      "name": "<string>",
      "type": "<string>",
      "description": "<string>",
      "attrs": [
        {
          "name": "<string>",
          "type": "<string>",
          "hint": "<string>",
          "description": "<string>",
          "args": [
            {
              "name": "<string>",
              "type": "<string>",
              "description": "<string>"
            }
          ]
        }
      ]
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Response

200
application/json

Successful Response

A response from a request to retrieve an advanced rules descriptor