-
Notifications
You must be signed in to change notification settings - Fork 22
Private fields
Onur Akpolat edited this page Oct 20, 2016
·
1 revision
For certain entities we provide a set of private fields that you can only set with a backend token.
Backend Token Required
Writing private fields requires the use of the
BACKEND_TOKEN
.
There are following private fields for the user object.
Key | Description | Example |
---|---|---|
type |
Type of the user. | "type": "celebrity" |
verified |
Status is the user is verified. | "verified": true |
{
"private": {
"type": "celebrity",
"verified": true
}
}
There are following private fields for the comment object.
Key | Description | Example |
---|---|---|
visible |
Determines if the comment is visible or not. | "visible": true |
{
"private": {
"visible": true
}
}