Skip to content

댓글 첨부파일 업로드 완료 Tier 4

POST/api/comment-attachments/:id/upload.completeCopied!

댓글 첨부파일의 멀티파트 업로드를 완료합니다.

업로드를 시작한 사용자만 완료할 수 있습니다.

CLI에서 직접 호출할 수 없는 엔드포인트

CLI는 댓글 첨부파일 업로드 명령을 직접 제공하지 않습니다. SDK 헬퍼를 사용하거나 HTTP 엔드포인트를 직접 호출하세요.

예시

ts
await client.commentAttachments.completeUpload("CA1234567890ABCD", {
  parts: [{ partNumber: 1, eTag: "etag-1" }],
});
bash
curl -X POST 'https://api.youvico.com/api/comment-attachments/CA1234567890ABCD/upload.complete' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "parts": [{ "partNumber": 1, "eTag": "etag-1" }] }'

요청

경로

idstringrequired
댓글 첨부파일 ID

본문

partsarrayrequired

At least 1 item

완료할 업로드 파트 목록
parts[].partNumbernumberrequired

1 or greater

파트 번호

Example: 1

parts[].eTagstringrequired

1-255 characters

스토리지 업로드에서 반환된 ETag

Example: etag-1

응답

204 No Content를 반환합니다.