短.在线 MCP
An official MCP server for the 短.在线 URL shortening service. It allows AI agents to create short URLs, generate QR codes, resolve short links, and manage link batches using OAuth or API keys. The server exposes tools like shorten_url, create_qr, and resolve_short_url, enabling automation of link management tasks directly within agent workflows.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://xn--s7y.xn--3ds443g/mcpWhat its tools do
17 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Create short URLs programmatically
- Generate QR codes for links
- Resolve short URLs to their original destinations
- Manage bulk link creation
Protocol and capabilities
- Server
- duan-online 1.7.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 17 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
17 advertised
shorten_url — URL shortener · 短链接(短.在线)
为 HTTP 或 HTTPS 目标地址创建一条短链。需要已注册账号。重试必须复用相同的 idempotency_key。PREMIUM_ALIAS。 Create one HTTP or HTTPS short link (URL shortener / 短网址). A registered account is required. Retry with the same idempotency_key. PREMIUM_ALIAS.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"url": "https://example.com/notes",
"alias": "notes",
"title": "Notes",
"locale": "en",
"idempotency_key": "example-create-1"
}
],
"required": [
"url",
"idempotency_key"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "HTTP or HTTPS. Do not send longUrl."
},
"alias": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "No customSlug; lowercased."
},
"title": {
"type": "string",
"maxLength": 256,
"description": "Optional title."
},
"locale": {
"type": "string",
"description": "en or zh-CN. Aliases zh-cn, zh-Hans, zh-hans, zh_Hans, zh_hans become zh-CN. Rejects Traditional Chinese, EN, ZH-CN, and bare zh. Blank is en. Does not rewrite URLs, names, or location. Routes stay /zh-cn."
},
"idempotency_key": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "Unique client key. Replays the stored result for 24h."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"state",
"short_url",
"short_url_ascii",
"destination",
"qr_tracking_url",
"qr_url",
"created_at",
"status_url"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"state": {
"type": "string",
"const": "active"
},
"qr_url": {
"type": "string"
},
"short_url": {
"type": "string"
},
"created_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
},
"destination": {
"type": "string"
},
"qr_tracking_url": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"state",
"created_at",
"status_url",
"error",
"message"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"error": {
"type": "string",
"const": "LINK_QUARANTINED"
},
"state": {
"type": "string",
"const": "quarantined"
},
"message": {
"type": "string"
},
"created_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"plans_url": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"resend_path": {
"type": "string",
"description": "Where to resend verification email if this would raise the account's limits."
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"replay"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"replay": {},
"request_id": {
"type": "string"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}shorten_urls — Batch shorten · 批量短链(短.在线)
按 client_ref 对应,一次创建多条短链,可部分成功。需已注册账号。 Create several short links in one call, matched by client_ref. Partial success is allowed. A registered account is required.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"items": [
{
"url": "https://example.com/notes",
"alias": "notes",
"title": "Notes",
"locale": "zh-cn",
"client_ref": "item-1"
}
],
"idempotency_key": "example-batch-1"
}
],
"required": [
"items",
"idempotency_key"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"client_ref",
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "HTTP or HTTPS. Do not send longUrl."
},
"alias": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "No customSlug; lowercased."
},
"title": {
"type": "string",
"maxLength": 256
},
"locale": {
"type": "string",
"description": "en or zh-CN. Aliases zh-cn, zh-Hans, zh-hans, zh_Hans, zh_hans become zh-CN. Rejects Traditional Chinese, EN, ZH-CN, and bare zh. Blank is en. Does not rewrite URLs, names, or location. Routes stay /zh-cn."
},
"client_ref": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Do not join on array index. The link_created event stores client_ref only when it is 1 to 64 characters matching [A-Za-z0-9._:-]. link_create_failed uses the same rule; any other value is omitted."
}
}
},
"maxItems": 100,
"minItems": 1,
"description": "One link each."
},
"idempotency_key": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "Unique client key. Replays the stored result for 24h."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"batch_id",
"batch_mode",
"ok_count",
"fail_count",
"results"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"client_ref",
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"problem": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"retryable": {
"type": "boolean"
},
"client_ref": {
"type": "string"
}
},
"additionalProperties": false
}
},
"batch_id": {
"type": "string"
},
"ok_count": {
"type": "number"
},
"batch_mode": {
"type": "string",
"const": "sync"
},
"fail_count": {
"type": "number"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"plans_url": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"resend_path": {
"type": "string",
"description": "Where to resend verification email if this would raise the account's limits."
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"request_id": {
"type": "string"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}get_link — Get link · 查询单条链接(短.在线)
按 id 查询当前授权账号拥有的链接。需要已注册账号。公开状态查询用 resolve_short_url。 Fetch one owned link by id. A registered account is required. For a public status check, use resolve_short_url.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"id": "example"
}
],
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Short code or link id."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"state",
"created_at",
"status_url",
"short_url",
"short_url_ascii",
"destination"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"state": {
"type": "string",
"const": "active"
},
"short_url": {
"type": "string"
},
"created_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
},
"destination": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"state",
"created_at",
"status_url",
"type",
"title",
"code"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"state": {
"enum": [
"quarantined",
"disabled",
"blocked",
"expired"
],
"type": "string"
},
"title": {
"type": "string"
},
"created_at": {
"type": "string"
},
"expired_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}resolve_short_url — Inspect short link · 查询本站短链(短.在线)
查询本站短码或本站短链的已保存状态;仅 active 时返回目标地址。无需账号。不查询其他短链服务;结果不是安全结论。 Look up a 短.在线 code or short URL. Returns saved state, and the destination only when active. No account required. Does not look up other shorteners. Not a security verdict.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"url": "https://xn--s7y.xn--3ds443g/example"
},
{
"code": "example"
}
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Not with code."
},
"code": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Not with url."
}
},
"additionalProperties": {}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"state",
"created_at",
"status_url",
"short_url",
"short_url_ascii",
"destination"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"state": {
"type": "string",
"const": "active"
},
"short_url": {
"type": "string"
},
"created_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
},
"destination": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"state",
"created_at",
"status_url",
"type",
"title",
"code"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"state": {
"enum": [
"quarantined",
"disabled",
"blocked",
"expired"
],
"type": "string"
},
"title": {
"type": "string"
},
"created_at": {
"type": "string"
},
"expired_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}create_qr — QR code · 二维码图片(短.在线)
为已有短链返回二维码。新目标须先 shorten_url 再调用本工具。需已注册的所有者。不新建短链,不抓取目标地址。编码带 ?s=qr 的 ASCII 短链,与 GET /v1/links/{id}/qr 相同。image_url 不是 API 密钥、OAuth 令牌或会话。 QR for an existing short link you own. For a new destination, call shorten_url first, then create_qr. Does not create a link or fetch the destination. Encodes the ASCII short link with ?s=qr, same as GET /v1/links/{id}/qr. image_url is not an API key, OAuth token, or session.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"id": "example"
},
{
"short_url": "https://xn--s7y.xn--3ds443g/example"
},
{
"id": "example",
"size": 512,
"format": "png"
}
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Not with short_url"
},
"size": {
"anyOf": [
{
"type": "number",
"const": 256
},
{
"type": "number",
"const": 512
},
{
"type": "number",
"const": 1024
}
],
"description": "PNG side."
},
"format": {
"enum": [
"png",
"svg"
],
"type": "string",
"description": "Default png 512. svg is not an image block and ignores size."
},
"short_url": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Not with id"
}
},
"additionalProperties": false
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"state",
"short_url",
"short_url_ascii",
"qr_tracking_url",
"status_url",
"host_display",
"mime_type",
"pixel_size",
"image_available"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"state": {
"type": "string",
"const": "active"
},
"image_url": {
"type": "string",
"description": "Omitted if unsigned."
},
"mime_type": {
"type": "string",
"const": "image/png"
},
"short_url": {
"type": "string"
},
"pixel_size": {
"anyOf": [
{
"type": "number",
"const": 256
},
{
"type": "number",
"const": 512
},
{
"type": "number",
"const": 1024
}
]
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
},
"host_display": {
"type": "string"
},
"image_available": {
"type": "boolean",
"const": true
},
"qr_tracking_url": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
},
"image_url_expires_at": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"state",
"short_url",
"short_url_ascii",
"qr_tracking_url",
"status_url",
"host_display",
"mime_type",
"pixel_size",
"image_available"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"state": {
"type": "string",
"const": "active"
},
"image_url": {
"type": "string",
"description": "Omitted if unsigned."
},
"mime_type": {
"type": "string",
"const": "image/svg+xml"
},
"short_url": {
"type": "string"
},
"pixel_size": {
"type": "null"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
},
"host_display": {
"type": "string"
},
"image_available": {
"type": "boolean",
"const": false
},
"qr_tracking_url": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
},
"image_url_expires_at": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"message",
"type",
"title",
"code",
"retryable"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"state": {
"enum": [
"quarantined",
"disabled",
"blocked",
"expired"
],
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"image_available": {
"type": "boolean",
"const": false
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}get_links — List links · 列出链接(短.在线)
列出当前账号拥有的短链。cursor 与 limit 同 GET /v1/links。需要 links:read。 List links this account owns. cursor and limit match GET /v1/links. Requires links:read.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"limit": 20
},
{
"limit": 50,
"cursor": "MA"
}
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, an integer from 1 to 100. Default 50. Same as GET /v1/links."
},
"cursor": {
"type": "string",
"description": "Page cursor from next_cursor. Omit for the first page."
}
}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ok",
"request_id",
"items",
"next_cursor"
],
"properties": {
"ok": {
"type": "boolean"
},
"code": {
"type": "string"
},
"tool": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"state",
"created_at",
"status_url",
"request_id"
],
"properties": {
"id": {
"type": "string"
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"state": {
"enum": [
"active",
"quarantined",
"disabled",
"blocked",
"expired"
],
"type": "string"
},
"title": {
"type": "string"
},
"short_url": {
"type": "string"
},
"created_at": {
"type": "string"
},
"expired_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
},
"destination": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
}
},
"additionalProperties": false
}
},
"title": {
"type": "string"
},
"feature": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"resend_path": {
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_link_analytics — Link analytics · 链接统计(短.在线)
汇总点击统计。period 为 7d、30d 或 90d,截至昨天。clicks 是窗口内全部已存储点击,含机器人,不是人数。qr_clicks 只计人类且带二维码标记的点击,不含机器人。少于 5 次并入 other。 Aggregate click statistics. period is 7d, 30d, or 90d, ending yesterday. clicks counts every stored click row in the window, including bots, and is not a count of people. qr_clicks counts human QR-tagged clicks only. Counts under 5 fold into other. Country data: IP Geolocation by DB-IP (https://db-ip.com), CC BY 4.0. If you show country data, show this credit.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"id": "example",
"period": "30d"
}
],
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Short code of a link you own."
},
"period": {
"enum": [
"7d",
"30d",
"90d"
],
"type": "string",
"description": "7d, 30d, or 90d. Free can use 7d. Pro and Business can use 7d, 30d, and 90d. Omit for the plan default."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"id",
"period",
"from",
"to",
"totals",
"timeseries",
"top",
"data_through",
"note",
"attribution"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean",
"const": true
},
"to": {
"type": "string"
},
"top": {
"type": "object",
"required": [
"countries",
"referrer_hosts",
"devices",
"os",
"browsers",
"utm_sources"
],
"properties": {
"os": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"clicks"
],
"properties": {
"value": {
"type": "string"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human clicks. Bots and HEAD requests are excluded. Not a count of people."
}
},
"additionalProperties": false
}
},
"devices": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"clicks"
],
"properties": {
"value": {
"type": "string"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human clicks. Bots and HEAD requests are excluded. Not a count of people."
}
},
"additionalProperties": false
}
},
"browsers": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"clicks"
],
"properties": {
"value": {
"type": "string"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human clicks. Bots and HEAD requests are excluded. Not a count of people."
}
},
"additionalProperties": false
}
},
"countries": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"clicks"
],
"properties": {
"value": {
"type": "string"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human clicks. Bots and HEAD requests are excluded. Not a count of people."
}
},
"additionalProperties": false
}
},
"utm_sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"clicks"
],
"properties": {
"value": {
"type": "string"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human clicks. Bots and HEAD requests are excluded. Not a count of people."
}
},
"additionalProperties": false
}
},
"referrer_hosts": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"clicks"
],
"properties": {
"value": {
"type": "string"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human clicks. Bots and HEAD requests are excluded. Not a count of people."
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"from": {
"type": "string"
},
"note": {
"type": "string"
},
"period": {
"enum": [
"7d",
"30d",
"90d"
],
"type": "string"
},
"totals": {
"type": "object",
"required": [
"clicks",
"human_clicks",
"bot_clicks",
"qr_clicks"
],
"properties": {
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Stored click rows in the window, including bots. Not a count of people."
},
"qr_clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human QR-tagged clicks. Bots are excluded. Not scans and not a count of people."
},
"bot_clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Stored click rows that are not human clicks."
},
"human_clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human clicks. Bots and HEAD requests are excluded. Not a count of people."
}
},
"additionalProperties": false
},
"request_id": {
"type": "string"
},
"timeseries": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"clicks",
"human_clicks",
"bot_clicks",
"qr_clicks"
],
"properties": {
"date": {
"type": "string"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Stored click rows in the window, including bots. Not a count of people."
},
"qr_clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human QR-tagged clicks. Bots are excluded. Not scans and not a count of people."
},
"bot_clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Stored click rows that are not human clicks."
},
"human_clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Human clicks. Bots and HEAD requests are excluded. Not a count of people."
}
},
"additionalProperties": false
}
},
"attribution": {
"type": "string"
},
"data_through": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"error",
"code",
"feature",
"tool",
"message",
"request_id",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string",
"const": "FEATURE_NOT_AVAILABLE"
},
"tool": {
"type": "string"
},
"error": {
"type": "string",
"const": "FEATURE_NOT_AVAILABLE"
},
"feature": {
"type": "string"
},
"message": {
"type": "string"
},
"plans_url": {
"type": "string"
},
"retryable": {
"type": "boolean",
"const": false
},
"request_id": {
"type": "string"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}update_link — Update link · 更新链接(短.在线)
修改自有短链的标题或目标地址。需要 links:update。未验证邮箱或注册未满 7 天只能改标题。不会重新启用短链。PREMIUM_ALIAS_FROZEN。 Change the title or destination of a link you own. Requires links:update. Unverified email or an account under 7 days old can change the title only. Does not re-enable a link. PREMIUM_ALIAS_FROZEN.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"id": "example",
"title": "Notes"
},
{
"id": "example",
"destination": "https://example.com/notes"
}
],
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Short code or link id you own."
},
"title": {
"type": "string",
"maxLength": 256,
"description": "Title, at most 256 characters. Stored on the short link."
},
"destination": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "New http(s) destination. Refused when the email is unverified, the account is under 7 days old, the link is disabled, quarantined, or reported, or the 24 hour cap is used."
}
}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ok",
"request_id"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"code": {
"type": "string"
},
"tool": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"state": {
"enum": [
"active",
"quarantined",
"disabled",
"blocked",
"expired"
],
"type": "string"
},
"title": {
"type": "string"
},
"feature": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"short_url": {
"type": "string"
},
"created_at": {
"type": "string"
},
"expired_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
},
"destination": {
"type": "string"
},
"resend_path": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}disable_link — Disable link · 停用短链(短.在线)
停用你拥有的短链,停用后短链和二维码将停止跳转。需要 links:disable。幂等。 Disable a link you own: its short link and QR code stop redirecting. Requires links:disable. Idempotent.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"id": "example"
}
],
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Short code or link id for a link you own."
}
}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ok",
"request_id"
],
"properties": {
"id": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"code": {
"type": "string"
},
"tool": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"state": {
"enum": [
"active",
"quarantined",
"disabled",
"blocked",
"expired"
],
"type": "string"
},
"title": {
"type": "string"
},
"feature": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"short_url": {
"type": "string"
},
"created_at": {
"type": "string"
},
"expired_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_url": {
"type": "string"
},
"destination": {
"type": "string"
},
"resend_path": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}begin_registration — Connect account · 浏览器注册入口(短.在线)
客户端无法启动 OAuth 时的后备入口。返回浏览器注册链接。不创建账号,不接收密码,也不代用户同意条款。 Fallback when the client cannot start OAuth. Returns a browser registration link. Does not create an account, accept a password, or accept terms.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"locale": "en"
},
{
"locale": "zh-CN"
}
],
"properties": {
"locale": {
"enum": [
"en",
"zh-CN",
"zh-cn",
"zh-Hans",
"zh-hans",
"zh_Hans",
"zh_hans"
],
"type": "string",
"description": "Blank is en. Does not rewrite URLs, translate parameter names, or use location. Rejects Traditional Chinese, EN, ZH-CN, and bare zh."
}
},
"additionalProperties": false
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"signup_url",
"expires_at",
"resume_token"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"expires_at": {
"type": "string"
},
"request_id": {
"type": "string"
},
"signup_url": {
"type": "string"
},
"resume_token": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}prepare_campaign_pack — Prepare campaign pack · 准备短链接和二维码文件(短.在线)
从你提供的表格行生成短链接和二维码文件:分配 item_id、创建短链接与二维码;与你提供的表格行一一对应,每个二维码编码的都是对应的返回短链接;并返回可下载文件。部分行可成功。需要已注册账号。 Prepare short links and QR files from tabular rows you provide: assign item_id, create short links and QR codes; match each item to the row you provided so that each QR encodes the returned short link; and return downloadable files. Mixed per-item outcomes allowed. Registered account required.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"items": [
{
"label": "Row A",
"destination_url": "https://example.com/a"
}
],
"options": {
"png_size": 512,
"qr_format": "png"
}
}
],
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"item_id": {
"type": "string"
},
"language": {
"type": "string"
},
"destination_url": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"maxItems": 10000,
"minItems": 1,
"description": "Rows with optional destination_url, label, language, and item_id. At most 10000 rows, 64 columns, 8192 characters per field, and 1048576 bytes of items JSON. These are request limits, not a plan allowance. A row may omit destination_url; that row is an exception in the pack, not a rejected request."
},
"options": {
"type": "object",
"properties": {
"png_size": {
"anyOf": [
{
"type": "number",
"const": 256
},
{
"type": "number",
"const": 512
},
{
"type": "number",
"const": 1024
}
]
},
"setup_id": {
"type": "string"
},
"qr_format": {
"enum": [
"png",
"svg"
],
"type": "string"
},
"preferred_language": {
"type": "string"
}
},
"description": "QR sizing, format, language, or a saved setup_id to apply."
},
"recovery_campaign_id": {
"type": "string",
"description": "Optional prior campaign_id when re-running a pack in recovery mode."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"campaign_id",
"ready_to_share",
"items",
"artifacts"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"item_id",
"status",
"checks",
"changed_since_previous"
],
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"check",
"passed"
],
"properties": {
"check": {
"type": "string"
},
"detail": {
"type": "string"
},
"passed": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"item_id": {
"type": "string"
},
"exception": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"qr_filename": {
"type": "string"
},
"qr_revision": {
"type": "number"
},
"returned_url": {
"type": "string"
},
"qr_tracking_url": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
},
"qr_filename_alias": {
"type": "string"
},
"short_url_unicode": {
"type": "string"
},
"changed_since_previous": {
"type": "object",
"required": [
"changed"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"changed": {
"type": "boolean"
},
"baseline": {
"enum": [
"first_version"
],
"type": "string",
"description": "Present when this campaign has no earlier pack for this item_id."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"artifacts": {
"type": "object",
"required": [
"spreadsheet_csv",
"spreadsheet_notice",
"index_markdown",
"exception_list_markdown",
"ownership_instructions_slot_markdown",
"qr_files"
],
"properties": {
"qr_files": {
"type": "array",
"items": {
"type": "object",
"required": [
"filename",
"item_id",
"mime_type",
"bytes_base64"
],
"properties": {
"item_id": {
"type": "string"
},
"filename": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"bytes_base64": {
"type": "string"
},
"alias_filename": {
"type": "string"
}
},
"additionalProperties": false
}
},
"index_markdown": {
"type": "string"
},
"spreadsheet_csv": {
"type": "string"
},
"spreadsheet_notice": {
"type": "object",
"required": [
"en",
"zh-CN"
],
"properties": {
"en": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
},
"additionalProperties": false
},
"exception_list_markdown": {
"type": "string"
},
"ownership_instructions_slot_markdown": {
"type": "string"
}
},
"additionalProperties": false
},
"request_id": {
"type": "string"
},
"campaign_id": {
"type": "string"
},
"ready_to_share": {
"type": "boolean"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}get_campaign_pack — Get campaign pack · 查询短链接和二维码文件(短.在线)
按 campaign_id 返回活动状态、逐行结果与可下载文件。需要已注册账号。 Fetch campaign state, per-item results, and downloadable files by campaign_id. Registered account required.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"campaign_id": "cmp_example"
}
],
"required": [
"campaign_id"
],
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign pack id returned from prepare or retry."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"campaign_id",
"ready_to_share",
"items",
"artifacts"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"item_id",
"status",
"checks",
"changed_since_previous"
],
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"check",
"passed"
],
"properties": {
"check": {
"type": "string"
},
"detail": {
"type": "string"
},
"passed": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"item_id": {
"type": "string"
},
"exception": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"qr_filename": {
"type": "string"
},
"qr_revision": {
"type": "number"
},
"returned_url": {
"type": "string"
},
"qr_tracking_url": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
},
"qr_filename_alias": {
"type": "string"
},
"short_url_unicode": {
"type": "string"
},
"changed_since_previous": {
"type": "object",
"required": [
"changed"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"changed": {
"type": "boolean"
},
"baseline": {
"enum": [
"first_version"
],
"type": "string",
"description": "Present when this campaign has no earlier pack for this item_id."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"artifacts": {
"type": "object",
"required": [
"spreadsheet_csv",
"spreadsheet_notice",
"index_markdown",
"exception_list_markdown",
"ownership_instructions_slot_markdown",
"qr_files"
],
"properties": {
"qr_files": {
"type": "array",
"items": {
"type": "object",
"required": [
"filename",
"item_id",
"mime_type",
"bytes_base64"
],
"properties": {
"item_id": {
"type": "string"
},
"filename": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"bytes_base64": {
"type": "string"
},
"alias_filename": {
"type": "string"
}
},
"additionalProperties": false
}
},
"index_markdown": {
"type": "string"
},
"spreadsheet_csv": {
"type": "string"
},
"spreadsheet_notice": {
"type": "object",
"required": [
"en",
"zh-CN"
],
"properties": {
"en": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
},
"additionalProperties": false
},
"exception_list_markdown": {
"type": "string"
},
"ownership_instructions_slot_markdown": {
"type": "string"
}
},
"additionalProperties": false
},
"request_id": {
"type": "string"
},
"campaign_id": {
"type": "string"
},
"ready_to_share": {
"type": "boolean"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}retry_campaign_pack — Retry campaign pack · 重试短链接和二维码文件(短.在线)
在同一 campaign_id 内按 item_id 重试失败项。不接收替换行,也不重复已成功的项。更正后的行请再次调用 prepare_campaign_pack,并带上 recovery_campaign_id 与原来的 item_id。需要已注册账号。 Retry failed item_id values in the same campaign_id. Does not accept replacement rows and does not recreate items that already succeeded. Submit a corrected row with prepare_campaign_pack, recovery_campaign_id, and the same item_id. Registered account required.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"item_ids": [
"item_1"
],
"campaign_id": "cmp_example"
}
],
"required": [
"campaign_id"
],
"properties": {
"item_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10000,
"description": "Item ids to retry. Not replacement rows. Omit to retry failed items that are not missing-input exceptions."
},
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign pack id to retry."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"campaign_id",
"ready_to_share",
"items",
"artifacts"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"item_id",
"status",
"checks",
"changed_since_previous"
],
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"check",
"passed"
],
"properties": {
"check": {
"type": "string"
},
"detail": {
"type": "string"
},
"passed": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"item_id": {
"type": "string"
},
"exception": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"qr_filename": {
"type": "string"
},
"qr_revision": {
"type": "number"
},
"returned_url": {
"type": "string"
},
"qr_tracking_url": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
},
"qr_filename_alias": {
"type": "string"
},
"short_url_unicode": {
"type": "string"
},
"changed_since_previous": {
"type": "object",
"required": [
"changed"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"changed": {
"type": "boolean"
},
"baseline": {
"enum": [
"first_version"
],
"type": "string",
"description": "Present when this campaign has no earlier pack for this item_id."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"artifacts": {
"type": "object",
"required": [
"spreadsheet_csv",
"spreadsheet_notice",
"index_markdown",
"exception_list_markdown",
"ownership_instructions_slot_markdown",
"qr_files"
],
"properties": {
"qr_files": {
"type": "array",
"items": {
"type": "object",
"required": [
"filename",
"item_id",
"mime_type",
"bytes_base64"
],
"properties": {
"item_id": {
"type": "string"
},
"filename": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"bytes_base64": {
"type": "string"
},
"alias_filename": {
"type": "string"
}
},
"additionalProperties": false
}
},
"index_markdown": {
"type": "string"
},
"spreadsheet_csv": {
"type": "string"
},
"spreadsheet_notice": {
"type": "object",
"required": [
"en",
"zh-CN"
],
"properties": {
"en": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
},
"additionalProperties": false
},
"exception_list_markdown": {
"type": "string"
},
"ownership_instructions_slot_markdown": {
"type": "string"
}
},
"additionalProperties": false
},
"request_id": {
"type": "string"
},
"campaign_id": {
"type": "string"
},
"ready_to_share": {
"type": "boolean"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}save_campaign_setup — Save campaign setup · 保存活动准备设置(短.在线)
保存可复用的列映射与输出格式;不复制链接身份。需要已注册账号。 Save reusable column mappings and output format; does not copy link identities. Registered account required.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"output_format": {
"png_size": 512,
"qr_format": "png"
},
"column_mappings": {
"label_column": "title",
"destination_column": "url"
}
}
],
"properties": {
"output_format": {
"type": "object",
"properties": {
"png_size": {
"anyOf": [
{
"type": "number",
"const": 256
},
{
"type": "number",
"const": 512
},
{
"type": "number",
"const": 1024
}
]
},
"qr_format": {
"enum": [
"png",
"svg"
],
"type": "string"
},
"preferred_language": {
"type": "string"
}
},
"description": "Default QR output options for this setup."
},
"column_mappings": {
"type": "object",
"properties": {
"label_column": {
"type": "string"
},
"retain_columns": {
"type": "array",
"items": {
"type": "string"
}
},
"destination_column": {
"type": "string"
}
},
"description": "Spreadsheet column mapping for reusable setups."
},
"naming_convention": {
"type": "string",
"description": "Filename or label pattern for QR files."
},
"preferred_language": {
"type": "string",
"description": "Default locale for generated copy."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"setup_id",
"setup"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"setup": {
"type": "object",
"required": [
"setup_id",
"user_id",
"column_mappings",
"created_at"
],
"properties": {
"user_id": {
"type": "string"
},
"setup_id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"output_format": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"column_mappings": {
"type": "object",
"properties": {
"label_column": {
"type": "string"
},
"retain_columns": {
"type": "array",
"items": {
"type": "string"
}
},
"destination_column": {
"type": "string"
}
},
"additionalProperties": false
},
"naming_convention": {
"type": "string"
},
"preferred_language": {
"type": "string"
}
},
"additionalProperties": false
},
"setup_id": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}apply_campaign_setup — Apply campaign setup · 应用活动准备设置(短.在线)
将 setup 应用于新活动或显式恢复。新活动产生新 campaign/item 身份。需要已注册账号。 Apply a setup to a new campaign or explicit recovery. New campaigns get new identities. Registered account required.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"mode": "new_campaign",
"items": [
{
"destination_url": "https://example.com/b"
}
],
"setup_id": "setup_example"
}
],
"required": [
"setup_id",
"items"
],
"properties": {
"mode": {
"enum": [
"new_campaign",
"recovery"
],
"type": "string",
"description": "new_campaign or recovery."
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"item_id": {
"type": "string"
},
"language": {
"type": "string"
},
"destination_url": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
},
"maxItems": 10000,
"minItems": 1,
"description": "Rows to ingest using the saved column mapping. At most 10000 rows, 64 columns, 8192 characters per field, and 1048576 bytes of items JSON. These are request limits, not a plan allowance. A row may omit destination_url; that row is an exception in the pack, not a rejected request."
},
"setup_id": {
"type": "string",
"minLength": 1,
"description": "Saved setup id from save_campaign_setup."
},
"recovery_campaign_id": {
"type": "string",
"description": "Required when mode is recovery."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"campaign_id",
"ready_to_share",
"items",
"artifacts"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"item_id",
"status",
"checks",
"changed_since_previous"
],
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"check",
"passed"
],
"properties": {
"check": {
"type": "string"
},
"detail": {
"type": "string"
},
"passed": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"item_id": {
"type": "string"
},
"exception": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"qr_filename": {
"type": "string"
},
"qr_revision": {
"type": "number"
},
"returned_url": {
"type": "string"
},
"qr_tracking_url": {
"type": "string"
},
"short_url_ascii": {
"type": "string"
},
"qr_filename_alias": {
"type": "string"
},
"short_url_unicode": {
"type": "string"
},
"changed_since_previous": {
"type": "object",
"required": [
"changed"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"changed": {
"type": "boolean"
},
"baseline": {
"enum": [
"first_version"
],
"type": "string",
"description": "Present when this campaign has no earlier pack for this item_id."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"artifacts": {
"type": "object",
"required": [
"spreadsheet_csv",
"spreadsheet_notice",
"index_markdown",
"exception_list_markdown",
"ownership_instructions_slot_markdown",
"qr_files"
],
"properties": {
"qr_files": {
"type": "array",
"items": {
"type": "object",
"required": [
"filename",
"item_id",
"mime_type",
"bytes_base64"
],
"properties": {
"item_id": {
"type": "string"
},
"filename": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"bytes_base64": {
"type": "string"
},
"alias_filename": {
"type": "string"
}
},
"additionalProperties": false
}
},
"index_markdown": {
"type": "string"
},
"spreadsheet_csv": {
"type": "string"
},
"spreadsheet_notice": {
"type": "object",
"required": [
"en",
"zh-CN"
],
"properties": {
"en": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
},
"additionalProperties": false
},
"exception_list_markdown": {
"type": "string"
},
"ownership_instructions_slot_markdown": {
"type": "string"
}
},
"additionalProperties": false
},
"request_id": {
"type": "string"
},
"campaign_id": {
"type": "string"
},
"ready_to_share": {
"type": "boolean"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}delete_campaign_pack — Delete campaign pack · 删除活动文件包(短.在线)
删除你拥有的活动文件包。其他账号的 id 不会被删除。需要已注册账号。 Delete a campaign pack you own. Another account's id is not deleted. Registered account required.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"campaign_id": "cmp_example"
}
],
"required": [
"campaign_id"
],
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign pack id to delete. Another user's id is not found."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"deleted"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"deleted": {
"type": "boolean",
"const": true
},
"request_id": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}delete_campaign_setup — Delete campaign setup · 删除活动准备设置(短.在线)
删除你保存的活动准备设置。其他账号的 id 不会被删除。需要已注册账号。 Delete a saved campaign setup you own. Another account's id is not deleted. Registered account required.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"examples": [
{
"setup_id": "setup_example"
}
],
"required": [
"setup_id"
],
"properties": {
"setup_id": {
"type": "string",
"minLength": 1,
"description": "Saved setup id to delete. Another user's id is not found."
}
}
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"ok",
"request_id",
"deleted"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"deleted": {
"type": "boolean",
"const": true
},
"request_id": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"request_id",
"error",
"code",
"message",
"type",
"title",
"retryable"
],
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"error": {
"type": "string"
},
"title": {
"type": "string"
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1787 ms
- 95th percentile latency
- 1934 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1950 ms · metadata changed · 17 tool(s)
- · probe · passed · 1624 ms · metadata changed · 15 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http mcp-xn-s7y https://xn--s7y.xn--3ds443g/mcpCodex
codex mcp add mcp-xn-s7y --url https://xn--s7y.xn--3ds443g/mcpCursor
{
"mcpServers": {
"mcp-xn-s7y": {
"url": "https://xn--s7y.xn--3ds443g/mcp"
}
}
}Cline
{
"mcpServers": {
"mcp-xn-s7y": {
"type": "streamableHttp",
"url": "https://xn--s7y.xn--3ds443g/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"mcp-xn-s7y": {
"type": "http",
"url": "https://xn--s7y.xn--3ds443g/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http mcp-xn-s7y https://xn--s7y.xn--3ds443g/mcpClaude Desktop
https://xn--s7y.xn--3ds443g/mcpWindsurf
{
"mcpServers": {
"mcp-xn-s7y": {
"serverUrl": "https://xn--s7y.xn--3ds443g/mcp"
}
}
}Let your agent find its tools
Find servers like 短.在线 MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other developer tools servers
Do you run 短.在线 MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.