Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions api-reference/v2/resources/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ title: Glide API Changelog
sidebarTitle: Changelog
---

### April 1, 2025

- Clarified that the version supplied in the `If-Match` header is compared against the row version, not the table version, in the Update Row endpoint.
- Added HTTP 412 Precondition Failed as a possible error for endpoints that accept an `If-Match` header.

### December 13, 2024

- Clarified that endpoints return row IDs in the same order as the input rows.
Expand Down
74 changes: 72 additions & 2 deletions openapi/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,41 @@
}
}
},
"412": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"precondition_failed"
]
},
"message": {
"type": "string"
}
},
"required": [
"type",
"message"
],
"additionalProperties": false
}
},
"required": [
"error"
],
"additionalProperties": false
}
}
}
},
"422": {
"description": "",
"content": {
Expand Down Expand Up @@ -655,7 +690,7 @@
"schema": {
"type": "string",
"pattern": "^\"[0-9]+\"$",
"description": "ETag of the current table version. If provided, the request will fail if the table has been updated since this version."
"description": "ETag of the current table version. If provided, the request will fail if the table has been updated since the given version. See [Data Versioning](/api-reference/v2/tables/versioning)."
},
"required": false
},
Expand Down Expand Up @@ -1449,6 +1484,41 @@
}
}
},
"412": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"precondition_failed"
]
},
"message": {
"type": "string"
}
},
"required": [
"type",
"message"
],
"additionalProperties": false
}
},
"required": [
"error"
],
"additionalProperties": false
}
}
}
},
"422": {
"description": "",
"content": {
Expand Down Expand Up @@ -1494,7 +1564,7 @@
"schema": {
"type": "string",
"pattern": "^\"[0-9]+\"$",
"description": "ETag of the current table version. If provided, the request will fail if the table has been updated since this version."
"description": "ETag of the current table version. If provided, the request will fail if this row has been updated since the given version. See [Data Versioning](/api-reference/v2/tables/versioning)."
},
"required": false
},
Expand Down
Loading