Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WSO2 Custom Rules (Collection) API

The Custom Rules (Collection) API from WSO2 — 1 operation(s) for custom rules (collection).

WSO2 Custom Rules (Collection) API is one of 90 APIs that WSO2 publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Custom Rules (Collection). The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 1 path, and defines 5 schemas. It is described by OpenAPI 3.0.1, at version v4.

Requests are made against a single base URL, https://apis.wso2.com/api/am/admin/v4.

2 operations 1 paths 5 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
v4
Base URL
https://apis.wso2.com
Authentication
OAuth 2.0
Contact
License
Resource Areas
1

Authentication & Security 1

WSO2 Custom Rules (Collection) API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2Security) using the password flow, exposing 41 scopes.

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Custom Rules (Collection) 2
GET
/throttling/policies/custom
Get all Custom Rules
1 param → 200406
POST
/throttling/policies/custom
Add a Custom Rule
1 param body → 201400415

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are ThrottlePolicy (6 properties), Error (5 properties), CustomRuleList (2 properties), ErrorListItem (2 properties). Each schema is shown below with its type and property counts.

ErrorListItem
object
2 properties 2 required
CustomRule
ThrottlePolicy
object
6 properties 1 required
Error
object
5 properties 2 required
CustomRuleList
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wso2-custom-rules-collection-api-openapi.yml Raw ↑

Other APIs WSO2 publishes across the network.

WSO2 Advanced Policy (Collection) API
WSO2 Advanced Policy (Individual) API
WSO2 AIServiceProvider API
WSO2 AIServiceProviders API
WSO2 Alert Subscriptions API
WSO2 Alerts API
WSO2 Api Artifact API
WSO2 API Categories API
WSO2 API Category (Collection) API
WSO2 API Category (Individual) API
WSO2 API Chat API
WSO2 API Documents API