1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

Update app/controllers/api/database.php

Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
Torsten Dittmann 2021-12-13 11:10:03 +01:00 committed by GitHub
parent adffae7cf7
commit b15096421b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -773,7 +773,7 @@ App::post('/v1/database/collections/:collectionId/attributes/email')
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
->label('sdk.response.model', Response::MODEL_ATTRIBUTE_EMAIL)
->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https:///docs/server/database#createCollection).')
->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/database#createCollection).')
->param('attributeId', '', new Key(), 'Attribute ID.')
->param('required', null, new Boolean(), 'Is attribute required?')
->param('default', null, new Email(), 'Default value for attribute when not provided. Cannot be set when attribute is required.', true)