SymetryML Documentation
Data sources

Get file upload progress (step 3 of 3, pollable)

Poll for the progress of an in-flight upload started via `upload`. `statusString` is the number of bytes read so far while the upload is in progress, or `1` once complete — polling again after completion returns the "not being uploaded" `400` below, since the completed entry is removed on first read.

GET
/files/{user}/upload/status

Poll for the progress of an in-flight upload started via upload. statusString is the number of bytes read so far while the upload is in progress, or 1 once complete — polling again after completion returns the "not being uploaded" 400 below, since the completed entry is removed on first read.

Authorization

SymetryMLAuth
AuthorizationBearer <token>

HMAC-SHA256 signature-based authentication: requests are signed with your secret key and sent with the Customer-ID, Sym-date, Authorization, Content-MD5 and sym-version headers. See SymetryML REST API Security for the signature algorithm and a complete example.

In: header

Path Parameters

user*string

User/Customer identifier

Query Parameters

ds*string

Name of the data source being uploaded to

Response Body

application/json

application/json

curl -X GET "https://example.com/files/c1/upload/status?ds=string"

{  "statusCode": 200,  "statusString": "524288",  "values": {}}

{  "statusCode": 400,  "statusString": "[my_ds] is not being uploaded.",  "values": {}}