update: docs, misc.

This commit is contained in:
Darshan
2025-06-25 18:14:35 +05:30
parent 922eba865d
commit d44b43373a
3 changed files with 3 additions and 3 deletions
@@ -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(...));