|
|
@ -14261,56 +14261,26 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"/api/v1/base/tables/{tableId}/rows/{rowId}": { |
|
|
|
"patch": { |
|
|
|
"parameters": [ |
|
|
|
"summary": "Update Table View Row", |
|
|
|
{ |
|
|
|
"operationId": "table-row-update", |
|
|
|
"schema": { |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"name": "tableId", |
|
|
|
|
|
|
|
"in": "path", |
|
|
|
|
|
|
|
"required": true, |
|
|
|
|
|
|
|
"description": "Table Id" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"schema": { |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"name": "viewId", |
|
|
|
|
|
|
|
"in": "query", |
|
|
|
|
|
|
|
"required": true |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"schema": { |
|
|
|
|
|
|
|
"example": "1" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"name": "rowId", |
|
|
|
|
|
|
|
"in": "path", |
|
|
|
|
|
|
|
"required": true, |
|
|
|
|
|
|
|
"description": "Unique Row ID" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"get": { |
|
|
|
|
|
|
|
"summary": "Get Table View Row", |
|
|
|
|
|
|
|
"operationId": "db-view-row-read", |
|
|
|
|
|
|
|
"responses": { |
|
|
|
"responses": { |
|
|
|
"200": { |
|
|
|
"200": { |
|
|
|
"description": "OK", |
|
|
|
"description": "OK", |
|
|
|
"content": { |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
"schema": { |
|
|
|
"type": "object", |
|
|
|
"type": "object" |
|
|
|
"properties": {} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
"examples": { |
|
|
|
"examples": { |
|
|
|
"Example 1": { |
|
|
|
"Example 1": { |
|
|
|
"value": { |
|
|
|
"value": { |
|
|
|
"Id": 1, |
|
|
|
"Id": 1, |
|
|
|
"Title": "foo", |
|
|
|
"Title": "bar", |
|
|
|
"CreatedAt": "2023-03-11T09:11:47.437Z", |
|
|
|
"CreatedAt": "2023-03-11T09:11:47.437Z", |
|
|
|
"UpdatedAt": "2023-03-11T09:11:47.784Z" |
|
|
|
"UpdatedAt": "2023-03-11T09:20:21.133Z" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -14321,33 +14291,55 @@ |
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
"description": "Get the target Table View Row", |
|
|
|
|
|
|
|
"tags": ["DB Table Row"], |
|
|
|
"tags": ["DB Table Row"], |
|
|
|
|
|
|
|
"requestBody": { |
|
|
|
|
|
|
|
"content": { |
|
|
|
|
|
|
|
"application/json": { |
|
|
|
|
|
|
|
"schema": { |
|
|
|
|
|
|
|
"oneOf": [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"type": "array", |
|
|
|
|
|
|
|
"items": { |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"examples": { |
|
|
|
|
|
|
|
"Example 1": { |
|
|
|
|
|
|
|
"value": { |
|
|
|
|
|
|
|
"Id": 1, |
|
|
|
|
|
|
|
"Title": "bar" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"description": "Update the target Table View Row", |
|
|
|
"parameters": [ |
|
|
|
"parameters": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
"patch": { |
|
|
|
"delete": { |
|
|
|
"summary": "Update Table View Row", |
|
|
|
"summary": "Delete Table View Row", |
|
|
|
"operationId": "table-row-update", |
|
|
|
"operationId": "table-row-delete", |
|
|
|
"responses": { |
|
|
|
"responses": { |
|
|
|
"200": { |
|
|
|
"200": { |
|
|
|
"description": "OK", |
|
|
|
"description": "OK", |
|
|
|
"content": { |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
"schema": { |
|
|
|
"type": "object" |
|
|
|
"type": "number" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"examples": { |
|
|
|
"examples": { |
|
|
|
"Example 1": { |
|
|
|
"Example 1": { |
|
|
|
"value": { |
|
|
|
"value": 1 |
|
|
|
"Id": 1, |
|
|
|
|
|
|
|
"Title": "bar", |
|
|
|
|
|
|
|
"CreatedAt": "2023-03-11T09:11:47.437Z", |
|
|
|
|
|
|
|
"UpdatedAt": "2023-03-11T09:20:21.133Z" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -14357,44 +14349,91 @@ |
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
"tags": ["DB Table Row"], |
|
|
|
|
|
|
|
"requestBody": { |
|
|
|
"requestBody": { |
|
|
|
"content": { |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
"schema": { |
|
|
|
"type": "object" |
|
|
|
"oneOf": [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"type": "array", |
|
|
|
|
|
|
|
"items": { |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
"examples": { |
|
|
|
"examples": { |
|
|
|
"Example 1": { |
|
|
|
"Example 1": { |
|
|
|
"value": { |
|
|
|
"value": { |
|
|
|
"Title": "bar" |
|
|
|
"Id": 1 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
"description": "Update the target Table View Row", |
|
|
|
"tags": ["DB Table Row"], |
|
|
|
|
|
|
|
"description": "Delete the target Table View Row", |
|
|
|
"parameters": [ |
|
|
|
"parameters": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
} |
|
|
|
"delete": { |
|
|
|
}, |
|
|
|
"summary": "Delete Table View Row", |
|
|
|
"/api/v1/base/tables/{tableId}/rows/{rowId}": { |
|
|
|
"operationId": "table-row-delete", |
|
|
|
"parameters": [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"schema": { |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"name": "tableId", |
|
|
|
|
|
|
|
"in": "path", |
|
|
|
|
|
|
|
"required": true, |
|
|
|
|
|
|
|
"description": "Table Id" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"schema": { |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"name": "viewId", |
|
|
|
|
|
|
|
"in": "query", |
|
|
|
|
|
|
|
"required": true |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"schema": { |
|
|
|
|
|
|
|
"example": "1" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"name": "rowId", |
|
|
|
|
|
|
|
"in": "path", |
|
|
|
|
|
|
|
"required": true, |
|
|
|
|
|
|
|
"description": "Unique Row ID" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"get": { |
|
|
|
|
|
|
|
"summary": "Get Table View Row", |
|
|
|
|
|
|
|
"operationId": "db-view-row-read", |
|
|
|
"responses": { |
|
|
|
"responses": { |
|
|
|
"200": { |
|
|
|
"200": { |
|
|
|
"description": "OK", |
|
|
|
"description": "OK", |
|
|
|
"content": { |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
"schema": { |
|
|
|
"type": "number" |
|
|
|
"type": "object", |
|
|
|
|
|
|
|
"properties": {} |
|
|
|
}, |
|
|
|
}, |
|
|
|
"examples": { |
|
|
|
"examples": { |
|
|
|
"Example 1": { |
|
|
|
"Example 1": { |
|
|
|
"value": 1 |
|
|
|
"value": { |
|
|
|
|
|
|
|
"Id": 1, |
|
|
|
|
|
|
|
"Title": "foo", |
|
|
|
|
|
|
|
"CreatedAt": "2023-03-11T09:11:47.437Z", |
|
|
|
|
|
|
|
"UpdatedAt": "2023-03-11T09:11:47.784Z" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -14404,8 +14443,8 @@ |
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
"$ref": "#/components/responses/BadRequest" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
"description": "Get the target Table View Row", |
|
|
|
"tags": ["DB Table Row"], |
|
|
|
"tags": ["DB Table Row"], |
|
|
|
"description": "Delete the target Table View Row", |
|
|
|
|
|
|
|
"parameters": [ |
|
|
|
"parameters": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|
"$ref": "#/components/parameters/xc-auth" |
|
|
|