---
title: "上传接口"
method: POST
path: "/user/profile/file/upload"
tags: ["文件上传接口"]
---

# 上传接口

`POST /user/profile/file/upload`

## Request

- Base URL: `http://api.oloo.live`
- URL: `http://api.oloo.live/user/profile/file/upload`
- Auth: none declared

上传接口

## Query parameters

- `uid` integer, required
- `busType` integer

## Request body

- object
  - `file` string, binary, required: 文件

## Response `200`

success

- AmazonS3DTO
  - `fileSize` integer
  - `fileName` string
  - `fileMd5` string
  - `url` string
  - `filePath` string
  - `fileType` string

---

[API](https://skmtc.dev/oloo/apis/oloo-api.md) - [All operations](https://skmtc.dev/oloo/apis/oloo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oloo/apis/oloo-api/revisions/ada91d3a60e4?raw)
