---
title: "文件上传"
method: POST
path: "/share/v1/common/file/upload/url"
tags: ["ShareFile"]
---

# 文件上传

`POST /share/v1/common/file/upload/url`

前台用户上传文件,目前只支持图片文件上传

## Request body

- V1ShareFileUploadUrlReq
  - `captcha_token` string, required
  - `url` string, required

## Response `200`

OK

- object
  - `data` V1ShareFileUploadUrlResp
    - `key` string
  - `message` string
  - `success` boolean

## Changes

- **2026-02-26** `b2245bae58c0` — 1 info
  - endpoint added
- **2025-10-20** `381889362c45` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/chaitin/apis/panda-wiki-api/changes/share/v1/common/file/upload/url/post.md)

---

[API](https://skmtc.dev/chaitin/apis/panda-wiki-api.md) · [All operations](https://skmtc.dev/chaitin/apis/panda-wiki-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/panda-wiki-api/revisions/c088839a56db/schema)
