Custom Objects
Create Class
Create a class to define any data structure you need. The class can be created by the account owner only.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.quickblox.com/llms.txt
Use this file to discover all available pages before exploring further.
Recipes
Create class
Create class
2. Use a `fields` parameter to set custom fields
The
fields stores a set of unique keys each having an associated value parameter.5. Set CRUD operations
Set the operations that can be performed on a record.Here, the
create, read, and update operations are set.6. Set access levels
Set an access level for a record.Here, the
open, not_allowed, and open_for_users_ids access levels are set.Create class with API key
Create class with API key
3. Use a `fields` parameter to set custom fields
The
fields stores a set of unique keys each having an associated value parameter.6. Set CRUD operations
Set the operations that can be performed on a record.Here, the
create, read, and update operations are set.7. Set access levels
Set an access level for a record.Here, the
open, not_allowed, and open_for_users_ids access levels are set.| Permission | Syntax | Example |
|---|---|---|
| Open | permissions.<CRUD_operation>.access | permissions.read.access=open |
| Owner | permissions.<CRUD_operation>.access | permissions.read.access=owner |
| Not allowed | permissions.<CRUD_operation>.access | permissions.read.access=not_allowed |
| Open for users IDs | permissions.<CRUD_operation>.access=open_for_users_ids permissions.<CRUD_operation>.ids=id_1,id_2,id_3,… | permissions.update.access=open_for_users_ids permissions.update.ids=3,12 |
| Open for groups | permissions.<CRUD_operation>.access=open_for_groups permissions.<CRUD_operation>.groups=group_name_1,group_name_2 | permissions.delete.access=open_for_groups permissions.delete.groups=experience,rate |
Body Parameters
Custom class name.
Custom class fields with types.
Format:
fields.{custom_field}=<field_type>.Class permissions. Format:
CRUD access values:
CRUD options:
permission.<CRUD_operation>.access=<value> permission.<CRUD_operation>.<option>=<value>CRUD operations: create, read, update, delete. CRUD access values:
open, owner, not_allowed, open_for_users_ids, open_for_groups. CRUD options:
ids, groups.Headers
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
API key from Dashboard. Expected format:
ApiKey {your_api_key}. Must be used
either QB-Token or Authorization.User ID. The user ID of the user on whose behalf the request is being made.
Responses
201
201
403
403
An error response
422
422
An error response