diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index 0cc31393fc..b24ace4ec5 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -1509,7 +1509,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/relati ->label('sdk.response.model', Response::MODEL_ATTRIBUTE_RELATIONSHIP) ->param('databaseId', '', new UID(), 'Database ID.') ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') - ->param('relatedCollectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') + ->param('relatedCollectionId', '', new UID(), 'Related Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') ->param('type', '', new WhiteList([Database::RELATION_ONE_TO_ONE, Database::RELATION_MANY_TO_ONE, Database::RELATION_MANY_TO_MANY, Database::RELATION_ONE_TO_MANY], true), 'Relation type') ->param('twoWay', false, new Boolean(), 'Is Two Way?', true) ->param('key', null, new Key(), 'Attribute Key.', true)