Skip to main content
POST

Recipes

1

1. Set record fields.

You can set as many fields as you need.
2

2. Set a class.

Set a class for a new record.Here, the ScoreTable class is specified.
3

3. As a result, the API returns a new record.

1

1. Set record fields

You can set as many fields as you need for a new record
2

2. Use a `permissions` parameter to set operations allowed and access levels

3

3. Set CRUD operations

Set CRUD operations that can be performed on a record.Here, the read, and update operations are set.
4

4. Set access levels

Set an access level for a record.Here, the owner, and open_for_groups access levels are set.
5

5. Set a user group

Set a user group to determine who can make a required operation.Here, users with the world tag can make a required operation.
6

6. As a result, the API returns a new record.

1

1. Use 'Authorization' header to pass API key

2

2. Set record fields.

You can set as many fields as you need.
3

3. Set a class.

Set a class for a new record.Here, the ScoreTable class is specified.
4

4. As a result, the API returns a new record.

1

1. Use 'Authorization' header to pass API key

2

2. Set record fields

You can set as many fields as you need for a new record
3

3. Use a `permissions` parameter to set operations allowed and access levels

4

4. Set CRUD operations

Set CRUD operations that can be performed on a record.Here, the read, and update operations are set.
5

5. Set access levels

Set an access level for a record.Here, the owner, and open_for_groups access levels are set.
6

6. Set a user group

Set a user group to determine who can make a required operation.Here, users with the world tag can make a required operation.
7

7. As a result, the API returns a new record.

To create a new record use a POST request with application/json or application/x-www-form-urlencoded content type of the POST body. Received values will be cast according to the class defined in QuickBlox Dashboard. The field that is present in the class but not specified in the POST request will have a null value. Allowed permissions

Path Parameters

string
required
Custom object class name.

Body Parameters

string
Set value to the field defined in Custom Object class. Can be many 1..N.
string
Record permissions. Format:
permission.<CRUD_operation>.access=<value>
permission.<CRUD_operation>.<option>=<value>
CRUD operations: create, read, update, delete.
CRUD access values: open, owner, open_for_users_ids, open_for_groups.
CRUD options: ids, groups.

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.
string
default:"ApiKey {your_api_key}"
API key from Dashboard. Expected format: ApiKey {your_api_key}. Must be used either QB-Token or Authorization.
string
User ID. The user ID of the user on whose behalf the request is being made.

Responses

A successful response
string
string
integer
integer
integer
object
An error response