Skip to main content

Upload Success

Overview


The following table contains important information about the POST method when the action is successful in regards to the upload process.

POST Method
MethodPOST
URL or Endpoint/api/projects/projectId/uploads/success/requestKey
HeadersAuthorization
ParametersprojectId, requestKey
BodyNot Applicable

The description of the URL parameters is as follows:

projectId URL Parameter
URL Parameter NameprojectId
MandatoryYes
Typestring
DescriptionUnique identifier for project
requestKey URL Parameter
URL Parameter NamerequestKey
MandatoryYes
Typestring
DescriptionKey that is provided after a successful upload.

Request Body

The POST method doesn't require a request body.

Response

{
"success": true,
"errors": [],
"messages": [],
"result": {
"downloadPath": "downloadPath",
"contentType": "contentType"
},
"resultInfo": null,
"statusCode": 200
}

Information about the fields that appear when you receive the response are displayed in the table below.

Field NameTypeDescription
successboolIf the response is successful, it will return true. Otherwise, it will return false.
errorsarray[string]Indicates if there was an error.
messagesarray[string]Returns the response message from the back-end.
resultobjectReturns the response object.
downloadPathstringReturns the download path of the video.
contentTypestringSpecifies the content type of the downloaded file.
resultInfostringReturns extra information about the result.
errorsarray[string]Indicates if there was an error.
messagesarray[string]Returns the response message from the back-end.

If the action is successful, the service sends back an HTTP 200 or 201 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed