From cd62f52ede9eead763e222240b892cdd0616bd6f Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 31 Mar 2026 21:31:44 +0530 Subject: [PATCH] Remove 1.9 atomic create params from 1.8 specs --- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- .../examples/databases/create-collection.md | 2 -- .../examples/tablesdb/create-table.md | 2 -- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- .../examples/databases/create-collection.md | 2 -- .../examples/tablesdb/create-table.md | 2 -- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- .../java/databases/create-collection.md | 2 -- .../java/tablesdb/create-table.md | 2 -- .../kotlin/databases/create-collection.md | 4 +-- .../kotlin/tablesdb/create-table.md | 4 +-- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- .../examples/databases/create-collection.md | 4 +-- .../examples/tablesdb/create-table.md | 4 +-- specs/1.8.x/open-api3-1.8.x-console.json | 34 +----------------- specs/1.8.x/open-api3-1.8.x-server.json | 32 ----------------- specs/1.8.x/swagger2-1.8.x-console.json | 36 ------------------- specs/1.8.x/swagger2-1.8.x-server.json | 36 ------------------- 30 files changed, 21 insertions(+), 209 deletions(-) diff --git a/examples/1.8.x/console-web/examples/databases/create-collection.md b/examples/1.8.x/console-web/examples/databases/create-collection.md index 3cfc945d0..b018ddfbd 100644 --- a/examples/1.8.x/console-web/examples/databases/create-collection.md +++ b/examples/1.8.x/console-web/examples/databases/create-collection.md @@ -13,9 +13,7 @@ const result = await databases.createCollection({ name: '', permissions: [Permission.read(Role.any())], // optional documentSecurity: false, // optional - enabled: false, // optional - attributes: [], // optional - indexes: [] // optional + enabled: false // optional }); console.log(result); diff --git a/examples/1.8.x/console-web/examples/tablesdb/create-table.md b/examples/1.8.x/console-web/examples/tablesdb/create-table.md index 78fde6c6d..33c407631 100644 --- a/examples/1.8.x/console-web/examples/tablesdb/create-table.md +++ b/examples/1.8.x/console-web/examples/tablesdb/create-table.md @@ -13,9 +13,7 @@ const result = await tablesDB.createTable({ name: '', permissions: [Permission.read(Role.any())], // optional rowSecurity: false, // optional - enabled: false, // optional - columns: [], // optional - indexes: [] // optional + enabled: false // optional }); console.log(result); diff --git a/examples/1.8.x/server-dart/examples/databases/create-collection.md b/examples/1.8.x/server-dart/examples/databases/create-collection.md index f0c3aea51..22f11319d 100644 --- a/examples/1.8.x/server-dart/examples/databases/create-collection.md +++ b/examples/1.8.x/server-dart/examples/databases/create-collection.md @@ -17,7 +17,5 @@ Collection result = await databases.createCollection( permissions: [Permission.read(Role.any())], // (optional) documentSecurity: false, // (optional) enabled: false, // (optional) - attributes: [], // (optional) - indexes: [], // (optional) ); ``` diff --git a/examples/1.8.x/server-dart/examples/tablesdb/create-table.md b/examples/1.8.x/server-dart/examples/tablesdb/create-table.md index e4563135c..17525b28f 100644 --- a/examples/1.8.x/server-dart/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-dart/examples/tablesdb/create-table.md @@ -17,7 +17,5 @@ Table result = await tablesDB.createTable( permissions: [Permission.read(Role.any())], // (optional) rowSecurity: false, // (optional) enabled: false, // (optional) - columns: [], // (optional) - indexes: [], // (optional) ); ``` diff --git a/examples/1.8.x/server-dotnet/examples/databases/create-collection.md b/examples/1.8.x/server-dotnet/examples/databases/create-collection.md index 51398280b..b835ad368 100644 --- a/examples/1.8.x/server-dotnet/examples/databases/create-collection.md +++ b/examples/1.8.x/server-dotnet/examples/databases/create-collection.md @@ -16,7 +16,5 @@ Collection result = await databases.CreateCollection( name: "", permissions: new List { Permission.Read(Role.Any()) }, // optional documentSecurity: false, // optional - enabled: false, // optional - attributes: new List(), // optional - indexes: new List() // optional + enabled: false // optional );``` diff --git a/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md b/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md index 242456de9..f80746bef 100644 --- a/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md @@ -16,7 +16,5 @@ Table result = await tablesDB.CreateTable( name: "", permissions: new List { Permission.Read(Role.Any()) }, // optional rowSecurity: false, // optional - enabled: false, // optional - columns: new List(), // optional - indexes: new List() // optional + enabled: false // optional );``` diff --git a/examples/1.8.x/server-go/examples/databases/create-collection.md b/examples/1.8.x/server-go/examples/databases/create-collection.md index 100ba24e1..bd1ff8c52 100644 --- a/examples/1.8.x/server-go/examples/databases/create-collection.md +++ b/examples/1.8.x/server-go/examples/databases/create-collection.md @@ -22,7 +22,5 @@ response, error := service.CreateCollection( databases.WithCreateCollectionPermissions(interface{}{"read("any")"}), databases.WithCreateCollectionDocumentSecurity(false), databases.WithCreateCollectionEnabled(false), - databases.WithCreateCollectionAttributes([]interface{}{}), - databases.WithCreateCollectionIndexes([]interface{}{}), ) ``` diff --git a/examples/1.8.x/server-go/examples/tablesdb/create-table.md b/examples/1.8.x/server-go/examples/tablesdb/create-table.md index f08cbbbc2..6ebff0786 100644 --- a/examples/1.8.x/server-go/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-go/examples/tablesdb/create-table.md @@ -22,7 +22,5 @@ response, error := service.CreateTable( tablesdb.WithCreateTablePermissions(interface{}{"read("any")"}), tablesdb.WithCreateTableRowSecurity(false), tablesdb.WithCreateTableEnabled(false), - tablesdb.WithCreateTableColumns([]interface{}{}), - tablesdb.WithCreateTableIndexes([]interface{}{}), ) ``` diff --git a/examples/1.8.x/server-graphql/examples/databases/create-collection.md b/examples/1.8.x/server-graphql/examples/databases/create-collection.md index d63c4cb88..bebf657ec 100644 --- a/examples/1.8.x/server-graphql/examples/databases/create-collection.md +++ b/examples/1.8.x/server-graphql/examples/databases/create-collection.md @@ -6,9 +6,7 @@ mutation { name: "", permissions: ["read("any")"], documentSecurity: false, - enabled: false, - attributes: [], - indexes: [] + enabled: false ) { _id _createdAt diff --git a/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md b/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md index a4cf28445..e7ae98e64 100644 --- a/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md @@ -6,9 +6,7 @@ mutation { name: "", permissions: ["read("any")"], rowSecurity: false, - enabled: false, - columns: [], - indexes: [] + enabled: false ) { _id _createdAt diff --git a/examples/1.8.x/server-kotlin/java/databases/create-collection.md b/examples/1.8.x/server-kotlin/java/databases/create-collection.md index 32d9cd54e..da57dc3e5 100644 --- a/examples/1.8.x/server-kotlin/java/databases/create-collection.md +++ b/examples/1.8.x/server-kotlin/java/databases/create-collection.md @@ -19,8 +19,6 @@ databases.createCollection( List.of(Permission.read(Role.any())), // permissions (optional) false, // documentSecurity (optional) false, // enabled (optional) - List.of(), // attributes (optional) - List.of(), // indexes (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md b/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md index 079ff5de0..ce5cbff4f 100644 --- a/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md +++ b/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md @@ -19,8 +19,6 @@ tablesDB.createTable( List.of(Permission.read(Role.any())), // permissions (optional) false, // rowSecurity (optional) false, // enabled (optional) - List.of(), // columns (optional) - List.of(), // indexes (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/examples/1.8.x/server-kotlin/kotlin/databases/create-collection.md b/examples/1.8.x/server-kotlin/kotlin/databases/create-collection.md index 9dbc8696f..dd7a2f9b7 100644 --- a/examples/1.8.x/server-kotlin/kotlin/databases/create-collection.md +++ b/examples/1.8.x/server-kotlin/kotlin/databases/create-collection.md @@ -18,8 +18,6 @@ val response = databases.createCollection( name = "", permissions = listOf(Permission.read(Role.any())), // optional documentSecurity = false, // optional - enabled = false, // optional - attributes = listOf(), // optional - indexes = listOf() // optional + enabled = false // optional ) ``` diff --git a/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md b/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md index cdc00e204..da5ce22ae 100644 --- a/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md +++ b/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md @@ -18,8 +18,6 @@ val response = tablesDB.createTable( name = "", permissions = listOf(Permission.read(Role.any())), // optional rowSecurity = false, // optional - enabled = false, // optional - columns = listOf(), // optional - indexes = listOf() // optional + enabled = false // optional ) ``` diff --git a/examples/1.8.x/server-nodejs/examples/databases/create-collection.md b/examples/1.8.x/server-nodejs/examples/databases/create-collection.md index b58e0919f..0ea9c9965 100644 --- a/examples/1.8.x/server-nodejs/examples/databases/create-collection.md +++ b/examples/1.8.x/server-nodejs/examples/databases/create-collection.md @@ -14,8 +14,6 @@ const result = await databases.createCollection({ name: '', permissions: [sdk.Permission.read(sdk.Role.any())], // optional documentSecurity: false, // optional - enabled: false, // optional - attributes: [], // optional - indexes: [] // optional + enabled: false // optional }); ``` diff --git a/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md b/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md index b429f7976..7b07f0d1e 100644 --- a/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md @@ -14,8 +14,6 @@ const result = await tablesDB.createTable({ name: '', permissions: [sdk.Permission.read(sdk.Role.any())], // optional rowSecurity: false, // optional - enabled: false, // optional - columns: [], // optional - indexes: [] // optional + enabled: false // optional }); ``` diff --git a/examples/1.8.x/server-php/examples/databases/create-collection.md b/examples/1.8.x/server-php/examples/databases/create-collection.md index a90e579be..86566137e 100644 --- a/examples/1.8.x/server-php/examples/databases/create-collection.md +++ b/examples/1.8.x/server-php/examples/databases/create-collection.md @@ -19,7 +19,5 @@ $result = $databases->createCollection( name: '', permissions: [Permission::read(Role::any())], // optional documentSecurity: false, // optional - enabled: false, // optional - attributes: [], // optional - indexes: [] // optional + enabled: false // optional );``` diff --git a/examples/1.8.x/server-php/examples/tablesdb/create-table.md b/examples/1.8.x/server-php/examples/tablesdb/create-table.md index fbe44767e..3be8527bd 100644 --- a/examples/1.8.x/server-php/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-php/examples/tablesdb/create-table.md @@ -19,7 +19,5 @@ $result = $tablesDB->createTable( name: '', permissions: [Permission::read(Role::any())], // optional rowSecurity: false, // optional - enabled: false, // optional - columns: [], // optional - indexes: [] // optional + enabled: false // optional );``` diff --git a/examples/1.8.x/server-python/examples/databases/create-collection.md b/examples/1.8.x/server-python/examples/databases/create-collection.md index 7e9afa0f1..88529a42e 100644 --- a/examples/1.8.x/server-python/examples/databases/create-collection.md +++ b/examples/1.8.x/server-python/examples/databases/create-collection.md @@ -18,9 +18,7 @@ result: Collection = databases.create_collection( name = '', permissions = [Permission.read(Role.any())], # optional document_security = False, # optional - enabled = False, # optional - attributes = [], # optional - indexes = [] # optional + enabled = False # optional ) print(result.model_dump()) diff --git a/examples/1.8.x/server-python/examples/tablesdb/create-table.md b/examples/1.8.x/server-python/examples/tablesdb/create-table.md index 029fb281e..8940133b0 100644 --- a/examples/1.8.x/server-python/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-python/examples/tablesdb/create-table.md @@ -18,9 +18,7 @@ result: Table = tables_db.create_table( name = '', permissions = [Permission.read(Role.any())], # optional row_security = False, # optional - enabled = False, # optional - columns = [], # optional - indexes = [] # optional + enabled = False # optional ) print(result.model_dump()) diff --git a/examples/1.8.x/server-rest/examples/databases/create-collection.md b/examples/1.8.x/server-rest/examples/databases/create-collection.md index 50be823f1..c8813873e 100644 --- a/examples/1.8.x/server-rest/examples/databases/create-collection.md +++ b/examples/1.8.x/server-rest/examples/databases/create-collection.md @@ -11,8 +11,6 @@ X-Appwrite-Key: "name": "", "permissions": ["read(\"any\")"], "documentSecurity": false, - "enabled": false, - "attributes": [], - "indexes": [] + "enabled": false } ``` diff --git a/examples/1.8.x/server-rest/examples/tablesdb/create-table.md b/examples/1.8.x/server-rest/examples/tablesdb/create-table.md index 62088351c..c68aac6de 100644 --- a/examples/1.8.x/server-rest/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-rest/examples/tablesdb/create-table.md @@ -11,8 +11,6 @@ X-Appwrite-Key: "name": "", "permissions": ["read(\"any\")"], "rowSecurity": false, - "enabled": false, - "columns": [], - "indexes": [] + "enabled": false } ``` diff --git a/examples/1.8.x/server-ruby/examples/databases/create-collection.md b/examples/1.8.x/server-ruby/examples/databases/create-collection.md index 3b21dc545..98411c086 100644 --- a/examples/1.8.x/server-ruby/examples/databases/create-collection.md +++ b/examples/1.8.x/server-ruby/examples/databases/create-collection.md @@ -18,8 +18,6 @@ result = databases.create_collection( name: '', permissions: [Permission.read(Role.any())], # optional document_security: false, # optional - enabled: false, # optional - attributes: [], # optional - indexes: [] # optional + enabled: false # optional ) ``` diff --git a/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md b/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md index d89b2be59..020745ac2 100644 --- a/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md @@ -18,8 +18,6 @@ result = tables_db.create_table( name: '', permissions: [Permission.read(Role.any())], # optional row_security: false, # optional - enabled: false, # optional - columns: [], # optional - indexes: [] # optional + enabled: false # optional ) ``` diff --git a/examples/1.8.x/server-swift/examples/databases/create-collection.md b/examples/1.8.x/server-swift/examples/databases/create-collection.md index 6d90e7ea4..9e7734fa9 100644 --- a/examples/1.8.x/server-swift/examples/databases/create-collection.md +++ b/examples/1.8.x/server-swift/examples/databases/create-collection.md @@ -14,9 +14,7 @@ let collection = try await databases.createCollection( name: "", permissions: [Permission.read(Role.any())], // optional documentSecurity: false, // optional - enabled: false, // optional - attributes: [], // optional - indexes: [] // optional + enabled: false // optional ) ``` diff --git a/examples/1.8.x/server-swift/examples/tablesdb/create-table.md b/examples/1.8.x/server-swift/examples/tablesdb/create-table.md index d8c537dcc..316469382 100644 --- a/examples/1.8.x/server-swift/examples/tablesdb/create-table.md +++ b/examples/1.8.x/server-swift/examples/tablesdb/create-table.md @@ -14,9 +14,7 @@ let table = try await tablesDB.createTable( name: "", permissions: [Permission.read(Role.any())], // optional rowSecurity: false, // optional - enabled: false, // optional - columns: [], // optional - indexes: [] // optional + enabled: false // optional ) ``` diff --git a/specs/1.8.x/open-api3-1.8.x-console.json b/specs/1.8.x/open-api3-1.8.x-console.json index 7df6ecb36..1bfc5b8f2 100644 --- a/specs/1.8.x/open-api3-1.8.x-console.json +++ b/specs/1.8.x/open-api3-1.8.x-console.json @@ -10353,22 +10353,6 @@ "type": "boolean", "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", "x-example": false - }, - "attributes": { - "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", - "x-example": null, - "items": { - "type": "object" - } - }, - "indexes": { - "type": "array", - "description": "Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of attribute keys), orders (array of ASC\/DESC, optional), and lengths (array of integers, optional).", - "x-example": null, - "items": { - "type": "object" - } } }, "required": [ @@ -48904,22 +48888,6 @@ "type": "boolean", "description": "Is table enabled? When set to 'disabled', users cannot access the table but Server SDKs with and API key can still read and write to the table. No data is lost when this is toggled.", "x-example": false - }, - "columns": { - "type": "array", - "description": "Array of column definitions to create. Each column should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", - "x-example": null, - "items": { - "type": "object" - } - }, - "indexes": { - "type": "array", - "description": "Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of column keys), orders (array of ASC\/DESC, optional), and lengths (array of integers, optional).", - "x-example": null, - "items": { - "type": "object" - } } }, "required": [ @@ -79254,4 +79222,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} \ No newline at end of file +} diff --git a/specs/1.8.x/open-api3-1.8.x-server.json b/specs/1.8.x/open-api3-1.8.x-server.json index 71d3f0f68..f4cfb9215 100644 --- a/specs/1.8.x/open-api3-1.8.x-server.json +++ b/specs/1.8.x/open-api3-1.8.x-server.json @@ -7803,22 +7803,6 @@ "type": "boolean", "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", "x-example": false - }, - "attributes": { - "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", - "x-example": null, - "items": { - "type": "object" - } - }, - "indexes": { - "type": "array", - "description": "Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of attribute keys), orders (array of ASC\/DESC, optional), and lengths (array of integers, optional).", - "x-example": null, - "items": { - "type": "object" - } } }, "required": [ @@ -28949,22 +28933,6 @@ "type": "boolean", "description": "Is table enabled? When set to 'disabled', users cannot access the table but Server SDKs with and API key can still read and write to the table. No data is lost when this is toggled.", "x-example": false - }, - "columns": { - "type": "array", - "description": "Array of column definitions to create. Each column should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", - "x-example": null, - "items": { - "type": "object" - } - }, - "indexes": { - "type": "array", - "description": "Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of column keys), orders (array of ASC\/DESC, optional), and lengths (array of integers, optional).", - "x-example": null, - "items": { - "type": "object" - } } }, "required": [ diff --git a/specs/1.8.x/swagger2-1.8.x-console.json b/specs/1.8.x/swagger2-1.8.x-console.json index 73bceab47..5e3a8532f 100644 --- a/specs/1.8.x/swagger2-1.8.x-console.json +++ b/specs/1.8.x/swagger2-1.8.x-console.json @@ -10495,24 +10495,6 @@ "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "attributes": { - "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", - "default": [], - "x-example": null, - "items": { - "type": "object" - } - }, - "indexes": { - "type": "array", - "description": "Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of attribute keys), orders (array of ASC\/DESC, optional), and lengths (array of integers, optional).", - "default": [], - "x-example": null, - "items": { - "type": "object" - } } }, "required": [ @@ -48942,24 +48924,6 @@ "description": "Is table enabled? When set to 'disabled', users cannot access the table but Server SDKs with and API key can still read and write to the table. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "columns": { - "type": "array", - "description": "Array of column definitions to create. Each column should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", - "default": [], - "x-example": null, - "items": { - "type": "object" - } - }, - "indexes": { - "type": "array", - "description": "Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of column keys), orders (array of ASC\/DESC, optional), and lengths (array of integers, optional).", - "default": [], - "x-example": null, - "items": { - "type": "object" - } } }, "required": [ diff --git a/specs/1.8.x/swagger2-1.8.x-server.json b/specs/1.8.x/swagger2-1.8.x-server.json index 41abca79d..f5c8531aa 100644 --- a/specs/1.8.x/swagger2-1.8.x-server.json +++ b/specs/1.8.x/swagger2-1.8.x-server.json @@ -7923,24 +7923,6 @@ "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "attributes": { - "type": "array", - "description": "Array of attribute definitions to create. Each attribute should contain: key (string), type (string: string, integer, float, boolean, datetime), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", - "default": [], - "x-example": null, - "items": { - "type": "object" - } - }, - "indexes": { - "type": "array", - "description": "Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of attribute keys), orders (array of ASC\/DESC, optional), and lengths (array of integers, optional).", - "default": [], - "x-example": null, - "items": { - "type": "object" - } } }, "required": [ @@ -29056,24 +29038,6 @@ "description": "Is table enabled? When set to 'disabled', users cannot access the table but Server SDKs with and API key can still read and write to the table. No data is lost when this is toggled.", "default": true, "x-example": false - }, - "columns": { - "type": "array", - "description": "Array of column definitions to create. Each column should contain: key (string), type (string: string, integer, float, boolean, datetime, relationship), size (integer, required for string type), required (boolean, optional), default (mixed, optional), array (boolean, optional), and type-specific options.", - "default": [], - "x-example": null, - "items": { - "type": "object" - } - }, - "indexes": { - "type": "array", - "description": "Array of index definitions to create. Each index should contain: key (string), type (string: key, fulltext, unique, spatial), attributes (array of column keys), orders (array of ASC\/DESC, optional), and lengths (array of integers, optional).", - "default": [], - "x-example": null, - "items": { - "type": "object" - } } }, "required": [