Pangolin (Fossorial) Public Resource Policy (Legacy) API
The Public Resource Policy (Legacy) API from Pangolin (Fossorial) — 11 operation(s) for public resource policy (legacy).
The Public Resource Policy (Legacy) API from Pangolin (Fossorial) — 11 operation(s) for public resource policy (legacy).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pangolin-net:pangolin-net-public-resource-policy-legacy-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Pangolin Net Public Resource Policy (Legacy) API
version: v1
description: 'Operations tagged Public Resource Policy (Legacy) 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: Public Resource Policy (Legacy)
paths:
/resource-policy/{resourcePolicyId}:
get:
description: Get a resource policy by its resourcePolicyId.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: number
required: true
name: resourcePolicyId
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: Get resource policy by resource policy id
x-summary-source: derived
operationId: getResourcePolicyByResourcePolicyId
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/access-control:
put:
description: Set access control users for a resource policy, including SSO, users, roles, Identity provider.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
sso:
type: boolean
userIds:
type: array
items:
type: string
roleIds:
type: array
skipToIdpId:
type: integer
description: Default identity provider ID to skip to on login
required:
- sso
- userIds
- roleIds
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 resource policy by resource policy id access control
x-summary-source: derived
operationId: putResourcePolicyByResourcePolicyIdAccessControl
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourceId}/access-control:
put:
description: 'Set access control users for a resource policy, including SSO, users, roles, Identity provider. Deprecated: use POST instead.'
deprecated: true
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
sso:
type: boolean
userIds:
type: array
items:
type: string
roleIds:
type: array
skipToIdpId:
type: integer
description: Default identity provider ID to skip to on login
required:
- sso
- userIds
- roleIds
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 resource policy by resource id access control
x-summary-source: derived
operationId: putResourcePolicyByResourceIdAccessControl
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/password:
post:
description: Set the password for a resource policy. Setting the password to null will remove it.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
password:
type:
- string
- 'null'
minLength: 4
maxLength: 100
required:
- password
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 resource policy by resource policy id password
x-summary-source: derived
operationId: postResourcePolicyByResourcePolicyIdPassword
x-operation-id-source: derived
put:
description: 'Set the password for a resource policy. Setting the password to null will remove it. Deprecated: use POST instead.'
deprecated: true
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
password:
type:
- string
- 'null'
minLength: 4
maxLength: 100
required:
- password
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 resource policy by resource policy id password
x-summary-source: derived
operationId: putResourcePolicyByResourcePolicyIdPassword
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/pincode:
post:
description: Set the PIN code for a resource policy. Setting the PIN code to null will remove it.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
pincode:
anyOf:
- type: string
pattern: ^\d{6}$
- {}
required:
- pincode
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 resource policy by resource policy id pincode
x-summary-source: derived
operationId: postResourcePolicyByResourcePolicyIdPincode
x-operation-id-source: derived
put:
description: 'Set the PIN code for a resource policy. Setting the PIN code to null will remove it. Deprecated: use POST instead.'
deprecated: true
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
pincode:
anyOf:
- type: string
pattern: ^\d{6}$
- {}
required:
- pincode
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 resource policy by resource policy id pincode
x-summary-source: derived
operationId: putResourcePolicyByResourcePolicyIdPincode
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/header-auth:
post:
description: Set or update the header authentication for a resource policy. If user and password is not provided, it will remove the header authentication.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
headerAuth:
type:
- object
- 'null'
properties:
user:
type: string
minLength: 4
maxLength: 100
password:
type: string
minLength: 4
maxLength: 100
extendedCompatibility:
type: boolean
required:
- user
- password
- extendedCompatibility
required:
- headerAuth
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 resource policy by resource policy id header auth
x-summary-source: derived
operationId: postResourcePolicyByResourcePolicyIdHeaderAuth
x-operation-id-source: derived
put:
description: 'Set or update the header authentication for a resource policy. If user and password is not provided, it will remove the header authentication. Deprecated: use POST instead.'
deprecated: true
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
headerAuth:
type:
- object
- 'null'
properties:
user:
type: string
minLength: 4
maxLength: 100
password:
type: string
minLength: 4
maxLength: 100
extendedCompatibility:
type: boolean
required:
- user
- password
- extendedCompatibility
required:
- headerAuth
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 resource policy by resource policy id header auth
x-summary-source: derived
operationId: putResourcePolicyByResourcePolicyIdHeaderAuth
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/whitelist:
post:
description: Set email whitelist for a resource policy. This will replace all existing emails.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
emailWhitelistEnabled:
type: boolean
emails:
type: array
items:
anyOf:
- type: string
format: email
- type: string
pattern: ^\*@[\w.-]+\.[a-zA-Z]{2,}$
required:
- emailWhitelistEnabled
- emails
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 resource policy by resource policy id whitelist
x-summary-source: derived
operationId: postResourcePolicyByResourcePolicyIdWhitelist
x-operation-id-source: derived
put:
description: 'Set email whitelist for a resource policy. This will replace all existing emails. Deprecated: use POST instead.'
deprecated: true
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
emailWhitelistEnabled:
type: boolean
emails:
type: array
items:
anyOf:
- type: string
format: email
- type: string
pattern: ^\*@[\w.-]+\.[a-zA-Z]{2,}$
required:
- emailWhitelistEnabled
- emails
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 resource policy by resource policy id whitelist
x-summary-source: derived
operationId: putResourcePolicyByResourcePolicyIdWhitelist
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/rules:
post:
description: Set all rules for a resource policy at once. This will replace all existing rules.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
applyRules:
type: boolean
rules:
type: array
items:
type: object
properties:
ruleId:
type: integer
exclusiveMinimum: 0
action:
type: string
enum:
- ACCEPT
- DROP
- PASS
description: rule action
match:
type: string
enum:
- CIDR
- IP
- PATH
- COUNTRY
- COUNTRY_IS_NOT
- ASN
- REGION
- METHOD
description: rule match
value:
type: string
minLength: 1
priority:
type: integer
description: Rule priority
enabled:
type: boolean
required:
- action
- match
- value
- priority
additionalProperties: false
required:
- applyRules
- rules
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 resource policy by resource policy id rules
x-summary-source: derived
operationId: postResourcePolicyByResourcePolicyIdRules
x-operation-id-source: derived
put:
description: 'Set all rules for a resource policy at once. This will replace all existing rules. Deprecated: use POST instead.'
deprecated: true
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
applyRules:
type: boolean
rules:
type: array
items:
type: object
properties:
ruleId:
type: integer
exclusiveMinimum: 0
action:
type: string
enum:
- ACCEPT
- DROP
- PASS
description: rule action
match:
type: string
enum:
- CIDR
- IP
- PATH
- COUNTRY
- COUNTRY_IS_NOT
- ASN
- REGION
- METHOD
description: rule match
value:
type: string
minLength: 1
priority:
type: integer
description: Rule priority
enabled:
type: boolean
required:
- action
- match
- value
- priority
additionalProperties: false
required:
- applyRules
- rules
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 resource policy by resource policy id rules
x-summary-source: derived
operationId: putResourcePolicyByResourcePolicyIdRules
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/mtls/certificate:
put:
description: Add a trusted CA certificate that clients must present a certificate signed by when mTLS is enabled on a resource policy. Accepts a PEM bundle; each certificate in the bundle is stored separately.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 255
certificate:
type: string
minLength: 1
maxLength: 100000
required:
- certificate
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 resource policy by resource policy id mtls certificate
x-summary-source: derived
operationId: putResourcePolicyByResourcePolicyIdMtlsCertificate
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/mtls/certificates:
get:
description: List the trusted CA certificates for a resource policy's mTLS.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
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: Get resource policy by resource policy id mtls certificates
x-summary-source: derived
operationId: getResourcePolicyByResourcePolicyIdMtlsCertificates
x-operation-id-source: derived
servers:
- url: /v1
/resource-policy/{resourcePolicyId}/mtls/certificate/{mtlsCertificateId}:
delete:
description: Remove a trusted CA certificate from a resource policy. If it is the last one, mTLS is disabled on the policy since it can no longer verify any client.
tags:
- Public Resource Policy (Legacy)
security:
- Bearer Auth: []
parameters:
- schema:
type: string
required: true
name: resourcePolicyId
in: path
- schema:
type: integer
exclusiveMinimum: 0
required: true
name: mtlsCertificateId
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 resource policy by resource policy id mtls certificate by mtls…
x-summary-source: derived
operationId: deleteResourcePolicyByResourcePolicyIdMtlsCertificateByMtlsCertificateId
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