Waiting for engine...
Skip to main content

DeployedApiPolicyRule

Updated 

Defines a policy rule for API requests with method restrictions and configuration.

type DeployedApiPolicyRule {
id: ID!
name: String!
description: String
methods: [HttpMethod!]!
type: ID!
configuration: String
usedBy: [DeployedApi!]
scope: RuleScope
}

Fields​

DeployedApiPolicyRule.id ● ID! non-null scalar miscellaneous {#id}

Rule identifier

DeployedApiPolicyRule.name ● String! non-null scalar miscellaneous {#name}

User-defined rule name. Not used during execution.

DeployedApiPolicyRule.description ● String scalar miscellaneous {#description}

A human readable description of this rule. Not used during execution

DeployedApiPolicyRule.methods ● [HttpMethod!]! non-null enum platform {#methods}

All the HTTP methods for which this rule applies

DeployedApiPolicyRule.type ● ID! non-null scalar miscellaneous {#type}

Policy id as specified in policy plugin.properties file

DeployedApiPolicyRule.configuration ● String scalar miscellaneous {#configuration}

The JSON-encoded configuration for the rule

DeployedApiPolicyRule.usedBy ● [DeployedApi!] list object platform {#used-by}

List of deployed APIs that are using this rule

DeployedApiPolicyRule.scope ● RuleScope enum platform {#scope}

Scope for the rule, determined by rule type and configuration, if rule can be used for both, request and response.

Returned By​

deployedApiPolicyRule query ●  deployedApiPolicyRuleCreate mutation ●  deployedApiPolicyRules query ●  deployedApiPolicyRuleUpdate mutation

Member Of​

DeployedApiPolicy object ●  DeployedApiPolicyTemplateRule object

On this Page