Confirm an upload completed (captures size + content type)
POST /api/assets/{id}/confirm. Confirm an upload completed (captures size + content type). Headless LMS Assets API reference.
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/assets/string/confirm"{ "orgId": "string", "id": "string", "key": "string", "kind": "video", "filename": "string", "contentType": "string", "size": 0, "status": "pending", "uploadedBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}