Skip to content

Commit 2551bf2

Browse files
authored
Merge pull request #61 from glideapps/api-update-glide-pr-34804
OpenAPI spec update from glideapps/glide#34804
2 parents 1dadd95 + 5769930 commit 2551bf2

File tree

5 files changed

+18
-31
lines changed

5 files changed

+18
-31
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
// For format details, see https://aka.ms/devcontainer.json.
21
{
3-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
42
"forwardPorts": [3000],
5-
6-
// Use 'postCreateCommand' to run commands after the container is created.
73
"postCreateCommand": "script/setup && script/start"
84
}

api-reference/v2/resources/changelog.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ title: Glide API Changelog
33
sidebarTitle: Changelog
44
---
55

6+
### June 18, 2025
7+
8+
- Added `GET /tables/{tableID}/rows/{rowID}` endpoint to retrieve a specific row by ID.
9+
610
### May 19, 2025
711

812
- When creating a table with the `POST /tables` endpoint, you can now specify one or more apps to link the new table to.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: Get Row by ID
3+
openapi: get /tables/{tableID}/rows/{rowID}
4+
---

mint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"api-reference/v2/tables/versioning",
3838
"api-reference/v2/tables/get-tables",
3939
"api-reference/v2/tables/get-table-rows",
40+
"api-reference/v2/tables/get-table-row",
4041
"api-reference/v2/tables/head-table-rows",
4142
"api-reference/v2/tables/post-tables",
4243
"api-reference/v2/tables/post-table-rows",

openapi/swagger.json

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,33 +1848,15 @@
18481848
"type": "object",
18491849
"properties": {
18501850
"data": {
1851-
"type": "array",
1852-
"items": {
1853-
"type": "object",
1854-
"additionalProperties": {},
1855-
"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```",
1856-
"example": {
1857-
"fullName": "Alex Bard",
1858-
"invoiceDate": "2024-07-29T14:04:15.561Z",
1859-
"totalAmount": 34.5,
1860-
"amountPaid": 0
1861-
}
1862-
},
1863-
"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```",
1864-
"example": [
1865-
{
1866-
"fullName": "Alex Bard",
1867-
"invoiceDate": "2024-07-29T14:04:15.561Z",
1868-
"totalAmount": 34.5,
1869-
"amountPaid": 0
1870-
},
1871-
{
1872-
"fullName": "Alicia Hines",
1873-
"invoiceDate": "2023-06-15T10:30:00.000Z",
1874-
"totalAmount": 50.75,
1875-
"amountPaid": 20
1876-
}
1877-
]
1851+
"type": "object",
1852+
"additionalProperties": {},
1853+
"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```",
1854+
"example": {
1855+
"fullName": "Alex Bard",
1856+
"invoiceDate": "2024-07-29T14:04:15.561Z",
1857+
"totalAmount": 34.5,
1858+
"amountPaid": 0
1859+
}
18781860
}
18791861
},
18801862
"required": [

0 commit comments

Comments
 (0)