导出当前用户数据
OpenAPI 契约
- 方法
- GET
- 路径
/api/v1/user/me/export- 认证
- jwtBearer (bearer)
- 响应状态
- 200 400 401 403 429 500
请求与响应 Schema
JSON
{
"requestBody": {},
"responses": {
"200": {
"description": "Account data archive",
"content": {
"application/zip": {
"format": "binary",
"type": "string"
}
}
},
"400": {
"description": "Invalid request",
"content": {
"application/json": {
"$ref": "#/components/schemas/RequestError"
}
}
},
"401": {
"description": "Authentication required or invalid",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"403": {
"description": "Authenticated but not permitted",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"429": {
"description": "Rate limit exceeded",
"content": {
"application/json": {
"$ref": "#/components/schemas/SecurityError"
}
}
},
"500": {
"description": "Unexpected server error",
"content": {
"application/json": {
"$ref": "#/components/schemas/ApiError"
}
}
}
}
}GET /api/v1/user/me/export 仅限 JWT。可选查询参数 workspaceName 用于选择导出名称;未提供时使用当前资料中的工作区。成功响应是 ZIP 下载,带有 Content-Disposition 文件名和 workspace.json 快照。
压缩包包含资料数据、项目、处理器预设和编译任务历史,其中可能含有文件名、消息、配置和账户信息。nfy_ 自动化密钥不能导出这些数据;请安全保存 ZIP,且不要暴露其 URL 或内容。
http
GET /api/v1/user/me/export?workspaceName=example
Authorization: Bearer <access token>