Custom Objects
List Records by IDs
REST API
- Overview
- Limits
- Errors
- GETGet Account Settings
- Authentication
- Users
- Chat
- Content
- Push Notifications
- Custom Objects
- Overview
- Dashboard
- Relations
- Permissions
- Class Model
- POSTCreate Class
- Record Model
- POSTCreate Record
- POSTCreate Child Record
- POSTCreate Multi Records
- GETList Records
- GETList Records by IDs
- PUTUpdate Record
- PUTUpdate Records by Criteria
- PUTUpdate Multi Records
- DELDelete Records
- DELDelete Records by Criteria
- File Model
- POSTUpload/Update File
- GETDownload File
- DELDelete File
- Tips and Tricks
- Address Book
- AI
Custom Objects
List Records by IDs
Retrieve records with particular records IDs.
GET
/
data
/
{class_name}
/
{custom_object_record_id}
,
{custom_object_record_id}
.json
curl -X GET \
-H "QB-Token: d9c91a69e552145f6fe24dbb40b50ac575012bba" \
https://api.quickblox.com/data/ScoreTable/5d866b53a28f9a5ad51cb562,5d867291a0eb473ed96099c4.json
{
"class_name": "ScoreTable",
"items": [
{
"_id": "5d866b53a28f9a5ad51cb562",
"_parent_id": null,
"completed_levels": [
1,
2,
3,
4
],
"created_at": 1569090387,
"date": "2019-09-21T21:21:00Z",
"expert_mode": false,
"game_mode_name": "beta testing",
"progress": 0.23,
"score_value": 1000,
"updated_at": 1569178320,
"user_avatar": null,
"user_id": 96753878,
"user_location": [
11.13,
45.52
],
"permissions": {
"read": {
"access": "open"
},
"update": {
"access": "owner"
},
"delete": {
"access": "owner"
}
}
},
{
"_id": "5d867291a0eb473ed96099c4",
"_parent_id": null,
"completed_levels": [
1,
2,
3
],
"created_at": 1569092241,
"date": "2019-09-21T21:25:00Z",
"expert_mode": false,
"game_mode_name": "beta testing",
"progress": 0.3,
"score_value": 3021,
"updated_at": 1569178320,
"user_avatar": null,
"user_id": 96753878,
"user_location": null,
"permissions": {
"read": {
"access": "open"
},
"update": {
"access": "owner"
},
"delete": {
"access": "owner"
}
}
}
]
}
Path Parameters
Custom object class name.
ID of the custom object record. Generated automatically by the server after record creation.
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
An error response
curl -X GET \
-H "QB-Token: d9c91a69e552145f6fe24dbb40b50ac575012bba" \
https://api.quickblox.com/data/ScoreTable/5d866b53a28f9a5ad51cb562,5d867291a0eb473ed96099c4.json
{
"class_name": "ScoreTable",
"items": [
{
"_id": "5d866b53a28f9a5ad51cb562",
"_parent_id": null,
"completed_levels": [
1,
2,
3,
4
],
"created_at": 1569090387,
"date": "2019-09-21T21:21:00Z",
"expert_mode": false,
"game_mode_name": "beta testing",
"progress": 0.23,
"score_value": 1000,
"updated_at": 1569178320,
"user_avatar": null,
"user_id": 96753878,
"user_location": [
11.13,
45.52
],
"permissions": {
"read": {
"access": "open"
},
"update": {
"access": "owner"
},
"delete": {
"access": "owner"
}
}
},
{
"_id": "5d867291a0eb473ed96099c4",
"_parent_id": null,
"completed_levels": [
1,
2,
3
],
"created_at": 1569092241,
"date": "2019-09-21T21:25:00Z",
"expert_mode": false,
"game_mode_name": "beta testing",
"progress": 0.3,
"score_value": 3021,
"updated_at": 1569178320,
"user_avatar": null,
"user_id": 96753878,
"user_location": null,
"permissions": {
"read": {
"access": "open"
},
"update": {
"access": "owner"
},
"delete": {
"access": "owner"
}
}
}
]
}
Was this page helpful?
curl -X GET \
-H "QB-Token: d9c91a69e552145f6fe24dbb40b50ac575012bba" \
https://api.quickblox.com/data/ScoreTable/5d866b53a28f9a5ad51cb562,5d867291a0eb473ed96099c4.json
{
"class_name": "ScoreTable",
"items": [
{
"_id": "5d866b53a28f9a5ad51cb562",
"_parent_id": null,
"completed_levels": [
1,
2,
3,
4
],
"created_at": 1569090387,
"date": "2019-09-21T21:21:00Z",
"expert_mode": false,
"game_mode_name": "beta testing",
"progress": 0.23,
"score_value": 1000,
"updated_at": 1569178320,
"user_avatar": null,
"user_id": 96753878,
"user_location": [
11.13,
45.52
],
"permissions": {
"read": {
"access": "open"
},
"update": {
"access": "owner"
},
"delete": {
"access": "owner"
}
}
},
{
"_id": "5d867291a0eb473ed96099c4",
"_parent_id": null,
"completed_levels": [
1,
2,
3
],
"created_at": 1569092241,
"date": "2019-09-21T21:25:00Z",
"expert_mode": false,
"game_mode_name": "beta testing",
"progress": 0.3,
"score_value": 3021,
"updated_at": 1569178320,
"user_avatar": null,
"user_id": 96753878,
"user_location": null,
"permissions": {
"read": {
"access": "open"
},
"update": {
"access": "owner"
},
"delete": {
"access": "owner"
}
}
}
]
}