curl -X PUT \
-H "Content-Type: application/json" \
-H "QB-Token: 2e80acd7f3d9c1e79312e0d1dafd6691ba012bba" \
-d '{
"blob":{
"size":"84"
}
}' \
https://api.quickblox.com/blobs/10070416/complete.json
Empty body
{
"errors": {
"blob": [
"is not uploaded yet"
]
}
}
Content
Mark File Uploaded
DEPRECATED. This request is deprecated. No need to use it to upload a file.
PUT
/
blobs
/
{blob_id}
/
complete.json
curl -X PUT \
-H "Content-Type: application/json" \
-H "QB-Token: 2e80acd7f3d9c1e79312e0d1dafd6691ba012bba" \
-d '{
"blob":{
"size":"84"
}
}' \
https://api.quickblox.com/blobs/10070416/complete.json
Empty body
{
"errors": {
"blob": [
"is not uploaded yet"
]
}
}
Declare a file as uploaded. Set a file status to complete. If a specified file size does not match to the actual, the actual file size will be set.
Path Parameters
integer
required
ID of the file/blob. Generated automatically by the server after file/blob creation.
Body Params
Headers
string
required
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
Responses
curl -X PUT \
-H "Content-Type: application/json" \
-H "QB-Token: 2e80acd7f3d9c1e79312e0d1dafd6691ba012bba" \
-d '{
"blob":{
"size":"84"
}
}' \
https://api.quickblox.com/blobs/10070416/complete.json
Empty body
{
"errors": {
"blob": [
"is not uploaded yet"
]
}
}
Was this page helpful?