diff --git a/app/config/specs/open-api3-1.7.x-client.json b/app/config/specs/open-api3-1.7.x-client.json index d09108e51d..2be4abd1ba 100644 --- a/app/config/specs/open-api3-1.7.x-client.json +++ b/app/config/specs/open-api3-1.7.x-client.json @@ -4467,10 +4467,7 @@ { "name": "createDocument", "auth": { - "Admin": [], - "Session": [], - "Key": [], - "JWT": [] + "Project": [] }, "parameters": [ "databaseId", @@ -4491,20 +4488,15 @@ "model": "#\/components\/schemas\/document" } ], - "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console." + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "security": { + "Project": [], + "Session": [], + "JWT": [] + } } - ], - "auth": { - "Project": [] - } + ] }, - "security": [ - { - "Project": [], - "Session": [], - "JWT": [] - } - ], "parameters": [ { "name": "databaseId", diff --git a/app/config/specs/swagger2-1.7.x-client.json b/app/config/specs/swagger2-1.7.x-client.json index c3353e157f..3e8803c7f2 100644 --- a/app/config/specs/swagger2-1.7.x-client.json +++ b/app/config/specs/swagger2-1.7.x-client.json @@ -4604,10 +4604,7 @@ { "name": "createDocument", "auth": { - "Admin": [], - "Session": [], - "Key": [], - "JWT": [] + "Project": [] }, "parameters": [ "databaseId", @@ -4628,20 +4625,15 @@ "model": "#\/definitions\/document" } ], - "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console." + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "security": { + "Project": [], + "Session": [], + "JWT": [] + } } - ], - "auth": { - "Project": [] - } + ] }, - "security": [ - { - "Project": [], - "Session": [], - "JWT": [] - } - ], "parameters": [ { "name": "databaseId",