from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
waap_advanced_rule_descriptor_list = client.waap.advanced_rules.list()
print(waap_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>"
}
]
}
]
}
]
}
from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
waap_advanced_rule_descriptor_list = client.waap.advanced_rules.list()
print(waap_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>"
}
]
}
]
}
]
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Successful Response
A response from a request to retrieve an advanced rules descriptor