mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +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 Parameter('permissions', optional: true),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
// new Method(
|
new Method(
|
||||||
// namespace: 'databases',
|
namespace: 'databases',
|
||||||
// group: 'documents',
|
group: 'documents',
|
||||||
// name: 'createDocuments',
|
name: 'createDocuments',
|
||||||
// description: '/docs/references/databases/create-documents.md',
|
description: '/docs/references/databases/create-documents.md',
|
||||||
// auth: [AuthType::ADMIN, AuthType::KEY],
|
auth: [AuthType::ADMIN, AuthType::KEY],
|
||||||
// responses: [
|
responses: [
|
||||||
// new SDKResponse(
|
new SDKResponse(
|
||||||
// code: Response::STATUS_CODE_CREATED,
|
code: Response::STATUS_CODE_CREATED,
|
||||||
// model: Response::MODEL_DOCUMENT_LIST,
|
model: Response::MODEL_DOCUMENT_LIST,
|
||||||
// )
|
)
|
||||||
// ],
|
],
|
||||||
// contentType: ContentType::JSON,
|
contentType: ContentType::JSON,
|
||||||
// parameters: [
|
parameters: [
|
||||||
// new Parameter('databaseId', optional: false),
|
new Parameter('databaseId', optional: false),
|
||||||
// new Parameter('collectionId', optional: false),
|
new Parameter('collectionId', optional: false),
|
||||||
// new Parameter('documents', optional: false),
|
new Parameter('documents', optional: false),
|
||||||
// ]
|
]
|
||||||
// )
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
->param('databaseId', '', new UID(), 'Database ID.')
|
->param('databaseId', '', new UID(), 'Database ID.')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue