한국어
프로젝트 댓글에 첨부할 파일의 업로드를 시작합니다.
정보
각 파트를 해당 URL로 업로드한 뒤 업로드 완료를 호출해야 합니다.
curl -X POST 'https://api.youvico.com/api/projects/bdbff5de-96d7-468f-9db0-85fe28bd6b62/comment-attachments/upload.multipart' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "name": "review-note.pdf", "size": 1250000 }'
{ "data": { "id": "CA1234567890ABCD", "parts": [ { "partNumber": 1, "url": "https://files.youvico.com/upload/eyJhbGciOiJFZERTQSIsImtpZCI6..." } ] } }
id
string
name
1-255 characters
Example: review-note.pdf
review-note.pdf
size
number
Integer, 1-1000000000
Example: 1250000
1250000
201 Created를 반환합니다.
201 Created
data
object
data.id
Example: CA1234567890ABCD
CA1234567890ABCD
data.parts
array
data.parts[].partNumber
Example: 1
1
data.parts[].url
Example: https://files.youvico.com/upload/eyJhbGciOiJFZERTQSIsImtpZCI6...
https://files.youvico.com/upload/eyJhbGciOiJFZERTQSIsImtpZCI6...
업로드 시작 (프로젝트)
프로젝트 댓글에 첨부할 파일의 업로드를 시작합니다.
정보
각 파트를 해당 URL로 업로드한 뒤 업로드 완료를 호출해야 합니다.
예시
요청
경로
idstringrequired본문
namestringrequired1-255 characters
Example:
review-note.pdfsizenumberrequiredInteger, 1-1000000000
Example:
1250000응답
201 Created를 반환합니다.dataobjectdata.idstringExample:
CA1234567890ABCDdata.partsarraydata.parts[].partNumbernumberExample:
1data.parts[].urlstringExample:
https://files.youvico.com/upload/eyJhbGciOiJFZERTQSIsImtpZCI6...