diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e76d29c..864eb58 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,8 +1,4 @@ -// For format details, see https://aka.ms/devcontainer.json. { - // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [3000], - - // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "script/setup && script/start" } diff --git a/api-reference/v2/resources/changelog.mdx b/api-reference/v2/resources/changelog.mdx index fc56c3f..ae15c31 100644 --- a/api-reference/v2/resources/changelog.mdx +++ b/api-reference/v2/resources/changelog.mdx @@ -3,6 +3,10 @@ title: Glide API Changelog sidebarTitle: Changelog --- +### June 18, 2025 + +- Added `GET /tables/{tableID}/rows/{rowID}` endpoint to retrieve a specific row by ID. + ### May 19, 2025 - When creating a table with the `POST /tables` endpoint, you can now specify one or more apps to link the new table to. diff --git a/api-reference/v2/tables/get-table-row.mdx b/api-reference/v2/tables/get-table-row.mdx new file mode 100644 index 0000000..8987286 --- /dev/null +++ b/api-reference/v2/tables/get-table-row.mdx @@ -0,0 +1,4 @@ +--- +title: Get Row by ID +openapi: get /tables/{tableID}/rows/{rowID} +--- diff --git a/mint.json b/mint.json index 179cb4d..a514052 100644 --- a/mint.json +++ b/mint.json @@ -37,6 +37,7 @@ "api-reference/v2/tables/versioning", "api-reference/v2/tables/get-tables", "api-reference/v2/tables/get-table-rows", + "api-reference/v2/tables/get-table-row", "api-reference/v2/tables/head-table-rows", "api-reference/v2/tables/post-tables", "api-reference/v2/tables/post-table-rows", diff --git a/openapi/swagger.json b/openapi/swagger.json index 35a740d..a40ae33 100644 --- a/openapi/swagger.json +++ b/openapi/swagger.json @@ -1848,33 +1848,15 @@ "type": "object", "properties": { "data": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": {}, - "description": "A row object conforming to the schema of the table, where keys are the column IDs and values are the column values:\n\n```json\n{\n\t\"fullName\": \"Alex Bard\",\n\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\"totalAmount\": 34.50,\n\t\"amountPaid\": 0\n}\n```", - "example": { - "fullName": "Alex Bard", - "invoiceDate": "2024-07-29T14:04:15.561Z", - "totalAmount": 34.5, - "amountPaid": 0 - } - }, - "description": "A collection of row objects conforming to the schema of the table where keys are the column IDs and values are the column values:\n\n```json\n[\n\t{\n\t\t\"fullName\": \"Alex Bard\",\n\t\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\t\"totalAmount\": 34.50,\n\t\t\"amountPaid\": 0\n\t},\n\t{\n\t\t\"fullName\": \"Alicia Hines\",\n\t\t\"invoiceDate\": \"2023-06-15T10:30:00.000Z\",\n\t\t\"totalAmount\": 50.75,\n\t\t\"amountPaid\": 20\n\t}\n]\n```", - "example": [ - { - "fullName": "Alex Bard", - "invoiceDate": "2024-07-29T14:04:15.561Z", - "totalAmount": 34.5, - "amountPaid": 0 - }, - { - "fullName": "Alicia Hines", - "invoiceDate": "2023-06-15T10:30:00.000Z", - "totalAmount": 50.75, - "amountPaid": 20 - } - ] + "type": "object", + "additionalProperties": {}, + "description": "A row object conforming to the schema of the table, where keys are the column IDs and values are the column values:\n\n```json\n{\n\t\"fullName\": \"Alex Bard\",\n\t\"invoiceDate\": \"2024-07-29T14:04:15.561Z\",\n\t\"totalAmount\": 34.50,\n\t\"amountPaid\": 0\n}\n```", + "example": { + "fullName": "Alex Bard", + "invoiceDate": "2024-07-29T14:04:15.561Z", + "totalAmount": 34.5, + "amountPaid": 0 + } } }, "required": [