mirror of
https://github.com/appwrite/appwrite
synced 2026-05-16 05:28:31 +00:00
uncomment
This commit is contained in:
parent
e8f53f27e3
commit
b3124f7288
1 changed files with 19 additions and 19 deletions
|
|
@ -3237,25 +3237,25 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/documents')
|
|||
new Parameter('permissions', optional: true),
|
||||
]
|
||||
),
|
||||
// new Method(
|
||||
// namespace: 'databases',
|
||||
// group: 'documents',
|
||||
// name: 'createDocuments',
|
||||
// description: '/docs/references/databases/create-documents.md',
|
||||
// auth: [AuthType::ADMIN, AuthType::KEY],
|
||||
// responses: [
|
||||
// new SDKResponse(
|
||||
// code: Response::STATUS_CODE_CREATED,
|
||||
// model: Response::MODEL_DOCUMENT_LIST,
|
||||
// )
|
||||
// ],
|
||||
// contentType: ContentType::JSON,
|
||||
// parameters: [
|
||||
// new Parameter('databaseId', optional: false),
|
||||
// new Parameter('collectionId', optional: false),
|
||||
// new Parameter('documents', optional: false),
|
||||
// ]
|
||||
// )
|
||||
new Method(
|
||||
namespace: 'databases',
|
||||
group: 'documents',
|
||||
name: 'createDocuments',
|
||||
description: '/docs/references/databases/create-documents.md',
|
||||
auth: [AuthType::ADMIN, AuthType::KEY],
|
||||
responses: [
|
||||
new SDKResponse(
|
||||
code: Response::STATUS_CODE_CREATED,
|
||||
model: Response::MODEL_DOCUMENT_LIST,
|
||||
)
|
||||
],
|
||||
contentType: ContentType::JSON,
|
||||
parameters: [
|
||||
new Parameter('databaseId', optional: false),
|
||||
new Parameter('collectionId', optional: false),
|
||||
new Parameter('documents', optional: false),
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue