Pangolin (Fossorial) Redirect API

The Redirect API from Pangolin (Fossorial) — 4 operation(s) for redirect.

Operations 6

PUT /org/{orgId}/redirect Replace org by org id redirect #
GET /org/{orgId}/redirects Get org by org id redirects #
GET /org/{orgId}/redirects/{redirectId} Get org by org id redirects by redirect id #
POST /org/{orgId}/redirects/{redirectId} Create org by org id redirects by redirect id #
DELETE /org/{orgId}/redirects/{redirectId} Delete org by org id redirects by redirect id #
GET /org/{orgId}/redirect/{niceId} Get org by org id redirect by nice id #

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-redirect-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-redirect-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pangolin Net Redirect API
  version: v1
  description: 'Operations tagged Redirect 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: Redirect
paths:
  /org/{orgId}/redirect:
    put:
      description: Create a redirect for an organization.
      tags:
      - Redirect
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: orgId
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                resourceId:
                  type:
                  - integer
                  - 'null'
                  exclusiveMinimum: 0
                domainId:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                subdomain:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                destinationHost:
                  type: string
                  minLength: 1
                pathMatchType:
                  type: string
                  enum:
                  - exact
                  - prefix
                  - regex
                matchPath:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                rewritePath:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                rewritePathType:
                  type:
                  - string
                  - 'null'
                  enum:
                  - exact
                  - prefix
                  - regex
                  - stripPrefix
                  - null
                priority:
                  type:
                  - integer
                  - 'null'
                  minimum: 1
                  maximum: 1000
                permanent:
                  type: boolean
                ssl:
                  type: boolean
                enabled:
                  type: boolean
              required:
              - name
              - destinationHost
              additionalProperties: false
      responses:
        '201':
          description: Successful response
      summary: Replace org by org id redirect
      x-summary-source: derived
      operationId: putOrgByOrgIdRedirect
      x-operation-id-source: derived
    servers:
    - url: /v1
  /org/{orgId}/redirects:
    get:
      description: List redirects for an organization.
      tags:
      - Redirect
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: orgId
        in: path
      - schema:
          type: integer
          default: 20
          description: Number of items per page
        required: false
        description: Number of items per page
        name: pageSize
        in: query
      - schema:
          type: integer
          default: 1
          description: Page number to retrieve
        required: false
        description: Page number to retrieve
        name: page
        in: query
      - schema:
          type: string
        required: false
        name: query
        in: query
      - schema:
          type: string
          enum:
          - name
          - priority
          description: Field to sort by
        required: false
        description: Field to sort by
        name: sort_by
        in: query
      - schema:
          type: string
          enum:
          - asc
          - desc
          default: asc
          description: Sort order
        required: false
        description: Sort order
        name: order
        in: query
      - schema:
          type: string
          enum:
          - permanent
          - temporary
          description: Filter redirects by type. `permanent` is a 308 redirect and `temporary` is a 307 redirect.
        required: false
        description: Filter redirects by type. `permanent` is a 308 redirect and `temporary` is a 307 redirect.
        name: type
        in: query
      - schema:
          type: boolean
          description: Filter redirects based on enabled status
        required: false
        description: Filter redirects based on enabled status
        name: enabled
        in: query
      - schema:
          type: integer
          description: Filter redirects attached to this resource
        required: false
        description: Filter redirects attached to this resource
        name: resourceId
        in: query
      - schema:
          type: string
          description: Filter redirects attached to this domain
        required: false
        description: Filter redirects attached to this domain
        name: domainId
        in: query
      responses:
        '200':
          description: Successful response
      summary: Get org by org id redirects
      x-summary-source: derived
      operationId: getOrgByOrgIdRedirects
      x-operation-id-source: derived
    servers:
    - url: /v1
  /org/{orgId}/redirects/{redirectId}:
    get:
      description: Get a redirect by ID.
      tags:
      - Redirect
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: string
        required: true
        name: orgId
        in: path
      - schema:
          type: string
        required: true
        name: redirectId
        in: path
      responses:
        '200':
          description: Successful response
      summary: Get org by org id redirects by redirect id
      x-summary-source: derived
      operationId: getOrgByOrgIdRedirectsByRedirectId
      x-operation-id-source: derived
    post:
      description: Update a redirect.
      tags:
      - Redirect
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: orgId
        in: path
      - schema:
          type: integer
          exclusiveMinimum: 0
        required: true
        name: redirectId
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                niceId:
                  type: string
                  minLength: 1
                  maxLength: 255
                  pattern: ^[a-zA-Z0-9-]+$
                resourceId:
                  type:
                  - integer
                  - 'null'
                  exclusiveMinimum: 0
                domainId:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                subdomain:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                destinationHost:
                  type: string
                  minLength: 1
                pathMatchType:
                  type: string
                  enum:
                  - exact
                  - prefix
                  - regex
                matchPath:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                rewritePath:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                rewritePathType:
                  type:
                  - string
                  - 'null'
                  enum:
                  - exact
                  - prefix
                  - regex
                  - stripPrefix
                  - null
                priority:
                  type: integer
                  minimum: 1
                  maximum: 1000
                permanent:
                  type: boolean
                ssl:
                  type: boolean
                enabled:
                  type: boolean
              additionalProperties: false
      responses:
        '200':
          description: Successful response
      summary: Create org by org id redirects by redirect id
      x-summary-source: derived
      operationId: postOrgByOrgIdRedirectsByRedirectId
      x-operation-id-source: derived
    delete:
      description: Delete a redirect.
      tags:
      - Redirect
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: orgId
        in: path
      - schema:
          type: integer
          exclusiveMinimum: 0
        required: true
        name: redirectId
        in: path
      responses:
        '200':
          description: Successful response
      summary: Delete org by org id redirects by redirect id
      x-summary-source: derived
      operationId: deleteOrgByOrgIdRedirectsByRedirectId
      x-operation-id-source: derived
    servers:
    - url: /v1
  /org/{orgId}/redirect/{niceId}:
    get:
      description: Get a redirect by orgId and niceId. NiceId is a readable ID for the redirect and unique on a per org basis.
      tags:
      - Redirect
      security:
      - Bearer Auth: []
      parameters:
      - schema:
          type: string
        required: true
        name: orgId
        in: path
      - schema:
          type: string
        required: true
        name: niceId
        in: path
      responses:
        '200':
          description: Successful response
      summary: Get org by org id redirect by nice id
      x-summary-source: derived
      operationId: getOrgByOrgIdRedirectByNiceId
      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