From d899ed9b6879b44ec73c1bca2522ccd2076db374 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 20 Aug 2025 01:44:01 +1200 Subject: [PATCH] Update specs --- app/config/specs/open-api3-1.8.x-console.json | 66 +++++++++++-------- app/config/specs/open-api3-1.8.x-server.json | 30 ++++----- .../specs/open-api3-latest-console.json | 66 +++++++++++-------- app/config/specs/open-api3-latest-server.json | 30 ++++----- app/config/specs/swagger2-1.8.x-console.json | 66 +++++++++++-------- app/config/specs/swagger2-1.8.x-server.json | 30 ++++----- app/config/specs/swagger2-latest-console.json | 66 +++++++++++-------- app/config/specs/swagger2-latest-server.json | 30 ++++----- 8 files changed, 208 insertions(+), 176 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 2f3b627bdb..563947ce41 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -30494,9 +30494,9 @@ "\/tablesdb": { "get": { "summary": "List databases", - "operationId": "tablesdbList", + "operationId": "tablesDbList", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", "responses": { @@ -30518,7 +30518,7 @@ "weight": 375, "cookies": false, "type": "", - "demo": "tablesdb\/list.md", + "demo": "tables-db\/list.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, @@ -30567,9 +30567,9 @@ }, "post": { "summary": "Create database", - "operationId": "tablesdbCreate", + "operationId": "tablesDbCreate", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Create a new Database.\n", "responses": { @@ -30591,7 +30591,7 @@ "weight": 371, "cookies": false, "type": "", - "demo": "tablesdb\/create.md", + "demo": "tables-db\/create.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, @@ -30657,9 +30657,9 @@ "\/tablesdb\/usage": { "get": { "summary": "Get TablesDB usage stats", - "operationId": "tablesdbListUsage", + "operationId": "tablesDbListUsage", "tags": [ - "tablesdb" + "tablesDb" ], "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", "responses": { @@ -30681,7 +30681,7 @@ "weight": 377, "cookies": false, "type": "", - "demo": "tablesdb\/list-usage.md", + "demo": "tables-db\/list-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "rate-limit": 0, "rate-time": 3600, @@ -30694,7 +30694,7 @@ "methods": [ { "name": "listUsage", - "namespace": "tablesdb", + "namespace": "tablesDb", "desc": "", "auth": { "Project": [] @@ -30710,7 +30710,7 @@ } ], "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", - "demo": "tablesdb\/list-usage.md" + "demo": "tables-db\/list-usage.md" } ], "auth": { @@ -30735,8 +30735,12 @@ "30d", "90d" ], - "x-enum-name": null, - "x-enum-keys": [], + "x-enum-name": "GridUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], "default": "30d" }, "in": "query" @@ -30747,9 +30751,9 @@ "\/tablesdb\/{databaseId}": { "get": { "summary": "Get database", - "operationId": "tablesdbGet", + "operationId": "tablesDbGet", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", "responses": { @@ -30771,7 +30775,7 @@ "weight": 372, "cookies": false, "type": "", - "demo": "tablesdb\/get.md", + "demo": "tables-db\/get.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, @@ -30806,9 +30810,9 @@ }, "put": { "summary": "Update database", - "operationId": "tablesdbUpdate", + "operationId": "tablesDbUpdate", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Update a database by its unique ID.", "responses": { @@ -30830,7 +30834,7 @@ "weight": 373, "cookies": false, "type": "", - "demo": "tablesdb\/update.md", + "demo": "tables-db\/update.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, @@ -30889,9 +30893,9 @@ }, "delete": { "summary": "Delete database", - "operationId": "tablesdbDelete", + "operationId": "tablesDbDelete", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", "responses": { @@ -30906,7 +30910,7 @@ "weight": 374, "cookies": false, "type": "", - "demo": "tablesdb\/delete.md", + "demo": "tables-db\/delete.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, @@ -35724,9 +35728,9 @@ "\/tablesdb\/{databaseId}\/usage": { "get": { "summary": "Get TablesDB usage stats", - "operationId": "tablesdbGetUsage", + "operationId": "tablesDbGetUsage", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", "responses": { @@ -35748,7 +35752,7 @@ "weight": 376, "cookies": false, "type": "", - "demo": "tablesdb\/get-usage.md", + "demo": "tables-db\/get-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "rate-limit": 0, "rate-time": 3600, @@ -35761,7 +35765,7 @@ "methods": [ { "name": "getUsage", - "namespace": "tablesdb", + "namespace": "tablesDb", "desc": "", "auth": { "Project": [] @@ -35780,7 +35784,7 @@ } ], "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", - "demo": "tablesdb\/get-usage.md" + "demo": "tables-db\/get-usage.md" } ], "auth": { @@ -35815,8 +35819,12 @@ "30d", "90d" ], - "x-enum-name": null, - "x-enum-keys": [], + "x-enum-name": "GridUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], "default": "30d" }, "in": "query" diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 1305b42c2f..298bad15d5 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -21425,9 +21425,9 @@ "\/tablesdb": { "get": { "summary": "List databases", - "operationId": "tablesdbList", + "operationId": "tablesDbList", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", "responses": { @@ -21449,7 +21449,7 @@ "weight": 375, "cookies": false, "type": "", - "demo": "tablesdb\/list.md", + "demo": "tables-db\/list.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, @@ -21499,9 +21499,9 @@ }, "post": { "summary": "Create database", - "operationId": "tablesdbCreate", + "operationId": "tablesDbCreate", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Create a new Database.\n", "responses": { @@ -21523,7 +21523,7 @@ "weight": 371, "cookies": false, "type": "", - "demo": "tablesdb\/create.md", + "demo": "tables-db\/create.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, @@ -21590,9 +21590,9 @@ "\/tablesdb\/{databaseId}": { "get": { "summary": "Get database", - "operationId": "tablesdbGet", + "operationId": "tablesDbGet", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", "responses": { @@ -21614,7 +21614,7 @@ "weight": 372, "cookies": false, "type": "", - "demo": "tablesdb\/get.md", + "demo": "tables-db\/get.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, @@ -21650,9 +21650,9 @@ }, "put": { "summary": "Update database", - "operationId": "tablesdbUpdate", + "operationId": "tablesDbUpdate", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Update a database by its unique ID.", "responses": { @@ -21674,7 +21674,7 @@ "weight": 373, "cookies": false, "type": "", - "demo": "tablesdb\/update.md", + "demo": "tables-db\/update.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, @@ -21734,9 +21734,9 @@ }, "delete": { "summary": "Delete database", - "operationId": "tablesdbDelete", + "operationId": "tablesDbDelete", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", "responses": { @@ -21751,7 +21751,7 @@ "weight": 374, "cookies": false, "type": "", - "demo": "tablesdb\/delete.md", + "demo": "tables-db\/delete.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 2f3b627bdb..563947ce41 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -30494,9 +30494,9 @@ "\/tablesdb": { "get": { "summary": "List databases", - "operationId": "tablesdbList", + "operationId": "tablesDbList", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", "responses": { @@ -30518,7 +30518,7 @@ "weight": 375, "cookies": false, "type": "", - "demo": "tablesdb\/list.md", + "demo": "tables-db\/list.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, @@ -30567,9 +30567,9 @@ }, "post": { "summary": "Create database", - "operationId": "tablesdbCreate", + "operationId": "tablesDbCreate", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Create a new Database.\n", "responses": { @@ -30591,7 +30591,7 @@ "weight": 371, "cookies": false, "type": "", - "demo": "tablesdb\/create.md", + "demo": "tables-db\/create.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, @@ -30657,9 +30657,9 @@ "\/tablesdb\/usage": { "get": { "summary": "Get TablesDB usage stats", - "operationId": "tablesdbListUsage", + "operationId": "tablesDbListUsage", "tags": [ - "tablesdb" + "tablesDb" ], "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", "responses": { @@ -30681,7 +30681,7 @@ "weight": 377, "cookies": false, "type": "", - "demo": "tablesdb\/list-usage.md", + "demo": "tables-db\/list-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "rate-limit": 0, "rate-time": 3600, @@ -30694,7 +30694,7 @@ "methods": [ { "name": "listUsage", - "namespace": "tablesdb", + "namespace": "tablesDb", "desc": "", "auth": { "Project": [] @@ -30710,7 +30710,7 @@ } ], "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", - "demo": "tablesdb\/list-usage.md" + "demo": "tables-db\/list-usage.md" } ], "auth": { @@ -30735,8 +30735,12 @@ "30d", "90d" ], - "x-enum-name": null, - "x-enum-keys": [], + "x-enum-name": "GridUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], "default": "30d" }, "in": "query" @@ -30747,9 +30751,9 @@ "\/tablesdb\/{databaseId}": { "get": { "summary": "Get database", - "operationId": "tablesdbGet", + "operationId": "tablesDbGet", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", "responses": { @@ -30771,7 +30775,7 @@ "weight": 372, "cookies": false, "type": "", - "demo": "tablesdb\/get.md", + "demo": "tables-db\/get.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, @@ -30806,9 +30810,9 @@ }, "put": { "summary": "Update database", - "operationId": "tablesdbUpdate", + "operationId": "tablesDbUpdate", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Update a database by its unique ID.", "responses": { @@ -30830,7 +30834,7 @@ "weight": 373, "cookies": false, "type": "", - "demo": "tablesdb\/update.md", + "demo": "tables-db\/update.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, @@ -30889,9 +30893,9 @@ }, "delete": { "summary": "Delete database", - "operationId": "tablesdbDelete", + "operationId": "tablesDbDelete", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", "responses": { @@ -30906,7 +30910,7 @@ "weight": 374, "cookies": false, "type": "", - "demo": "tablesdb\/delete.md", + "demo": "tables-db\/delete.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, @@ -35724,9 +35728,9 @@ "\/tablesdb\/{databaseId}\/usage": { "get": { "summary": "Get TablesDB usage stats", - "operationId": "tablesdbGetUsage", + "operationId": "tablesDbGetUsage", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", "responses": { @@ -35748,7 +35752,7 @@ "weight": 376, "cookies": false, "type": "", - "demo": "tablesdb\/get-usage.md", + "demo": "tables-db\/get-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "rate-limit": 0, "rate-time": 3600, @@ -35761,7 +35765,7 @@ "methods": [ { "name": "getUsage", - "namespace": "tablesdb", + "namespace": "tablesDb", "desc": "", "auth": { "Project": [] @@ -35780,7 +35784,7 @@ } ], "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", - "demo": "tablesdb\/get-usage.md" + "demo": "tables-db\/get-usage.md" } ], "auth": { @@ -35815,8 +35819,12 @@ "30d", "90d" ], - "x-enum-name": null, - "x-enum-keys": [], + "x-enum-name": "GridUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], "default": "30d" }, "in": "query" diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 1305b42c2f..298bad15d5 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -21425,9 +21425,9 @@ "\/tablesdb": { "get": { "summary": "List databases", - "operationId": "tablesdbList", + "operationId": "tablesDbList", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", "responses": { @@ -21449,7 +21449,7 @@ "weight": 375, "cookies": false, "type": "", - "demo": "tablesdb\/list.md", + "demo": "tables-db\/list.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, @@ -21499,9 +21499,9 @@ }, "post": { "summary": "Create database", - "operationId": "tablesdbCreate", + "operationId": "tablesDbCreate", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Create a new Database.\n", "responses": { @@ -21523,7 +21523,7 @@ "weight": 371, "cookies": false, "type": "", - "demo": "tablesdb\/create.md", + "demo": "tables-db\/create.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, @@ -21590,9 +21590,9 @@ "\/tablesdb\/{databaseId}": { "get": { "summary": "Get database", - "operationId": "tablesdbGet", + "operationId": "tablesDbGet", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", "responses": { @@ -21614,7 +21614,7 @@ "weight": 372, "cookies": false, "type": "", - "demo": "tablesdb\/get.md", + "demo": "tables-db\/get.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, @@ -21650,9 +21650,9 @@ }, "put": { "summary": "Update database", - "operationId": "tablesdbUpdate", + "operationId": "tablesDbUpdate", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Update a database by its unique ID.", "responses": { @@ -21674,7 +21674,7 @@ "weight": 373, "cookies": false, "type": "", - "demo": "tablesdb\/update.md", + "demo": "tables-db\/update.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, @@ -21734,9 +21734,9 @@ }, "delete": { "summary": "Delete database", - "operationId": "tablesdbDelete", + "operationId": "tablesDbDelete", "tags": [ - "tablesdb" + "tablesDb" ], "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", "responses": { @@ -21751,7 +21751,7 @@ "weight": 374, "cookies": false, "type": "", - "demo": "tablesdb\/delete.md", + "demo": "tables-db\/delete.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 084151d541..1bb1bb2044 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -30679,13 +30679,13 @@ "\/tablesdb": { "get": { "summary": "List databases", - "operationId": "tablesdbList", + "operationId": "tablesDbList", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", "responses": { @@ -30703,7 +30703,7 @@ "weight": 375, "cookies": false, "type": "", - "demo": "tablesdb\/list.md", + "demo": "tables-db\/list.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, @@ -30749,7 +30749,7 @@ }, "post": { "summary": "Create database", - "operationId": "tablesdbCreate", + "operationId": "tablesDbCreate", "consumes": [ "application\/json" ], @@ -30757,7 +30757,7 @@ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Create a new Database.\n", "responses": { @@ -30775,7 +30775,7 @@ "weight": 371, "cookies": false, "type": "", - "demo": "tablesdb\/create.md", + "demo": "tables-db\/create.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, @@ -30845,13 +30845,13 @@ "\/tablesdb\/usage": { "get": { "summary": "Get TablesDB usage stats", - "operationId": "tablesdbListUsage", + "operationId": "tablesDbListUsage", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", "responses": { @@ -30869,7 +30869,7 @@ "weight": 377, "cookies": false, "type": "", - "demo": "tablesdb\/list-usage.md", + "demo": "tables-db\/list-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "rate-limit": 0, "rate-time": 3600, @@ -30882,7 +30882,7 @@ "methods": [ { "name": "listUsage", - "namespace": "tablesdb", + "namespace": "tablesDb", "desc": "", "auth": { "Project": [] @@ -30898,7 +30898,7 @@ } ], "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", - "demo": "tablesdb\/list-usage.md" + "demo": "tables-db\/list-usage.md" } ], "auth": { @@ -30922,8 +30922,12 @@ "30d", "90d" ], - "x-enum-name": null, - "x-enum-keys": [], + "x-enum-name": "GridUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], "default": "30d", "in": "query" } @@ -30933,13 +30937,13 @@ "\/tablesdb\/{databaseId}": { "get": { "summary": "Get database", - "operationId": "tablesdbGet", + "operationId": "tablesDbGet", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", "responses": { @@ -30957,7 +30961,7 @@ "weight": 372, "cookies": false, "type": "", - "demo": "tablesdb\/get.md", + "demo": "tables-db\/get.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, @@ -30990,7 +30994,7 @@ }, "put": { "summary": "Update database", - "operationId": "tablesdbUpdate", + "operationId": "tablesDbUpdate", "consumes": [ "application\/json" ], @@ -30998,7 +31002,7 @@ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Update a database by its unique ID.", "responses": { @@ -31016,7 +31020,7 @@ "weight": 373, "cookies": false, "type": "", - "demo": "tablesdb\/update.md", + "demo": "tables-db\/update.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, @@ -31073,13 +31077,13 @@ }, "delete": { "summary": "Delete database", - "operationId": "tablesdbDelete", + "operationId": "tablesDbDelete", "consumes": [ "application\/json" ], "produces": [], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", "responses": { @@ -31094,7 +31098,7 @@ "weight": 374, "cookies": false, "type": "", - "demo": "tablesdb\/delete.md", + "demo": "tables-db\/delete.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, @@ -35797,13 +35801,13 @@ "\/tablesdb\/{databaseId}\/usage": { "get": { "summary": "Get TablesDB usage stats", - "operationId": "tablesdbGetUsage", + "operationId": "tablesDbGetUsage", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", "responses": { @@ -35821,7 +35825,7 @@ "weight": 376, "cookies": false, "type": "", - "demo": "tablesdb\/get-usage.md", + "demo": "tables-db\/get-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "rate-limit": 0, "rate-time": 3600, @@ -35834,7 +35838,7 @@ "methods": [ { "name": "getUsage", - "namespace": "tablesdb", + "namespace": "tablesDb", "desc": "", "auth": { "Project": [] @@ -35853,7 +35857,7 @@ } ], "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", - "demo": "tablesdb\/get-usage.md" + "demo": "tables-db\/get-usage.md" } ], "auth": { @@ -35885,8 +35889,12 @@ "30d", "90d" ], - "x-enum-name": null, - "x-enum-keys": [], + "x-enum-name": "GridUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], "default": "30d", "in": "query" } diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 1a93891117..0907bf42a0 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -21663,13 +21663,13 @@ "\/tablesdb": { "get": { "summary": "List databases", - "operationId": "tablesdbList", + "operationId": "tablesDbList", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", "responses": { @@ -21687,7 +21687,7 @@ "weight": 375, "cookies": false, "type": "", - "demo": "tablesdb\/list.md", + "demo": "tables-db\/list.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, @@ -21734,7 +21734,7 @@ }, "post": { "summary": "Create database", - "operationId": "tablesdbCreate", + "operationId": "tablesDbCreate", "consumes": [ "application\/json" ], @@ -21742,7 +21742,7 @@ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Create a new Database.\n", "responses": { @@ -21760,7 +21760,7 @@ "weight": 371, "cookies": false, "type": "", - "demo": "tablesdb\/create.md", + "demo": "tables-db\/create.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, @@ -21831,13 +21831,13 @@ "\/tablesdb\/{databaseId}": { "get": { "summary": "Get database", - "operationId": "tablesdbGet", + "operationId": "tablesDbGet", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", "responses": { @@ -21855,7 +21855,7 @@ "weight": 372, "cookies": false, "type": "", - "demo": "tablesdb\/get.md", + "demo": "tables-db\/get.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, @@ -21889,7 +21889,7 @@ }, "put": { "summary": "Update database", - "operationId": "tablesdbUpdate", + "operationId": "tablesDbUpdate", "consumes": [ "application\/json" ], @@ -21897,7 +21897,7 @@ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Update a database by its unique ID.", "responses": { @@ -21915,7 +21915,7 @@ "weight": 373, "cookies": false, "type": "", - "demo": "tablesdb\/update.md", + "demo": "tables-db\/update.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, @@ -21973,13 +21973,13 @@ }, "delete": { "summary": "Delete database", - "operationId": "tablesdbDelete", + "operationId": "tablesDbDelete", "consumes": [ "application\/json" ], "produces": [], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", "responses": { @@ -21994,7 +21994,7 @@ "weight": 374, "cookies": false, "type": "", - "demo": "tablesdb\/delete.md", + "demo": "tables-db\/delete.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 084151d541..1bb1bb2044 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -30679,13 +30679,13 @@ "\/tablesdb": { "get": { "summary": "List databases", - "operationId": "tablesdbList", + "operationId": "tablesDbList", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", "responses": { @@ -30703,7 +30703,7 @@ "weight": 375, "cookies": false, "type": "", - "demo": "tablesdb\/list.md", + "demo": "tables-db\/list.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, @@ -30749,7 +30749,7 @@ }, "post": { "summary": "Create database", - "operationId": "tablesdbCreate", + "operationId": "tablesDbCreate", "consumes": [ "application\/json" ], @@ -30757,7 +30757,7 @@ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Create a new Database.\n", "responses": { @@ -30775,7 +30775,7 @@ "weight": 371, "cookies": false, "type": "", - "demo": "tablesdb\/create.md", + "demo": "tables-db\/create.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, @@ -30845,13 +30845,13 @@ "\/tablesdb\/usage": { "get": { "summary": "Get TablesDB usage stats", - "operationId": "tablesdbListUsage", + "operationId": "tablesDbListUsage", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", "responses": { @@ -30869,7 +30869,7 @@ "weight": 377, "cookies": false, "type": "", - "demo": "tablesdb\/list-usage.md", + "demo": "tables-db\/list-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list-usage.md", "rate-limit": 0, "rate-time": 3600, @@ -30882,7 +30882,7 @@ "methods": [ { "name": "listUsage", - "namespace": "tablesdb", + "namespace": "tablesDb", "desc": "", "auth": { "Project": [] @@ -30898,7 +30898,7 @@ } ], "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", - "demo": "tablesdb\/list-usage.md" + "demo": "tables-db\/list-usage.md" } ], "auth": { @@ -30922,8 +30922,12 @@ "30d", "90d" ], - "x-enum-name": null, - "x-enum-keys": [], + "x-enum-name": "GridUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], "default": "30d", "in": "query" } @@ -30933,13 +30937,13 @@ "\/tablesdb\/{databaseId}": { "get": { "summary": "Get database", - "operationId": "tablesdbGet", + "operationId": "tablesDbGet", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", "responses": { @@ -30957,7 +30961,7 @@ "weight": 372, "cookies": false, "type": "", - "demo": "tablesdb\/get.md", + "demo": "tables-db\/get.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, @@ -30990,7 +30994,7 @@ }, "put": { "summary": "Update database", - "operationId": "tablesdbUpdate", + "operationId": "tablesDbUpdate", "consumes": [ "application\/json" ], @@ -30998,7 +31002,7 @@ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Update a database by its unique ID.", "responses": { @@ -31016,7 +31020,7 @@ "weight": 373, "cookies": false, "type": "", - "demo": "tablesdb\/update.md", + "demo": "tables-db\/update.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, @@ -31073,13 +31077,13 @@ }, "delete": { "summary": "Delete database", - "operationId": "tablesdbDelete", + "operationId": "tablesDbDelete", "consumes": [ "application\/json" ], "produces": [], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", "responses": { @@ -31094,7 +31098,7 @@ "weight": 374, "cookies": false, "type": "", - "demo": "tablesdb\/delete.md", + "demo": "tables-db\/delete.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600, @@ -35797,13 +35801,13 @@ "\/tablesdb\/{databaseId}\/usage": { "get": { "summary": "Get TablesDB usage stats", - "operationId": "tablesdbGetUsage", + "operationId": "tablesDbGetUsage", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", "responses": { @@ -35821,7 +35825,7 @@ "weight": 376, "cookies": false, "type": "", - "demo": "tablesdb\/get-usage.md", + "demo": "tables-db\/get-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get-database-usage.md", "rate-limit": 0, "rate-time": 3600, @@ -35834,7 +35838,7 @@ "methods": [ { "name": "getUsage", - "namespace": "tablesdb", + "namespace": "tablesDb", "desc": "", "auth": { "Project": [] @@ -35853,7 +35857,7 @@ } ], "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", - "demo": "tablesdb\/get-usage.md" + "demo": "tables-db\/get-usage.md" } ], "auth": { @@ -35885,8 +35889,12 @@ "30d", "90d" ], - "x-enum-name": null, - "x-enum-keys": [], + "x-enum-name": "GridUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], "default": "30d", "in": "query" } diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 1a93891117..0907bf42a0 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -21663,13 +21663,13 @@ "\/tablesdb": { "get": { "summary": "List databases", - "operationId": "tablesdbList", + "operationId": "tablesDbList", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", "responses": { @@ -21687,7 +21687,7 @@ "weight": 375, "cookies": false, "type": "", - "demo": "tablesdb\/list.md", + "demo": "tables-db\/list.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/list.md", "rate-limit": 0, "rate-time": 3600, @@ -21734,7 +21734,7 @@ }, "post": { "summary": "Create database", - "operationId": "tablesdbCreate", + "operationId": "tablesDbCreate", "consumes": [ "application\/json" ], @@ -21742,7 +21742,7 @@ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Create a new Database.\n", "responses": { @@ -21760,7 +21760,7 @@ "weight": 371, "cookies": false, "type": "", - "demo": "tablesdb\/create.md", + "demo": "tables-db\/create.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/create.md", "rate-limit": 0, "rate-time": 3600, @@ -21831,13 +21831,13 @@ "\/tablesdb\/{databaseId}": { "get": { "summary": "Get database", - "operationId": "tablesdbGet", + "operationId": "tablesDbGet", "consumes": [], "produces": [ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", "responses": { @@ -21855,7 +21855,7 @@ "weight": 372, "cookies": false, "type": "", - "demo": "tablesdb\/get.md", + "demo": "tables-db\/get.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/get.md", "rate-limit": 0, "rate-time": 3600, @@ -21889,7 +21889,7 @@ }, "put": { "summary": "Update database", - "operationId": "tablesdbUpdate", + "operationId": "tablesDbUpdate", "consumes": [ "application\/json" ], @@ -21897,7 +21897,7 @@ "application\/json" ], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Update a database by its unique ID.", "responses": { @@ -21915,7 +21915,7 @@ "weight": 373, "cookies": false, "type": "", - "demo": "tablesdb\/update.md", + "demo": "tables-db\/update.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/update.md", "rate-limit": 0, "rate-time": 3600, @@ -21973,13 +21973,13 @@ }, "delete": { "summary": "Delete database", - "operationId": "tablesdbDelete", + "operationId": "tablesDbDelete", "consumes": [ "application\/json" ], "produces": [], "tags": [ - "tablesdb" + "tablesDb" ], "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", "responses": { @@ -21994,7 +21994,7 @@ "weight": 374, "cookies": false, "type": "", - "demo": "tablesdb\/delete.md", + "demo": "tables-db\/delete.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/tablesdb\/delete.md", "rate-limit": 0, "rate-time": 3600,