---
title: "上传配置图片"
method: POST
path: "/api/v1/upload/config"
tags: ["attachment"]
---

# 上传配置图片

`POST /api/v1/upload/config`

上传系统配置中使用的图片资源，要求具备上传权限。

## Response `200`

OK

- BizGinResponseAttachment
  - `code` integer
  - `data` BizAttachmentDoc
    - `created_at` integer
    - `enable` boolean
    - `ext` string
    - `hash` string
    - `height` integer
    - `id` integer
    - `ip` string
    - `name` string
    - `path` string
    - `size` integer
    - `type` integer
    - `type_id` integer
    - `type_name` string
    - `updated_at` integer
    - `user_id` integer
    - `username` string
    - `width` integer
  - `error` string
  - `message` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/mnt-ltd/apis/moredoc-api.md) · [All operations](https://skmtc.net/mnt-ltd/apis/moredoc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mnt-ltd/moredoc-api/versions/53eb9582e681/schema)
