Content
List Files
REST API
- Overview
- Limits
- Errors
- GETGet Account Settings
- Authentication
- Users
- Chat
- Content
- Push Notifications
- Custom Objects
- Address Book
- AI
Content
List Files
Get a list of files/blobs for a current user. The ID of the user is taken from the token specified in the request.
GET
/
blobs.json
curl -X GET \
-H "QB-Token: 2e80acd7f3d9c1e79312e0d1dafd6691ba012bba" \
https://api.quickblox.com/blobs.json
{
"current_page": 1,
"per_page": 10,
"total_entries": 2,
"items": [
{
"blob": {
"id": 9715927,
"uid": "9019061f0e094284a250189edd3034f300",
"content_type": "image/jpeg",
"name": "apple",
"size": 16766,
"created_at": "2019-09-15T21:12:56Z",
"updated_at": "2019-09-15T21:22:17Z",
"blob_status": "complete",
"set_completed_at": "2019-09-15T21:17:45Z",
"public": false
}
},
{
"blob": {
"id": 9717123,
"uid": "ff61838dc80f46579d59afef479f0a0200",
"content_type": "image/jpeg",
"name": "my_cat.jpeg",
"size": null,
"created_at": "2019-09-16T19:26:45Z",
"updated_at": "2019-09-16T19:26:45Z",
"blob_status": null,
"set_completed_at": null,
"public": true
}
}
]
}
Query Parameters
Page of results to return.
Number of records to return in one request. Min: 1. Max: 100.
Headers
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
An error response
curl -X GET \
-H "QB-Token: 2e80acd7f3d9c1e79312e0d1dafd6691ba012bba" \
https://api.quickblox.com/blobs.json
{
"current_page": 1,
"per_page": 10,
"total_entries": 2,
"items": [
{
"blob": {
"id": 9715927,
"uid": "9019061f0e094284a250189edd3034f300",
"content_type": "image/jpeg",
"name": "apple",
"size": 16766,
"created_at": "2019-09-15T21:12:56Z",
"updated_at": "2019-09-15T21:22:17Z",
"blob_status": "complete",
"set_completed_at": "2019-09-15T21:17:45Z",
"public": false
}
},
{
"blob": {
"id": 9717123,
"uid": "ff61838dc80f46579d59afef479f0a0200",
"content_type": "image/jpeg",
"name": "my_cat.jpeg",
"size": null,
"created_at": "2019-09-16T19:26:45Z",
"updated_at": "2019-09-16T19:26:45Z",
"blob_status": null,
"set_completed_at": null,
"public": true
}
}
]
}
Was this page helpful?
curl -X GET \
-H "QB-Token: 2e80acd7f3d9c1e79312e0d1dafd6691ba012bba" \
https://api.quickblox.com/blobs.json
{
"current_page": 1,
"per_page": 10,
"total_entries": 2,
"items": [
{
"blob": {
"id": 9715927,
"uid": "9019061f0e094284a250189edd3034f300",
"content_type": "image/jpeg",
"name": "apple",
"size": 16766,
"created_at": "2019-09-15T21:12:56Z",
"updated_at": "2019-09-15T21:22:17Z",
"blob_status": "complete",
"set_completed_at": "2019-09-15T21:17:45Z",
"public": false
}
},
{
"blob": {
"id": 9717123,
"uid": "ff61838dc80f46579d59afef479f0a0200",
"content_type": "image/jpeg",
"name": "my_cat.jpeg",
"size": null,
"created_at": "2019-09-16T19:26:45Z",
"updated_at": "2019-09-16T19:26:45Z",
"blob_status": null,
"set_completed_at": null,
"public": true
}
}
]
}