From 800cab185b86789ceec8792ea57ca814208c2f01 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 20 Aug 2025 18:17:27 +1200 Subject: [PATCH] Specs --- app/config/specs/open-api3-1.8.x-console.json | 37 ++++-------------- app/config/specs/open-api3-1.8.x-server.json | 29 ++------------ .../specs/open-api3-latest-console.json | 37 ++++-------------- app/config/specs/open-api3-latest-server.json | 29 ++------------ app/config/specs/swagger2-1.8.x-console.json | 39 ++++--------------- app/config/specs/swagger2-1.8.x-server.json | 31 ++------------- app/config/specs/swagger2-latest-console.json | 39 ++++--------------- app/config/specs/swagger2-latest-server.json | 31 ++------------- 8 files changed, 40 insertions(+), 232 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 0fb2dbf419..2afb8e5a70 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -4675,8 +4675,7 @@ "parameters": [ "databaseId", "name", - "enabled", - "type" + "enabled" ], "required": [ "databaseId", @@ -4726,17 +4725,6 @@ "type": "boolean", "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -4756,7 +4744,7 @@ "tags": [ "databases" ], - "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, collections\/tables, documents\/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.", + "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, 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": { "200": { "description": "UsageDatabases", @@ -4808,7 +4796,7 @@ "model": "#\/components\/schemas\/usageDatabases" } ], - "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, collections\/tables, documents\/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.", + "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, 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": "databases\/list-usage.md", "deprecated": { "since": "1.8.0", @@ -30635,17 +30623,6 @@ "type": "boolean", "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -33913,7 +33890,7 @@ "tags": [ "tablesDb" ], - "description": "List indexes in the collection.", + "description": "List indexes on the table.", "responses": { "200": { "description": "Column Indexes List", @@ -33995,7 +33972,7 @@ "tags": [ "tablesDb" ], - "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nType can be `key`, `fulltext`, or `unique`.", "responses": { "202": { "description": "Index", @@ -35736,7 +35713,7 @@ "tags": [ "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.", + "description": "Get usage metrics and statistics for a database. You can view the total number of 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": { "200": { "description": "UsageDatabase", @@ -35787,7 +35764,7 @@ "model": "#\/components\/schemas\/usageDatabase" } ], - "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.", + "description": "Get usage metrics and statistics for a database. You can view the total number of 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": "tables-db\/get-usage.md" } ], 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 41c2e126a8..10f1284725 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -4196,8 +4196,7 @@ "parameters": [ "databaseId", "name", - "enabled", - "type" + "enabled" ], "required": [ "databaseId", @@ -4248,17 +4247,6 @@ "type": "boolean", "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -21564,17 +21552,6 @@ "type": "boolean", "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -24779,7 +24756,7 @@ "tags": [ "tablesDb" ], - "description": "List indexes in the collection.", + "description": "List indexes on the table.", "responses": { "200": { "description": "Column Indexes List", @@ -24862,7 +24839,7 @@ "tags": [ "tablesDb" ], - "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nType can be `key`, `fulltext`, or `unique`.", "responses": { "202": { "description": "Index", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 0fb2dbf419..2afb8e5a70 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -4675,8 +4675,7 @@ "parameters": [ "databaseId", "name", - "enabled", - "type" + "enabled" ], "required": [ "databaseId", @@ -4726,17 +4725,6 @@ "type": "boolean", "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -4756,7 +4744,7 @@ "tags": [ "databases" ], - "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, collections\/tables, documents\/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.", + "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, 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": { "200": { "description": "UsageDatabases", @@ -4808,7 +4796,7 @@ "model": "#\/components\/schemas\/usageDatabases" } ], - "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, collections\/tables, documents\/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.", + "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, 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": "databases\/list-usage.md", "deprecated": { "since": "1.8.0", @@ -30635,17 +30623,6 @@ "type": "boolean", "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -33913,7 +33890,7 @@ "tags": [ "tablesDb" ], - "description": "List indexes in the collection.", + "description": "List indexes on the table.", "responses": { "200": { "description": "Column Indexes List", @@ -33995,7 +33972,7 @@ "tags": [ "tablesDb" ], - "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nType can be `key`, `fulltext`, or `unique`.", "responses": { "202": { "description": "Index", @@ -35736,7 +35713,7 @@ "tags": [ "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.", + "description": "Get usage metrics and statistics for a database. You can view the total number of 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": { "200": { "description": "UsageDatabase", @@ -35787,7 +35764,7 @@ "model": "#\/components\/schemas\/usageDatabase" } ], - "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.", + "description": "Get usage metrics and statistics for a database. You can view the total number of 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": "tables-db\/get-usage.md" } ], diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 41c2e126a8..10f1284725 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -4196,8 +4196,7 @@ "parameters": [ "databaseId", "name", - "enabled", - "type" + "enabled" ], "required": [ "databaseId", @@ -4248,17 +4247,6 @@ "type": "boolean", "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -21564,17 +21552,6 @@ "type": "boolean", "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -24779,7 +24756,7 @@ "tags": [ "tablesDb" ], - "description": "List indexes in the collection.", + "description": "List indexes on the table.", "responses": { "200": { "description": "Column Indexes List", @@ -24862,7 +24839,7 @@ "tags": [ "tablesDb" ], - "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nType can be `key`, `fulltext`, or `unique`.", "responses": { "202": { "description": "Index", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 6b76ee4f2f..509214e378 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -4834,8 +4834,7 @@ "parameters": [ "databaseId", "name", - "enabled", - "type" + "enabled" ], "required": [ "databaseId", @@ -4889,18 +4888,6 @@ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "default": "tablesdb", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -4923,7 +4910,7 @@ "tags": [ "databases" ], - "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, collections\/tables, documents\/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.", + "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, 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": { "200": { "description": "UsageDatabases", @@ -4971,7 +4958,7 @@ "model": "#\/definitions\/usageDatabases" } ], - "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, collections\/tables, documents\/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.", + "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, 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": "databases\/list-usage.md", "deprecated": { "since": "1.8.0", @@ -30823,18 +30810,6 @@ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "default": "tablesdb", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -34068,7 +34043,7 @@ "tags": [ "tablesDb" ], - "description": "List indexes in the collection.", + "description": "List indexes on the table.", "responses": { "200": { "description": "Column Indexes List", @@ -34147,7 +34122,7 @@ "tags": [ "tablesDb" ], - "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nType can be `key`, `fulltext`, or `unique`.", "responses": { "202": { "description": "Index", @@ -35813,7 +35788,7 @@ "tags": [ "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.", + "description": "Get usage metrics and statistics for a database. You can view the total number of 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": { "200": { "description": "UsageDatabase", @@ -35860,7 +35835,7 @@ "model": "#\/definitions\/usageDatabase" } ], - "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.", + "description": "Get usage metrics and statistics for a database. You can view the total number of 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": "tables-db\/get-usage.md" } ], diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 833c1a0612..d84f1ada9d 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -4343,8 +4343,7 @@ "parameters": [ "databaseId", "name", - "enabled", - "type" + "enabled" ], "required": [ "databaseId", @@ -4399,18 +4398,6 @@ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "default": "tablesdb", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -21805,18 +21792,6 @@ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "default": "tablesdb", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -24989,7 +24964,7 @@ "tags": [ "tablesDb" ], - "description": "List indexes in the collection.", + "description": "List indexes on the table.", "responses": { "200": { "description": "Column Indexes List", @@ -25069,7 +25044,7 @@ "tags": [ "tablesDb" ], - "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nType can be `key`, `fulltext`, or `unique`.", "responses": { "202": { "description": "Index", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 6b76ee4f2f..509214e378 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -4834,8 +4834,7 @@ "parameters": [ "databaseId", "name", - "enabled", - "type" + "enabled" ], "required": [ "databaseId", @@ -4889,18 +4888,6 @@ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "default": "tablesdb", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -4923,7 +4910,7 @@ "tags": [ "databases" ], - "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, collections\/tables, documents\/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.", + "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, 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": { "200": { "description": "UsageDatabases", @@ -4971,7 +4958,7 @@ "model": "#\/definitions\/usageDatabases" } ], - "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, collections\/tables, documents\/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.", + "description": "List usage metrics and statistics for all databases in the project. You can view the total number of databases, 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": "databases\/list-usage.md", "deprecated": { "since": "1.8.0", @@ -30823,18 +30810,6 @@ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "default": "tablesdb", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -34068,7 +34043,7 @@ "tags": [ "tablesDb" ], - "description": "List indexes in the collection.", + "description": "List indexes on the table.", "responses": { "200": { "description": "Column Indexes List", @@ -34147,7 +34122,7 @@ "tags": [ "tablesDb" ], - "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nType can be `key`, `fulltext`, or `unique`.", "responses": { "202": { "description": "Index", @@ -35813,7 +35788,7 @@ "tags": [ "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.", + "description": "Get usage metrics and statistics for a database. You can view the total number of 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": { "200": { "description": "UsageDatabase", @@ -35860,7 +35835,7 @@ "model": "#\/definitions\/usageDatabase" } ], - "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.", + "description": "Get usage metrics and statistics for a database. You can view the total number of 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": "tables-db\/get-usage.md" } ], diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 833c1a0612..d84f1ada9d 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -4343,8 +4343,7 @@ "parameters": [ "databaseId", "name", - "enabled", - "type" + "enabled" ], "required": [ "databaseId", @@ -4399,18 +4398,6 @@ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "default": "tablesdb", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -21805,18 +21792,6 @@ "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "type": { - "type": "string", - "description": "Database type.", - "default": "tablesdb", - "x-example": "tablesdb", - "enum": [ - "tablesdb", - "legacy" - ], - "x-enum-name": null, - "x-enum-keys": [] } }, "required": [ @@ -24989,7 +24964,7 @@ "tags": [ "tablesDb" ], - "description": "List indexes in the collection.", + "description": "List indexes on the table.", "responses": { "200": { "description": "Column Indexes List", @@ -25069,7 +25044,7 @@ "tags": [ "tablesDb" ], - "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "description": "Creates an index on the columns listed. Your index should include all the columns you will query in a single request.\nType can be `key`, `fulltext`, or `unique`.", "responses": { "202": { "description": "Index",