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

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

blob_id
integer
required

ID of the file/blob. Generated automatically by the server after file/blob creation.

Body Params

blob
object
required

Headers

QB-Token
string
required
A user or application session token. See our 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