API Description | API Path |
---|---|
List redirection policys for a domainList redirection policys for a domain |
GET /policy/api/v1/infra/domains/<domain-id>/redirection-policies
|
Delete redirection policyDelete redirection policy. |
DELETE /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>
|
Read redirection policyRead redirection policy. |
GET /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>
|
Create or update redirection policyCreate or update the redirection policy. Performance Note: If you want to edit several rules in a redirection policy use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it. |
PATCH /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>
|
Create or update redirection policyCreate or update the redirection policy. Performance Note: If you want to edit several rules in a redirection policy use this API. It will perform better than several individual rule APIs. Just pass all the rules which you wish to edit as embedded rules to it. |
PUT /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>
|
List rulesList rules |
GET /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>/rules
|
Delete RedirectionRuleDelete RedirectionRule |
DELETE /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>/rules/<rule-id>
|
Read ruleRead rule |
GET /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>/rules/<rule-id>
|
Update redirection ruleCreate a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a redirection policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains/<domain-id>/redirection-policies/<red-policy-id> |
PATCH /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>/rules/<rule-id>
|
Update redirection ruleCreate a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a redirection policy,prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains/<domain-id>/redirection-policies/<red-policy-id> |
PUT /policy/api/v1/infra/domains/<domain-id>/redirection-policies/<redirection-policy-id>/rules/<rule-id>
|
List redirection policysList all redirection policys across all domains ordered by precedence. |
GET /policy/api/v1/infra/domains/redirection-policies
|