Skip to content

단일 업로드 Tier 4

POST/projects/{id}/files/upload.singleCopied!

파일을 단일 요청으로 업로드해요.

최대 업로드 용량

10MB 이하 파일만 업로드할 수 있어요.

접근 가능한 사용자

사용자

Request

Body

filefilerequired
업로드할 파일

Path

idstringrequired
프로젝트 ID

Response

Returns 201 Created.

idstring
생성된 파일 ID

Example

bash
curl -X POST 'https://api.youvico.com/projects/6ba7b810-9dad-11d1-80b4-00c04fd430c8/files/upload.single' \
  -H 'Authorization: Bearer xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...' \
  -F 'file=@design.png'
json
{
  "id": "123e4567-e89b-12d3-a456-426614174000"
}