Skip to main content

GET Uploaded Parts

Overview


The following table contains important information about the GET method in regards to retrieve uploaded parts.

GET Uploaded Parts
MethodGET
URL or Endpoint/api/projects/projectId/uploads/url/multipart/requestKey/parts
HeadersAuthorization
ParametersrequestKey, projectId
BodyNot applicable

The description of the URL parameter is as follows:

requestKeyURL Parameter
URL Parameter NamerequestKey
MandatoryYes
Typestring
DescriptionKey that is provided after a successful upload
projectId URL Parameter
URL Parameter NameprojectId
MandatoryYes
Typestring
DescriptionUnique Id of the project.

Request Body

The GET request does not have a request body

Response

{
"success": true,
"errors": [],
"messages": [],
"result": [
{
"size": 23,
"lastModified": "2024-10-29T09:53:22+01:00",
"partNumber": 3,
"eTag": "eTag"
}
],
"resultInfo": null,
"statusCode": 200
}

The description to the fields in the code are written in the table below.

Parameter NameTypeDescription
successboolIf the response is successful, it will return true. Otherwise, it will return false.
errorsarray[string]List of errors, if any occurred during the request.
messagesarray[string]Response messages from the back-end.
resultarray[Object]List containing details of the processed file parts.
sizeintegerThe size of the file part in bytes.
lastModifiedstringThe date and time when the file part was last modified.
partNumberintegerThe sequence number of the file part.
eTagstringAn entity tag (eTag) representing the unique identifier for the file part’s content.
resultInfostringAdditional information about the result, if any.
statusCodeinteger ($int32)The HTTP status code of the response.

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