API Gateway
api_gateway
Configurations
api_gateway.configurations
Methods
Retrieve information about specific configuration properties
Set configuration properties
Domain types
Discovery
api_gateway.discovery
Methods
Retrieve the most up to date view of discovered operations, rendered as OpenAPI schemas
Domain types
api_gateway.discovery.operations
Methods
Update the state
on one or more discovered operations
Update the state
on a discovered operation
Retrieve the most up to date view of discovered operations
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Identifier
When true
, only return API Discovery results that are not saved into API Shield Endpoint Management
Direction to order results.
Filter results to only include endpoints containing this pattern.
Filter results to only include the specified hosts.
Filter results to only include the specified HTTP methods.
Field to order by
Filter results to only include discovery results sourced from a particular discovery engine
ML
- Discovered operations that were sourced using ML API DiscoverySessionIdentifier
- Discovered operations that were sourced using Session Identifier API Discovery
Page number of paginated results.
Maximum number of results per page.
Filter results to only include discovery results in a particular state. States are as follows
review
- Discovered operations that are not saved into API Shield Endpoint Managementsaved
- Discovered operations that are already saved into API Shield Endpoint Managementignored
- Discovered operations that have been marked as ignored
Whether the API call was successful
Expression Template
api_gateway.expression_template
api_gateway.expression_template.fallthrough
Methods
Generate fallthrough WAF expression template from a set of API hosts
Operations
api_gateway.operations
Methods
Add one or more operations to a zone. Endpoints can contain path variables. Host, method, endpoint will be normalized to a canoncial form when creating an operation and must be unique on the zone. Inserting an operation that matches an existing one will return the record of the already existing operation and update its last_updated date.
Delete multiple operations
Add one operation to a zone. Endpoints can contain path variables. Host, method, endpoint will be normalized to a canoncial form when creating an operation and must be unique on the zone. Inserting an operation that matches an existing one will return the record of the already existing operation and update its last_updated date.
Delete an operation
Retrieve information about an operation
Retrieve information about all operations on a zone
Domain types
api_gateway.operations.schema_validation
Methods
Updates multiple operation-level schema validation settings on the zone
Retrieves operation-level schema validation settings on the zone
Updates operation-level schema validation settings on the zone
Domain types
Schemas
api_gateway.schemas
Methods
Retrieve operations and features as OpenAPI schemas
Settings
api_gateway.settings
Domain types
api_gateway.settings.schema_validation
Methods
Updates zone level schema validation settings on the zone
Retrieves zone level schema validation settings currently set on the zone
Updates zone level schema validation settings on the zone
User Schemas
api_gateway.user_schemas
Methods
Upload a schema to a zone
Delete a schema
Enable validation for a schema
Retrieve information about a specific schema on a zone
Retrieve information about all schemas on a zone
Domain types
api_gateway.user_schemas.hosts
Methods
Retrieve schema hosts in a zone
api_gateway.user_schemas.operations
Methods
Retrieves all operations from the schema. Operations that already exist in API Shield Endpoint Management will be returned as full operations.