full diff

social.colibri.beta.thread.update

colibri.social +10 −2
From
bafyreig7cdrou7ejehj77tqybohyy63rrtgsxtbjysxn65gvluaocvo7h4 indexed 2026-09-01 11:12 UTC View this version
To
bafyreihanjecutskva32rs3crbid7xqsuiqd4o26cvcilxyzzj5mni2koa indexed 2026-10-19 16:34 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.thread.update:input.closed" }
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.thread.update:input.locked" }
  • AddedEdge AddedEdge { src: "social.colibri.beta.thread.update:input", tgt: "social.colibri.beta.thread.update:input.closed", kind: "prop", name: Some("closed") }
  • AddedEdge AddedEdge { src: "social.colibri.beta.thread.update:input", tgt: "social.colibri.beta.thread.update:input.locked", kind: "prop", name: Some("locked") }

Migration guidance

Added

  • AddedVertex { vertex_id: "social.colibri.beta.thread.update:input.closed" }
  • AddedVertex { vertex_id: "social.colibri.beta.thread.update:input.locked" }

Notes

  • Non-breaking: AddedEdge { src: "social.colibri.beta.thread.update:input", tgt: "social.colibri.beta.thread.update:input.closed", kind: "prop", name: Some("closed") }
  • Non-breaking: AddedEdge { src: "social.colibri.beta.thread.update:input", tgt: "social.colibri.beta.thread.update:input.locked", kind: "prop", name: Some("locked") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Renames a thread or changes who may read it. An absent field leaves the current value unchanged.",
5 "description": "Renames, closes, reopens or locks a thread, or changes who may read it. An absent field leaves the current value unchanged.",
66 "errors": [
77 {
88 "description": "The request has no valid service auth.",
99 "name": "AuthRequired"
1010 },
1111 {
12 "description": "The requesting user lacks the thread.manage permission, and is not the user who opened the thread renaming it.",
12 "description": "The requesting user lacks the thread.manage permission and is not the user who opened the thread renaming, closing or reopening it. Changing visibility or locking always needs thread.manage, and the user who opened a locked thread can't close or reopen it.",
1313 "name": "Forbidden"
1414 },
1515 {
1616 "description": "No thread matches the given space reference.",
1717 "name": "ThreadNotFound"
1818 },
1919 {
2020 "description": "The requesting user cannot grant a role that outranks their own.",
2121 "name": "RoleHierarchy"
2222 },
2323 {
2424 "description": "The arguments are inconsistent or malformed beyond schema validation.",
2525 "name": "InvalidRequest"
2626 },
2727 {
2828 "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
2929 "name": "CredentialsUnavailable"
3030 }
3131 ],
3232 "input": {
3333 "encoding": "application/json",
3434 "schema": {
3535 "properties": {
36 "closed": {
37 "description": "Closes the thread when true and reopens it when false. Absent leaves the current value unchanged.",
38 "type": "boolean"
39 },
40 "locked": {
41 "description": "Locks the thread when true and unlocks it when false. Absent leaves the current value unchanged.",
42 "type": "boolean"
43 },
3644 "name": {
3745 "description": "The thread's title. Absent leaves the current value unchanged.",
3846 "maxLength": 128,
3947 "minLength": 1,
4048 "type": "string"
4149 },
4250 "thread": {
4351 "description": "The thread to update.",
4452 "format": "space-ref",
4553 "type": "string"
4654 },
4755 "visibleToMembers": {
4856 "description": "Members that may read this thread beyond visibleToRoles.",
4957 "items": {
5058 "description": "A member.",
5159 "format": "did",
5260 "type": "string"
5361 },
5462 "type": "array"
5563 },
5664 "visibleToRoles": {
5765 "description": "Roles that may read this thread. Empty means everyone who may read the channel may read the thread.",
5866 "items": {
5967 "description": "A role.",
6068 "format": "record-key",
6169 "type": "string"
6270 },
6371 "type": "array"
6472 }
6573 },
6674 "required": [
6775 "thread"
6876 ],
6977 "type": "object"
7078 }
7179 },
7280 "output": {
7381 "encoding": "application/json",
7482 "schema": {
7583 "properties": {
7684 "thread": {
7785 "description": "The thread, after the update.",
7886 "ref": "social.colibri.beta.thread.defs#threadView",
7987 "type": "ref"
8088 }
8189 },
8290 "required": [
8391 "thread"
8492 ],
8593 "type": "object"
8694 }
8795 },
8896 "type": "procedure"
8997 }
9098 },
9199 "id": "social.colibri.beta.thread.update",
92100 "lexicon": 1
93101}

Compare other versions