Retrieve all sub-elements: SD.allowed-elements-profile.rule-sets
get
https://cloud-native-SBC-IP/config/v1/sd/allowed-elements-profile/{ElementKey}/rule-sets
Retrieve all sub-elements: SD.allowed-elements-profile.rule-sets
Request
Path Parameters
-
ElementKey: string
Identifier for the element
Query Parameters
-
revision-id: string
Integer value of saved revision, or 'latest', 'active' to show the running config, or 'staging' to show complete configuration to be activated
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
return all sub elements: WLRuleSetConfig
Nested Schema : schema
Type:
object
list of rule-sets
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
header-rules: array
header-rules
list of header-rules
-
logging: boolean
enable logging of messages when unmatched element exists
-
methods: array
methods
Unique Items Required:
true
specifies list of methods to which the rule applies (applies to all methods when none are specified) -
msg-type: string
Allowed Values:
[ "any", "request", "response" ]
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
unique identifier of the rule-set -
unmatched-action: string
Allowed Values:
[ "reject", "delete" ]
Nested Schema : header-rules
Type:
array
list of header-rules
Show Source
-
Array of:
object WLHeaderRuleConfig
list of header-rules
Nested Schema : methods
Type:
array
Unique Items Required:
true
specifies list of methods to which the rule applies (applies to all methods when none are specified)
Show Source
Nested Schema : WLHeaderRuleConfig
Type:
object
list of header-rules
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
allow-header-param: array
allow-header-param
Unique Items Required:
true
the list of header parameters which are allowed, where * implies all are allowed -
allow-uri-header-name: array
allow-uri-header-name
Unique Items Required:
true
the list of URI header names which are allowed, where * implies all are allowed -
allow-uri-param: array
allow-uri-param
Unique Items Required:
true
the list of URI parameters which are allowed, where * implies all are allowed -
allow-uri-user-param: array
allow-uri-user-param
Unique Items Required:
true
the list of URI user parameters which are allowed, where * implies all are allowed -
header-name(required): string
Minimum Length:
1
name of the allowed header. To change the request line of a request, use the header name request-uri. To apply the rule to all unmatched headers, use the header name * -
unmatched-action: string
Allowed Values:
[ "reject", "delete" ]
Nested Schema : allow-header-param
Type:
array
Unique Items Required:
true
the list of header parameters which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-header-name
Type:
array
Unique Items Required:
true
the list of URI header names which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-param
Type:
array
Unique Items Required:
true
the list of URI parameters which are allowed, where * implies all are allowed
Show Source
Nested Schema : allow-uri-user-param
Type:
array
Unique Items Required:
true
the list of URI user parameters which are allowed, where * implies all are allowed
Show Source
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]