Skip to content

Commit f705acd

Browse files
authored
Merge pull request #214 from flashcatcloud/codex/reset-content-expected-revision-nullable
docs(api): make post-mortem content reset expected_revision nullable
2 parents 1a61da6 + 28c6fe6 commit f705acd

4 files changed

Lines changed: 20 additions & 8 deletions

File tree

‎api-reference/on-call.openapi.en.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29019,10 +29019,13 @@
2901929019
"description": "Replacement Markdown content. Limited to 4 MiB."
2902029020
},
2902129021
"expected_revision": {
29022-
"type": "integer",
29022+
"type": [
29023+
"integer",
29024+
"null"
29025+
],
2902329026
"format": "int64",
2902429027
"minimum": 0,
29025-
"description": "Current content revision expected by the caller."
29028+
"description": "Current content revision expected by the caller. Pass 0 for the first write to a document that has never been saved."
2902629029
},
2902729030
"idempotency_key": {
2902829031
"type": "string",

‎api-reference/on-call.openapi.zh.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29010,10 +29010,13 @@
2901029010
"description": "替换后的 Markdown 正文,最大 4 MiB。"
2901129011
},
2901229012
"expected_revision": {
29013-
"type": "integer",
29013+
"type": [
29014+
"integer",
29015+
"null"
29016+
],
2901429017
"format": "int64",
2901529018
"minimum": 0,
29016-
"description": "调用方预期的当前正文修订版本。"
29019+
"description": "调用方预期的当前正文修订版本。首次写入从未保存过的文档时传 0。"
2901729020
},
2901829021
"idempotency_key": {
2901929022
"type": "string",

‎api-reference/openapi.en.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44308,10 +44308,13 @@
4430844308
"description": "Replacement Markdown content. Limited to 4 MiB."
4430944309
},
4431044310
"expected_revision": {
44311-
"type": "integer",
44311+
"type": [
44312+
"integer",
44313+
"null"
44314+
],
4431244315
"format": "int64",
4431344316
"minimum": 0,
44314-
"description": "Current content revision expected by the caller."
44317+
"description": "Current content revision expected by the caller. Pass 0 for the first write to a document that has never been saved."
4431544318
},
4431644319
"idempotency_key": {
4431744320
"type": "string",

‎api-reference/openapi.zh.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44299,10 +44299,13 @@
4429944299
"description": "替换后的 Markdown 正文,最大 4 MiB。"
4430044300
},
4430144301
"expected_revision": {
44302-
"type": "integer",
44302+
"type": [
44303+
"integer",
44304+
"null"
44305+
],
4430344306
"format": "int64",
4430444307
"minimum": 0,
44305-
"description": "调用方预期的当前正文修订版本。"
44308+
"description": "调用方预期的当前正文修订版本。首次写入从未保存过的文档时传 0。"
4430644309
},
4430744310
"idempotency_key": {
4430844311
"type": "string",

0 commit comments

Comments
 (0)