mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
update: docs, misc.
This commit is contained in:
@@ -33,7 +33,7 @@ class XList extends CollectionLogXList
|
||||
namespace: $this->getSdkNamespace(),
|
||||
group: $this->getSdkGroup(),
|
||||
name: 'listLogs', // getName needs to be different from parent action to avoid conflict in path name
|
||||
description: '/docs/references/databases/get-collection-logs.md',
|
||||
description: '/docs/references/databases/get-table-logs.md',
|
||||
auth: [AuthType::ADMIN],
|
||||
responses: [
|
||||
new SDKResponse(
|
||||
|
||||
@@ -44,7 +44,7 @@ class XList extends DocumentLogXList
|
||||
contentType: ContentType::JSON,
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
->param('tableId', '', new UID(), 'Collection ID.')
|
||||
->param('tableId', '', new UID(), 'Table ID.')
|
||||
->param('rowId', '', new UID(), 'Row ID.')
|
||||
->param('queries', [], new Queries([new Limit(), new Offset()]), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset', true)
|
||||
->inject('response')
|
||||
|
||||
@@ -49,7 +49,7 @@ class Get extends CollectionUsageGet
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
->param('range', '30d', new WhiteList(['24h', '30d', '90d'], true), 'Date range.', true)
|
||||
->param('tableId', '', new UID(), 'Collection ID.')
|
||||
->param('tableId', '', new UID(), 'Table ID.')
|
||||
->inject('response')
|
||||
->inject('dbForProject')
|
||||
->callback($this->action(...));
|
||||
|
||||
Reference in New Issue
Block a user