Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Xn S7y Xn 3ds443g MCP API
version: 1.7.0
contact:
name: 短.在线
url: https://短.在线/security
description: 'Operations tagged MCP across 2 of this provider''s published API definitions: openapi.json, xn-s7y-xn-3ds443g-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://xn--s7y.xn--3ds443g
- url: https://短.在线
tags:
- name: MCP
description: Remote Model Context Protocol server
paths:
/mcp:
get:
operationId: mcpGetNotAllowed
tags:
- MCP
summary: Not allowed
description: GET is not a discovery method and does not start a session. Streamable HTTP messages use POST. The public tool catalog is `tools/list`.
security:
- {}
responses:
'405':
description: Method Not Allowed
headers:
Allow:
schema:
type: string
example: POST
post:
operationId: mcpStreamableHttpPost
tags:
- MCP
summary: Remote MCP (Streamable HTTP POST)
description: 'Model Context Protocol 2026-07-28 Streamable HTTP message endpoint. Not a JSON REST resource — use an MCP client. Public catalog, `resolve_short_url`, and `begin_registration` do not require an account. Account tools require `Authorization: Bearer` with an API key or an OAuth access token (authorization code + PKCE; audience is the MCP resource). A session cookie does not authorize this endpoint. An invalid Bearer is 401 and is not anonymous. See `/.well-known/oauth-protected-resource`.'
security:
- {}
- apiKey: []
- oauth2: []
responses:
'200':
description: MCP protocol response
'401':
description: Unauthorized for account tools (WWW-Authenticate points at protected resource metadata)
'405':
description: Method not used for this verb on other handlers
servers:
- url: https://xn--s7y.xn--3ds443g
- url: https://短.在线
components:
securitySchemes:
sessionCookie:
type: apiKey
in: cookie
name: duan_session
description: Session cookie `duan_session` for the web app. Accepted on owner REST list, update, enable, and QR, and as optional account auth on REST create and batch. Required for POST /api/oauth/consent. Does not authorize POST /mcp. Not a public /v1 login route. Anonymous create does not require this cookie.
apiKey:
type: http
scheme: bearer
bearerFormat: APIKey
description: 'Bearer API key (`Authorization: Bearer <key>`). Dashboard-minted scoped keys with `links:create`, `links:read`, `links:update`, `links:disable`, `analytics:read`, `batches:create`. Not a god-key / `*`. Not an OAuth access token. Accepted on REST `/v1` and on `POST /mcp`. A presented Bearer that does not verify is 401 and is not anonymous access. Missing scope → 403 INSUFFICIENT_SCOPE. Anonymous REST create remains available when the Authorization header is absent.'
oauth2:
type: oauth2
description: 'Authorization code + PKCE S256 for a public client (no client secret). Token endpoint auth method is `none`. Flows are authorization code and refresh only: no client-credentials grant, no implicit grant, and no device code. An omitted scope grants `links:read` only. `links:disable` is granted only when explicitly requested. `analytics:read` is granted only when explicitly requested. Access tokens are sent as `Authorization: Bearer` on `POST /mcp` only and are bound to the canonical MCP resource. REST `/v1` does not accept them.'
flows:
authorizationCode:
authorizationUrl: https://xn--s7y.xn--3ds443g/oauth/authorize
tokenUrl: https://xn--s7y.xn--3ds443g/oauth/token
refreshUrl: https://xn--s7y.xn--3ds443g/oauth/token
scopes:
links:create: Create short links
links:read: Read links you own
links:update: Update links you own
links:disable: Disable links you own
analytics:read: Read aggregate click statistics for your links
batches:create: Create a sync batch of short links
x-refined-from:
- openapi.json
- xn-s7y-xn-3ds443g-openapi.json
x-provenance:
method: harvested
publisher: Arasaka Oy
source: https://xn--s7y.xn--3ds443g/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)