Get Upload Session Status
GET/deviceLogger/{token}/uploads/{uploadId}
Base URL: https://api.tinkermode.com
Get the status of an ongoing upload session. The response is an array, with each item corresponding to one part of the upload.
Authentication
This endpoint does not require authentication.
Path parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
token | string | Yes | Authentication token that is passed to device by DDP | |
uploadId | string | Yes | Upload session ID |
Responses
200 Status of upload session is returned.
Content type: application/json
An array of objects with the following shape:
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
index | integer | No | Index of the upload part. | |
size | integer | No | Number of bytes uploaded for the part. |
403 Request failed because of invalid data or denied permission.
Content type: application/json
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
500 An unexpected error has occurred.
Content type: application/json
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
503 The service is temporarily unavailable.
Content type: application/json
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |