Get Rules
Get All the Rules for a Section
section-id
Comma separated list of fields that should be included to result of query
AppliedTo's referenced by this section or section's Firewall Rules .
Maximum number of results to return in this page (server may return fewer)
Field by which records are sorted
Opaque cursor to be used for getting next page of records (supplied by current result page)
Sources referenced by this section's Firewall Rules .
NSService referenced by this section's Firewall Rules .
sort_ascending
Destinations referenced by this section's Firewall Rules .
Success
{
"_self": {
"rel": "string"
},
"cursor": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"sort_ascending": false,
"result_count": 0,
"_schema": "string",
"sort_by": "string",
"results": [
{
"_self": {
"rel": "string"
},
"_owner": {
"rel": "string"
},
"display_name": "string",
"description": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_revision": 0,
"_schema": "string",
"resource_type": "string",
"id": "string",
"direction": "string",
"rule_tag": "string",
"ip_protocol": "string",
"notes": "string",
"applied_tos": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
],
"logged": false,
"destinations_excluded": false,
"disabled": false,
"sources": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
],
"services": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string",
"service": {
"resource_type": "string"
}
}
],
"sources_excluded": false,
"action": "string",
"destinations": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
]
}
]
}
Unexpected error
{
"module_name": "string",
"error_message": "string",
"error_code": 0
}
module_name
error_message
error_code