Pangolin (Fossorial) Rule API

The Rule API from Pangolin (Fossorial) — 3 operation(s) for rule.

Operations 4

PUT /public-resource/{resourceId}/rule Replace public resource by resource id rule #
DELETE /public-resource/{resourceId}/rule/{ruleId} Delete public resource by resource id rule by rule id #
POST /public-resource/{resourceId}/rule/{ruleId} Create public resource by resource id rule by rule id #
GET /public-resource/{resourceId}/rules Get public resource by resource id rules #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pangolin-net:pangolin-net-rule-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pangolin-net-rule-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pangolin Net Rule API
  version: v1
  description: 'Operations tagged Rule across 2 of this provider''s published API definitions: pangolin-net-openapi-remote.json, pangolin-net-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /v1
tags:
- name: Rule
paths:
  /public-resource/{resourceId}/rule:
    put:
      description: Create a resource rule.
      tags:
      - Rule
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: integer
          exclusiveMinimum: 0
        required: true
        name: resourceId
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                action:
                  type: string
                  enum:
                  - ACCEPT
                  - DROP
                  - PASS
                match:
                  type: string
                  enum:
                  - CIDR
                  - IP
                  - PATH
                  - COUNTRY
                  - COUNTRY_IS_NOT
                  - ASN
                  - REGION
                  - METHOD
                value:
                  type: string
                  minLength: 1
                priority:
                  type: integer
                enabled:
                  type: boolean
              required:
              - action
              - match
              - value
              - priority
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type:
                    - object
                    - 'null'
                    additionalProperties: {}
                  success:
                    type: boolean
                  error:
                    type: boolean
                  message:
                    type: string
                  status:
                    type: number
                required:
                - data
                - success
                - error
                - message
                - status
      summary: Replace public resource by resource id rule
      x-summary-source: derived
      operationId: putPublicResourceByResourceIdRule
      x-operation-id-source: derived
    servers:
    - url: /v1
  /public-resource/{resourceId}/rule/{ruleId}:
    delete:
      description: Delete a resource rule.
      tags:
      - Rule
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: integer
          exclusiveMinimum: 0
        required: true
        name: ruleId
        in: path
      - schema:
          type: integer
          exclusiveMinimum: 0
        required: true
        name: resourceId
        in: path
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type:
                    - object
                    - 'null'
                    additionalProperties: {}
                  success:
                    type: boolean
                  error:
                    type: boolean
                  message:
                    type: string
                  status:
                    type: number
                required:
                - data
                - success
                - error
                - message
                - status
      summary: Delete public resource by resource id rule by rule id
      x-summary-source: derived
      operationId: deletePublicResourceByResourceIdRuleByRuleId
      x-operation-id-source: derived
    post:
      description: Update a resource rule.
      tags:
      - Rule
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: integer
          exclusiveMinimum: 0
        required: true
        name: ruleId
        in: path
      - schema:
          type: integer
          exclusiveMinimum: 0
        required: true
        name: resourceId
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                action:
                  type: string
                  enum:
                  - ACCEPT
                  - DROP
                  - PASS
                match:
                  type: string
                  enum:
                  - CIDR
                  - IP
                  - PATH
                  - COUNTRY
                  - COUNTRY_IS_NOT
                  - ASN
                  - REGION
                  - METHOD
                value:
                  type: string
                  minLength: 1
                priority:
                  type: integer
                enabled:
                  type: boolean
              required:
              - priority
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type:
                    - object
                    - 'null'
                    additionalProperties: {}
                  success:
                    type: boolean
                  error:
                    type: boolean
                  message:
                    type: string
                  status:
                    type: number
                required:
                - data
                - success
                - error
                - message
                - status
      summary: Create public resource by resource id rule by rule id
      x-summary-source: derived
      operationId: postPublicResourceByResourceIdRuleByRuleId
      x-operation-id-source: derived
    servers:
    - url: /v1
  /public-resource/{resourceId}/rules:
    get:
      description: List rules for a resource.
      tags:
      - Rule
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: integer
          exclusiveMinimum: 0
        required: true
        name: resourceId
        in: path
      - schema:
          type: string
          default: '1000'
        required: false
        name: limit
        in: query
      - schema:
          type: string
          default: '0'
        required: false
        name: offset
        in: query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type:
                    - object
                    - 'null'
                    additionalProperties: {}
                  success:
                    type: boolean
                  error:
                    type: boolean
                  message:
                    type: string
                  status:
                    type: number
                required:
                - data
                - success
                - error
                - message
                - status
      summary: Get public resource by resource id rules
      x-summary-source: derived
      operationId: getPublicResourceByResourceIdRules
      x-operation-id-source: derived
    servers:
    - url: /v1
components:
  securitySchemes:
    Bearer_Auth:
      type: http
      scheme: bearer
x-refined-from:
- pangolin-net-openapi-remote.json
- pangolin-net-openapi.json