get_fileset_id

get_fileset_id只读扩展
从分享码/链接获取 fileset_id

Call via POST http://127.0.0.1:3000/get_fileset_id (JSON params as the body) or WebSocket.

Parameters

Param Type Required Default Description
share_code string

Returns (data)

{ fileset_id }:解析出的文件集 ID。

Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.

Field Type Required Description
fileset_id string 文件集 ID
Raw JSON Schema
{
  "type": "object",
  "properties": {
    "fileset_id": {
      "type": "string",
      "description": "文件集 ID"
    }
  },
  "required": [
    "fileset_id"
  ]
}

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/get_fileset_id \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"share_code":""}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.