Commit Attachment Upload
Changed onFinalizes an upload after the file bytes have been PUT to the signed upload URL. Verifies the object landed in storage before the attachment starts describing the new content. Committing an already-committed attachment is a no-op.
post/attachments/{attachmentId}/commit
Request
- Base URLhttps://api2.scorecard.io/api/v2
- AuthHTTP bearer
Path parameters
attachmentIdstring uuid required
Example:3fa85f64-5717-4562-b3fc-2c963f66afa6
The ID of the Attachment to commit.
Response
The committed attachment.
Example response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sessionId": "c59e5bd0-e5eb-4bf0-a08a-01f7e8f712c7",
"filePath": "/tmp/report.pdf",
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}Changes
- info
endpoint added
- info