fix: response modals and sdk-gen for multiple namespaces.

This commit is contained in:
Darshan
2025-07-27 13:47:44 +05:30
parent 557493d091
commit f19ef05a98
17 changed files with 4086 additions and 2316 deletions
+3 -1
View File
@@ -38,10 +38,12 @@ COPY --from=composer /usr/local/src/vendor /usr/src/code/vendor
COPY ./app /usr/src/code/app
COPY ./public /usr/src/code/public
COPY ./bin /usr/local/bin
COPY ./docs /usr/src/code/docs
#COPY ./docs /usr/src/code/docs
COPY ./src /usr/src/code/src
COPY ./dev /usr/src/code/dev
COPY ./vendor/appwrite/sdk-generator /usr/src/code/vendor/appwrite/sdk-generator
# Set Volumes
RUN mkdir -p /storage/uploads && \
mkdir -p /storage/imports && \
+25 -59
View File
@@ -1856,7 +1856,6 @@
"client"
],
"packaging": false,
"deprecated": true,
"auth": {
"Project": []
}
@@ -2066,7 +2065,6 @@
"client"
],
"packaging": false,
"deprecated": true,
"auth": {
"Project": []
}
@@ -4476,9 +4474,7 @@
{
"name": "createDocument",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [
"databaseId",
@@ -4720,9 +4716,7 @@
{
"name": "upsertDocument",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [],
"required": [],
@@ -4996,12 +4990,12 @@
]
}
},
"\/databases\/{databaseId}\/tables\/{tableId}\/rows": {
"\/databases\/{databaseId}\/grids\/tables\/{tableId}\/rows": {
"get": {
"summary": "List rows",
"operationId": "tablesListRows",
"operationId": "gridsListRows",
"tags": [
"tables"
"grids"
],
"description": "Get a list of all the user's rows in a given table. You can use the query params to filter your results.",
"responses": {
@@ -5023,7 +5017,7 @@
"weight": 412,
"cookies": false,
"type": "",
"demo": "tables\/list-rows.md",
"demo": "grids\/list-rows.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-rows.md",
"rate-limit": 0,
"rate-time": 3600,
@@ -5084,9 +5078,9 @@
},
"post": {
"summary": "Create row",
"operationId": "tablesCreateRow",
"operationId": "gridsCreateRow",
"tags": [
"tables"
"grids"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console.",
"responses": {
@@ -5108,7 +5102,7 @@
"weight": 404,
"cookies": false,
"type": "",
"demo": "tables\/create-row.md",
"demo": "grids\/create-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5124,9 +5118,7 @@
{
"name": "createRow",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [
"databaseId",
@@ -5148,30 +5140,6 @@
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console."
},
{
"name": "createRows",
"auth": {
"Admin": [],
"Key": []
},
"parameters": [
"databaseId",
"tableId",
"rows"
],
"required": [
"databaseId",
"tableId",
"rows"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console."
}
],
"auth": {
@@ -5246,12 +5214,12 @@
}
}
},
"\/databases\/{databaseId}\/tables\/{tableId}\/rows\/{rowId}": {
"\/databases\/{databaseId}\/grids\/tables\/{tableId}\/rows\/{rowId}": {
"get": {
"summary": "Get row",
"operationId": "tablesGetRow",
"operationId": "gridsGetRow",
"tags": [
"tables"
"grids"
],
"description": "Get a row by its unique ID. This endpoint response returns a JSON object with the row data.",
"responses": {
@@ -5273,7 +5241,7 @@
"weight": 405,
"cookies": false,
"type": "",
"demo": "tables\/get-row.md",
"demo": "grids\/get-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-row.md",
"rate-limit": 0,
"rate-time": 3600,
@@ -5344,9 +5312,9 @@
},
"put": {
"summary": "Create or update a row",
"operationId": "tablesUpsertRow",
"operationId": "gridsUpsertRow",
"tags": [
"tables"
"grids"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console.",
"responses": {
@@ -5368,7 +5336,7 @@
"weight": 408,
"cookies": false,
"type": "",
"demo": "tables\/upsert-row.md",
"demo": "grids\/upsert-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5384,9 +5352,7 @@
{
"name": "upsertRow",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [],
"required": [],
@@ -5469,9 +5435,9 @@
},
"patch": {
"summary": "Update row",
"operationId": "tablesUpdateRow",
"operationId": "gridsUpdateRow",
"tags": [
"tables"
"grids"
],
"description": "Update a row by its unique ID. Using the patch method you can pass only specific fields that will get updated.",
"responses": {
@@ -5493,7 +5459,7 @@
"weight": 406,
"cookies": false,
"type": "",
"demo": "tables\/update-row.md",
"demo": "grids\/update-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5575,9 +5541,9 @@
},
"delete": {
"summary": "Delete row",
"operationId": "tablesDeleteRow",
"operationId": "gridsDeleteRow",
"tags": [
"tables"
"grids"
],
"description": "Delete a row by its unique ID.",
"responses": {
@@ -5592,7 +5558,7 @@
"weight": 410,
"cookies": false,
"type": "",
"demo": "tables\/delete-row.md",
"demo": "grids\/delete-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-row.md",
"rate-limit": 60,
"rate-time": 60,
@@ -5830,7 +5796,7 @@
"scheduledAt": {
"type": "string",
"description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.",
"x-example": null
"x-example": "<SCHEDULED_AT>"
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+29 -57
View File
@@ -4473,10 +4473,9 @@
"methods": [
{
"name": "createDocument",
"namespace": "databases",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [
"databaseId",
@@ -4717,10 +4716,9 @@
"methods": [
{
"name": "upsertDocument",
"namespace": "databases",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [],
"required": [],
@@ -4994,12 +4992,12 @@
]
}
},
"\/databases\/{databaseId}\/tables\/{tableId}\/rows": {
"\/databases\/{databaseId}\/grids\/tables\/{tableId}\/rows": {
"get": {
"summary": "List rows",
"operationId": "tablesListRows",
"operationId": "gridsListRows",
"tags": [
"tables"
"grids"
],
"description": "Get a list of all the user's rows in a given table. You can use the query params to filter your results.",
"responses": {
@@ -5021,7 +5019,7 @@
"weight": 412,
"cookies": false,
"type": "",
"demo": "tables\/list-rows.md",
"demo": "grids\/list-rows.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-rows.md",
"rate-limit": 0,
"rate-time": 3600,
@@ -5082,9 +5080,9 @@
},
"post": {
"summary": "Create row",
"operationId": "tablesCreateRow",
"operationId": "gridsCreateRow",
"tags": [
"tables"
"grids"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console.",
"responses": {
@@ -5106,7 +5104,7 @@
"weight": 404,
"cookies": false,
"type": "",
"demo": "tables\/create-row.md",
"demo": "grids\/create-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5121,10 +5119,9 @@
"methods": [
{
"name": "createRow",
"namespace": "grids",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [
"databaseId",
@@ -5146,30 +5143,6 @@
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console."
},
{
"name": "createRows",
"auth": {
"Admin": [],
"Key": []
},
"parameters": [
"databaseId",
"tableId",
"rows"
],
"required": [
"databaseId",
"tableId",
"rows"
],
"responses": [
{
"code": 201,
"model": "#\/components\/schemas\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console."
}
],
"auth": {
@@ -5244,12 +5217,12 @@
}
}
},
"\/databases\/{databaseId}\/tables\/{tableId}\/rows\/{rowId}": {
"\/databases\/{databaseId}\/grids\/tables\/{tableId}\/rows\/{rowId}": {
"get": {
"summary": "Get row",
"operationId": "tablesGetRow",
"operationId": "gridsGetRow",
"tags": [
"tables"
"grids"
],
"description": "Get a row by its unique ID. This endpoint response returns a JSON object with the row data.",
"responses": {
@@ -5271,7 +5244,7 @@
"weight": 405,
"cookies": false,
"type": "",
"demo": "tables\/get-row.md",
"demo": "grids\/get-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-row.md",
"rate-limit": 0,
"rate-time": 3600,
@@ -5342,9 +5315,9 @@
},
"put": {
"summary": "Create or update a row",
"operationId": "tablesUpsertRow",
"operationId": "gridsUpsertRow",
"tags": [
"tables"
"grids"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console.",
"responses": {
@@ -5366,7 +5339,7 @@
"weight": 408,
"cookies": false,
"type": "",
"demo": "tables\/upsert-row.md",
"demo": "grids\/upsert-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5381,10 +5354,9 @@
"methods": [
{
"name": "upsertRow",
"namespace": "grids",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [],
"required": [],
@@ -5467,9 +5439,9 @@
},
"patch": {
"summary": "Update row",
"operationId": "tablesUpdateRow",
"operationId": "gridsUpdateRow",
"tags": [
"tables"
"grids"
],
"description": "Update a row by its unique ID. Using the patch method you can pass only specific fields that will get updated.",
"responses": {
@@ -5491,7 +5463,7 @@
"weight": 406,
"cookies": false,
"type": "",
"demo": "tables\/update-row.md",
"demo": "grids\/update-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5573,9 +5545,9 @@
},
"delete": {
"summary": "Delete row",
"operationId": "tablesDeleteRow",
"operationId": "gridsDeleteRow",
"tags": [
"tables"
"grids"
],
"description": "Delete a row by its unique ID.",
"responses": {
@@ -5590,7 +5562,7 @@
"weight": 410,
"cookies": false,
"type": "",
"demo": "tables\/delete-row.md",
"demo": "grids\/delete-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-row.md",
"rate-limit": 60,
"rate-time": 60,
@@ -5828,7 +5800,7 @@
"scheduledAt": {
"type": "string",
"description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.",
"x-example": null
"x-example": "<SCHEDULED_AT>"
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+25 -59
View File
@@ -1964,7 +1964,6 @@
"client"
],
"packaging": false,
"deprecated": true,
"auth": {
"Project": []
}
@@ -2175,7 +2174,6 @@
"client"
],
"packaging": false,
"deprecated": true,
"auth": {
"Project": []
}
@@ -4613,9 +4611,7 @@
{
"name": "createDocument",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [
"databaseId",
@@ -4848,9 +4844,7 @@
{
"name": "upsertDocument",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [],
"required": [],
@@ -5110,16 +5104,16 @@
]
}
},
"\/databases\/{databaseId}\/tables\/{tableId}\/rows": {
"\/databases\/{databaseId}\/grids\/tables\/{tableId}\/rows": {
"get": {
"summary": "List rows",
"operationId": "tablesListRows",
"operationId": "gridsListRows",
"consumes": [],
"produces": [
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Get a list of all the user's rows in a given table. You can use the query params to filter your results.",
"responses": {
@@ -5137,7 +5131,7 @@
"weight": 412,
"cookies": false,
"type": "",
"demo": "tables\/list-rows.md",
"demo": "grids\/list-rows.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-rows.md",
"rate-limit": 0,
"rate-time": 3600,
@@ -5192,7 +5186,7 @@
},
"post": {
"summary": "Create row",
"operationId": "tablesCreateRow",
"operationId": "gridsCreateRow",
"consumes": [
"application\/json"
],
@@ -5200,7 +5194,7 @@
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console.",
"responses": {
@@ -5218,7 +5212,7 @@
"weight": 404,
"cookies": false,
"type": "",
"demo": "tables\/create-row.md",
"demo": "grids\/create-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5233,9 +5227,7 @@
{
"name": "createRow",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [
"databaseId",
@@ -5257,30 +5249,6 @@
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console."
},
{
"name": "createRows",
"auth": {
"Admin": [],
"Key": []
},
"parameters": [
"databaseId",
"tableId",
"rows"
],
"required": [
"databaseId",
"tableId",
"rows"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console."
}
],
"auth": {
@@ -5353,16 +5321,16 @@
]
}
},
"\/databases\/{databaseId}\/tables\/{tableId}\/rows\/{rowId}": {
"\/databases\/{databaseId}\/grids\/tables\/{tableId}\/rows\/{rowId}": {
"get": {
"summary": "Get row",
"operationId": "tablesGetRow",
"operationId": "gridsGetRow",
"consumes": [],
"produces": [
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Get a row by its unique ID. This endpoint response returns a JSON object with the row data.",
"responses": {
@@ -5380,7 +5348,7 @@
"weight": 405,
"cookies": false,
"type": "",
"demo": "tables\/get-row.md",
"demo": "grids\/get-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-row.md",
"rate-limit": 0,
"rate-time": 3600,
@@ -5443,7 +5411,7 @@
},
"put": {
"summary": "Create or update a row",
"operationId": "tablesUpsertRow",
"operationId": "gridsUpsertRow",
"consumes": [
"application\/json"
],
@@ -5451,7 +5419,7 @@
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console.",
"responses": {
@@ -5469,7 +5437,7 @@
"weight": 408,
"cookies": false,
"type": "",
"demo": "tables\/upsert-row.md",
"demo": "grids\/upsert-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5484,9 +5452,7 @@
{
"name": "upsertRow",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [],
"required": [],
@@ -5563,7 +5529,7 @@
},
"patch": {
"summary": "Update row",
"operationId": "tablesUpdateRow",
"operationId": "gridsUpdateRow",
"consumes": [
"application\/json"
],
@@ -5571,7 +5537,7 @@
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Update a row by its unique ID. Using the patch method you can pass only specific fields that will get updated.",
"responses": {
@@ -5589,7 +5555,7 @@
"weight": 406,
"cookies": false,
"type": "",
"demo": "tables\/update-row.md",
"demo": "grids\/update-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5664,13 +5630,13 @@
},
"delete": {
"summary": "Delete row",
"operationId": "tablesDeleteRow",
"operationId": "gridsDeleteRow",
"consumes": [
"application\/json"
],
"produces": [],
"tags": [
"tables"
"grids"
],
"description": "Delete a row by its unique ID.",
"responses": {
@@ -5685,7 +5651,7 @@
"weight": 410,
"cookies": false,
"type": "",
"demo": "tables\/delete-row.md",
"demo": "grids\/delete-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-row.md",
"rate-limit": 60,
"rate-time": 60,
@@ -5916,7 +5882,7 @@
"type": "string",
"description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.",
"default": null,
"x-example": null
"x-example": "<SCHEDULED_AT>"
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+29 -57
View File
@@ -4610,10 +4610,9 @@
"methods": [
{
"name": "createDocument",
"namespace": "databases",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [
"databaseId",
@@ -4845,10 +4844,9 @@
"methods": [
{
"name": "upsertDocument",
"namespace": "databases",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [],
"required": [],
@@ -5108,16 +5106,16 @@
]
}
},
"\/databases\/{databaseId}\/tables\/{tableId}\/rows": {
"\/databases\/{databaseId}\/grids\/tables\/{tableId}\/rows": {
"get": {
"summary": "List rows",
"operationId": "tablesListRows",
"operationId": "gridsListRows",
"consumes": [],
"produces": [
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Get a list of all the user's rows in a given table. You can use the query params to filter your results.",
"responses": {
@@ -5135,7 +5133,7 @@
"weight": 412,
"cookies": false,
"type": "",
"demo": "tables\/list-rows.md",
"demo": "grids\/list-rows.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-rows.md",
"rate-limit": 0,
"rate-time": 3600,
@@ -5190,7 +5188,7 @@
},
"post": {
"summary": "Create row",
"operationId": "tablesCreateRow",
"operationId": "gridsCreateRow",
"consumes": [
"application\/json"
],
@@ -5198,7 +5196,7 @@
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console.",
"responses": {
@@ -5216,7 +5214,7 @@
"weight": 404,
"cookies": false,
"type": "",
"demo": "tables\/create-row.md",
"demo": "grids\/create-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5230,10 +5228,9 @@
"methods": [
{
"name": "createRow",
"namespace": "grids",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [
"databaseId",
@@ -5255,30 +5252,6 @@
}
],
"description": "Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console."
},
{
"name": "createRows",
"auth": {
"Admin": [],
"Key": []
},
"parameters": [
"databaseId",
"tableId",
"rows"
],
"required": [
"databaseId",
"tableId",
"rows"
],
"responses": [
{
"code": 201,
"model": "#\/definitions\/rowList"
}
],
"description": "Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console."
}
],
"auth": {
@@ -5351,16 +5324,16 @@
]
}
},
"\/databases\/{databaseId}\/tables\/{tableId}\/rows\/{rowId}": {
"\/databases\/{databaseId}\/grids\/tables\/{tableId}\/rows\/{rowId}": {
"get": {
"summary": "Get row",
"operationId": "tablesGetRow",
"operationId": "gridsGetRow",
"consumes": [],
"produces": [
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Get a row by its unique ID. This endpoint response returns a JSON object with the row data.",
"responses": {
@@ -5378,7 +5351,7 @@
"weight": 405,
"cookies": false,
"type": "",
"demo": "tables\/get-row.md",
"demo": "grids\/get-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-row.md",
"rate-limit": 0,
"rate-time": 3600,
@@ -5441,7 +5414,7 @@
},
"put": {
"summary": "Create or update a row",
"operationId": "tablesUpsertRow",
"operationId": "gridsUpsertRow",
"consumes": [
"application\/json"
],
@@ -5449,7 +5422,7 @@
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateTable) API or directly from your database console.",
"responses": {
@@ -5467,7 +5440,7 @@
"weight": 408,
"cookies": false,
"type": "",
"demo": "tables\/upsert-row.md",
"demo": "grids\/upsert-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5481,10 +5454,9 @@
"methods": [
{
"name": "upsertRow",
"namespace": "grids",
"auth": {
"Session": [],
"Key": [],
"JWT": []
"Project": []
},
"parameters": [],
"required": [],
@@ -5561,7 +5533,7 @@
},
"patch": {
"summary": "Update row",
"operationId": "tablesUpdateRow",
"operationId": "gridsUpdateRow",
"consumes": [
"application\/json"
],
@@ -5569,7 +5541,7 @@
"application\/json"
],
"tags": [
"tables"
"grids"
],
"description": "Update a row by its unique ID. Using the patch method you can pass only specific fields that will get updated.",
"responses": {
@@ -5587,7 +5559,7 @@
"weight": 406,
"cookies": false,
"type": "",
"demo": "tables\/update-row.md",
"demo": "grids\/update-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-row.md",
"rate-limit": 120,
"rate-time": 60,
@@ -5662,13 +5634,13 @@
},
"delete": {
"summary": "Delete row",
"operationId": "tablesDeleteRow",
"operationId": "gridsDeleteRow",
"consumes": [
"application\/json"
],
"produces": [],
"tags": [
"tables"
"grids"
],
"description": "Delete a row by its unique ID.",
"responses": {
@@ -5683,7 +5655,7 @@
"weight": 410,
"cookies": false,
"type": "",
"demo": "tables\/delete-row.md",
"demo": "grids\/delete-row.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-row.md",
"rate-limit": 60,
"rate-time": 60,
@@ -5914,7 +5886,7 @@
"type": "string",
"description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.",
"default": null,
"x-example": null
"x-example": "<SCHEDULED_AT>"
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -86,7 +86,7 @@
},
"require-dev": {
"ext-fileinfo": "*",
"appwrite/sdk-generator": "0.41.*",
"appwrite/sdk-generator": "dev-feat-multiple-namespaces",
"phpunit/phpunit": "9.*",
"swoole/ide-helper": "5.1.2",
"phpstan/phpstan": "1.8.*",
Generated
+10 -8
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "497a684d3c93c08d4741f5bb886a5474",
"content-hash": "7f1ef097cd83efca1018c4eb84b7bb05",
"packages": [
{
"name": "adhocore/jwt",
@@ -4810,16 +4810,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "0.41.23",
"version": "dev-feat-multiple-namespaces",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "188dff738ff7b9f1f9209b34ac2092b5456b1001"
"reference": "3130f9a952166f86f680b8385ca4441dcc1b7f0b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/188dff738ff7b9f1f9209b34ac2092b5456b1001",
"reference": "188dff738ff7b9f1f9209b34ac2092b5456b1001",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/3130f9a952166f86f680b8385ca4441dcc1b7f0b",
"reference": "3130f9a952166f86f680b8385ca4441dcc1b7f0b",
"shasum": ""
},
"require": {
@@ -4855,9 +4855,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": {
"issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/0.41.23"
"source": "https://github.com/appwrite/sdk-generator/tree/feat-multiple-namespaces"
},
"time": "2025-07-25T06:47:04+00:00"
"time": "2025-07-27T07:52:16+00:00"
},
{
"name": "doctrine/annotations",
@@ -8239,7 +8239,9 @@
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {},
"stability-flags": {
"appwrite/sdk-generator": 20
},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
@@ -215,6 +215,7 @@ class OpenAPI3 extends Format
$additionalMethod = [
'name' => $methodObj->getMethodName(),
'namespace' => $methodObj->getNamespace(),
'auth' => \array_slice($methodSecurities, 0, $this->authCount),
'parameters' => [],
'required' => [],
@@ -237,10 +238,16 @@ class OpenAPI3 extends Format
'model' => \array_map(fn ($m) => '#/components/schemas/' . $m, $response->getModel())
];
} else {
$additionalMethod['responses'][] = [
$responseData = [
'code' => $response->getCode(),
'model' => '#/components/schemas/' . $response->getModel()
];
// lets not assume stuff here!
if ($response->getCode() !== 204) {
$responseData['model'] = '#/components/schemas/' . $response->getModel();
}
$additionalMethod['responses'][] = $responseData;
}
}
@@ -224,6 +224,7 @@ class Swagger2 extends Format
$additionalMethod = [
'name' => $methodObj->getMethodName(),
'namespace' => $methodObj->getNamespace(),
'auth' => \array_slice($methodSecurities, 0, $this->authCount),
'parameters' => [],
'required' => [],
@@ -247,10 +248,16 @@ class Swagger2 extends Format
'model' => \array_map(fn ($m) => '#/definitions/' . $m, $response->getModel())
];
} else {
$additionalMethod['responses'][] = [
$responseData = [
'code' => $response->getCode(),
'model' => '#/definitions/' . $response->getModel()
];
// lets not assume stuff here!
if ($response->getCode() !== 204) {
$responseData['model'] = '#/definitions/' . $response->getModel();
}
$additionalMethod['responses'][] = $responseData;
}
}