RoutingPolicies
RoutingPolicies - Create
Creates a new Routing Policy.
POST
https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/RoutingPoliciesParameters
catch_all
Catch All
String
It is the default Repo. If none of the routing criteria matches then the default repo is selected. Mandatory Field
policy_name
Policy Name
String
Routing Policy name. Mandatory Field
routing_criteria
Routing Criteria
[json]
This field can be an empty List [] if Routing criteria doesn't need to be defined. See details below.
Request Example
{
"data": {
"catch_all": "default",
"routing_criteria": [
{
"repo": "_logpoint",
"drop": "store",
"type": "KeyPresent",
"key": "aa",
"value": ""
},
{
"repo": "",
"drop": "store",
"type": "KeyPresentValueMatches",
"key": "hh",
"value": "oo"
}
],
"policy_name": "testPolicy"
}
}Success Response
RoutingPolicies - Edit
Edits the Routing Policy with given ID.
PUT
Parameters
policy_name
Policy Name
String
Routing Policy name. Mandatory Field
catch_all
Catch All
String
It is the default repo. If none of the routing criteria is matched then the default repo is selected. Mandatory Field
id
-
String
Routing Policy id. Mandatory Field
routing_criteria
Routing Criteria
[json]
This field can be an empty List [] if Routing criteria doesn't need to be defined. See routing criteria details in the Create section.
Request Example
Success Response
RoutingPolicies - Get
Fetches a Routing Policy with given ID.
GET
Parameter
id
-
String
Routing Policy id.
Success Response
RoutingPolicies - List
Lists all Routing Policies.
GET
Success Response
RoutingPolicies - Trash
Deletes the Routing Policy with given ID.
DELETE
Parameter
id
-
String
Routing Policy id. Mandatory Field
Success Response
Last updated
Was this helpful?