Create Record
Create a new record of particular class.
Recipes
Create record
Create record
1. Set record fields.
2. Set a class.
ScoreTable class is specified.3. As a result, the API returns a new record.
Create record with permissions
Create record with permissions
1. Set record fields
2. Use a `permissions` parameter to set operations allowed and access levels
3. Set CRUD operations
read, and update operations are set.4. Set access levels
owner, and open_for_groups access levels are set.5. Set a user group
world tag can make a required operation.6. As a result, the API returns a new record.
Create record with API key
Create record with API key
1. Use 'Authorization' header to pass API key
2. Set record fields.
3. Set a class.
ScoreTable class is specified.4. As a result, the API returns a new record.
Create record with permissions with API key
Create record with permissions with API key
1. Use 'Authorization' header to pass API key
2. Set record fields
3. Use a `permissions` parameter to set operations allowed and access levels
4. Set CRUD operations
read, and update operations are set.5. Set access levels
owner, and open_for_groups access levels are set.6. Set a user group
world tag can make a required operation.7. As a result, the API returns a new record.
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
Body Parameters
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
ApiKey {your_api_key}. Must be used
either QB-Token or Authorization.Responses
201
201
400
400