GET
/
data
/
{class_name}
/
{custom_object_record_id}
/
file.json
curl -X GET \
-H "QB-Token: a04ed6adfdb98cde99837088830349f67d012bba" \
-d "field_name=avatar" \
https://api.quickblox.com/data/UserProfileClass/5d863a78a0eb474dae6099c6/file.json
{
  "errors": [
    "Wrong permission"
  ]
}

Path Parameters

class_name
string
required

Custom object class name.

custom_object_record_id
string
required

ID of the custom object record. Generated automatically by the server after record creation.

Body Parameters

field_name
string
required

Custom object record field which contains a file.

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 GET \
-H "QB-Token: a04ed6adfdb98cde99837088830349f67d012bba" \
-d "field_name=avatar" \
https://api.quickblox.com/data/UserProfileClass/5d863a78a0eb474dae6099c6/file.json
{
  "errors": [
    "Wrong permission"
  ]
}