Skip to content

Commit 87442e5

Browse files
committed
Add successful response and response headers to HEAD doc
1 parent 0cd3b51 commit 87442e5

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

api-reference/v2/tables/head-table-rows.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,12 @@ This endpoint may be polled to detect changes in the table's data.
99

1010
<Tip>
1111
To learn more about versioning and how to detect changes, please see our guide on [data versioning](/api-reference/v2/tables/versioning).
12-
</Tip>
12+
</Tip>
13+
14+
---
15+
16+
#### Response Headers
17+
18+
<ResponseField name="ETag" type="string">
19+
The current version of the table data.
20+
</ResponseField>

openapi/swagger.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,18 @@
908908
"/tables/{tableID}/rows": {
909909
"head": {
910910
"responses": {
911+
"200": {
912+
"description": "",
913+
"headers": {
914+
"ETag": {
915+
"schema": {
916+
"type": "string",
917+
"description": "The current version of the table"
918+
},
919+
"required": true
920+
}
921+
}
922+
},
911923
"400": {
912924
"description": "",
913925
"content": {

0 commit comments

Comments
 (0)