Create boolean attribute
Endpoint
posthttps://<REGION>.cloud.appwrite.io...s/{collectionId}/attributes/boolean
Description
Create a boolean attribute.
Required scopes
Authentication
setProject() and a server API key (setKey()). For direct REST calls, send X-Appwrite-Project and X-Appwrite-Key.Path
Database ID.
Collection ID. You can create a new collection using the Database service server integration.
Body
Attribute Key.
Is attribute required?
Default value for attribute when not provided. Cannot be set when attribute is required.
Is attribute an array?
AttributeBoolean
Attribute Key.
Attribute type.
Attribute status. Possible values: available, processing, deleting, stuck, or failed
Error message. Displays error generated on failure of creating or deleting an attribute.
Is attribute required?
Is attribute an array?
Default value for attribute when not provided. Cannot be set when attribute is required.
mutation { databasesCreateBooleanAttribute( databaseId: "[DATABASE_ID]", collectionId: "[COLLECTION_ID]", key: "", required: false ) { key type status error required }}Databases
Create boolean attribute
Endpoint
posthttps://<REGION>.cloud.appwrite.io...s/{collectionId}/attributes/boolean
Description
Create a boolean attribute.
Required scopes
Authentication
setProject() and a server API key (setKey()). For direct REST calls, send X-Appwrite-Project and X-Appwrite-Key.Path
Database ID.
Collection ID. You can create a new collection using the Database service server integration.
Body
Attribute Key.
Is attribute required?
Default value for attribute when not provided. Cannot be set when attribute is required.
Is attribute an array?
AttributeBoolean
Attribute Key.
Attribute type.
Attribute status. Possible values: available, processing, deleting, stuck, or failed
Error message. Displays error generated on failure of creating or deleting an attribute.
Is attribute required?
Is attribute an array?
Default value for attribute when not provided. Cannot be set when attribute is required.
mutation { databasesCreateBooleanAttribute( databaseId: "[DATABASE_ID]", collectionId: "[COLLECTION_ID]", key: "", required: false ) { key type status error required }}