Skip to content

Commit d5dcf97

Browse files
authored
Merge pull request #215 from flashcatcloud/codex/postmortem-meta-generation-revision
docs(api): add generation and revision to PostMortemMeta schema
2 parents f705acd + 807cfd7 commit d5dcf97

4 files changed

Lines changed: 48 additions & 0 deletions

File tree

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24429,6 +24429,8 @@
2442924429
"team_id",
2443024430
"channel_id",
2443124431
"is_private",
24432+
"generation",
24433+
"revision",
2443224434
"channel_name",
2443324435
"created_at_seconds",
2443424436
"updated_at_seconds"
@@ -24492,6 +24494,16 @@
2449224494
"type": "boolean",
2449324495
"description": "When true, only team members and admins can view."
2449424496
},
24497+
"generation": {
24498+
"type": "integer",
24499+
"format": "int64",
24500+
"description": "Collaboration document generation. Incremented by each full content reset; 0 for legacy documents."
24501+
},
24502+
"revision": {
24503+
"type": "integer",
24504+
"format": "int64",
24505+
"description": "Content revision for optimistic concurrency. Monotonically increases on collaborative saves and full content resets."
24506+
},
2449524507
"channel_name": {
2449624508
"type": "string",
2449724509
"description": "Channel name, filled by the server."

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24420,6 +24420,8 @@
2442024420
"team_id",
2442124421
"channel_id",
2442224422
"is_private",
24423+
"generation",
24424+
"revision",
2442324425
"channel_name",
2442424426
"created_at_seconds",
2442524427
"updated_at_seconds"
@@ -24483,6 +24485,16 @@
2448324485
"type": "boolean",
2448424486
"description": "为 true 时仅团队成员和管理员可查看。"
2448524487
},
24488+
"generation": {
24489+
"type": "integer",
24490+
"format": "int64",
24491+
"description": "协作文档代次。每次正文完整重置(content/reset)+1;存量旧文档为 0。"
24492+
},
24493+
"revision": {
24494+
"type": "integer",
24495+
"format": "int64",
24496+
"description": "正文乐观并发修订号,全局单调递增;协作保存和正文重置都会使其递增。"
24497+
},
2448624498
"channel_name": {
2448724499
"type": "string",
2448824500
"description": "协作空间名称,由服务端填充。"

api-reference/openapi.en.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29596,6 +29596,8 @@
2959629596
"team_id",
2959729597
"channel_id",
2959829598
"is_private",
29599+
"generation",
29600+
"revision",
2959929601
"channel_name",
2960029602
"created_at_seconds",
2960129603
"updated_at_seconds"
@@ -29659,6 +29661,16 @@
2965929661
"type": "boolean",
2966029662
"description": "When true, only team members and admins can view."
2966129663
},
29664+
"generation": {
29665+
"type": "integer",
29666+
"format": "int64",
29667+
"description": "Collaboration document generation. Incremented by each full content reset; 0 for legacy documents."
29668+
},
29669+
"revision": {
29670+
"type": "integer",
29671+
"format": "int64",
29672+
"description": "Content revision for optimistic concurrency. Monotonically increases on collaborative saves and full content resets."
29673+
},
2966229674
"channel_name": {
2966329675
"type": "string",
2966429676
"description": "Channel name, filled by the server."

api-reference/openapi.zh.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29587,6 +29587,8 @@
2958729587
"team_id",
2958829588
"channel_id",
2958929589
"is_private",
29590+
"generation",
29591+
"revision",
2959029592
"channel_name",
2959129593
"created_at_seconds",
2959229594
"updated_at_seconds"
@@ -29650,6 +29652,16 @@
2965029652
"type": "boolean",
2965129653
"description": "为 true 时仅团队成员和管理员可查看。"
2965229654
},
29655+
"generation": {
29656+
"type": "integer",
29657+
"format": "int64",
29658+
"description": "协作文档代次。每次正文完整重置(content/reset)+1;存量旧文档为 0。"
29659+
},
29660+
"revision": {
29661+
"type": "integer",
29662+
"format": "int64",
29663+
"description": "正文乐观并发修订号,全局单调递增;协作保存和正文重置都会使其递增。"
29664+
},
2965329665
"channel_name": {
2965429666
"type": "string",
2965529667
"description": "协作空间名称,由服务端填充。"

0 commit comments

Comments
 (0)