full diff

social.colibri.beta.channel.update

colibri.social +4 −0
From
bafyreif2t7gnwgncqphnhvqw2ieio4zrc4qkrqhkw26i73zhpdysb5dbia indexed 2026-08-23 12:32 UTC View this version
To
bafyreidjshn4kxk6kjwv2dlaotd74ogcjb6x3f4huvjkoifq3ixi6a6awa indexed 2026-10-17 07:28 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.channel.update:input.removeLinkEmbeds" }
  • AddedEdge AddedEdge { src: "social.colibri.beta.channel.update:input", tgt: "social.colibri.beta.channel.update:input.removeLinkEmbeds", kind: "prop", name: Some("removeLinkEmbeds") }

Migration guidance

Added

  • AddedVertex { vertex_id: "social.colibri.beta.channel.update:input.removeLinkEmbeds" }

Notes

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

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Updates a channel's configuration. 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 {
1212 "description": "The requesting user lacks the channel.update permission.",
1313 "name": "Forbidden"
1414 },
1515 {
1616 "description": "No channel matches the given space reference.",
1717 "name": "ChannelNotFound"
1818 },
1919 {
2020 "description": "No category matches the given record key.",
2121 "name": "CategoryNotFound"
2222 },
2323 {
2424 "description": "The requesting user cannot grant a role that outranks their own.",
2525 "name": "RoleHierarchy"
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": {
3636 "allowedMembers": {
3737 "description": "Members allowed to post here in addition to allowedRoles. Absent leaves the current value unchanged.",
3838 "items": {
3939 "description": "A member permitted to post.",
4040 "format": "did",
4141 "type": "string"
4242 },
4343 "type": "array"
4444 },
4545 "allowedRoles": {
4646 "description": "Roles allowed to post here. Absent leaves the current value unchanged.",
4747 "items": {
4848 "description": "A role permitted to post.",
4949 "format": "record-key",
5050 "type": "string"
5151 },
5252 "type": "array"
5353 },
5454 "category": {
5555 "description": "The category to move the channel to. Absent leaves the current value unchanged.",
5656 "format": "record-key",
5757 "type": "string"
5858 },
5959 "channel": {
6060 "description": "The channel to update.",
6161 "format": "space-ref",
6262 "type": "string"
6363 },
6464 "description": {
6565 "description": "The channel's topic. Absent leaves the current value unchanged.",
6666 "maxLength": 256,
6767 "type": "string"
6868 },
6969 "linkEmbeds": {
7070 "description": "Whether link previews are shown here. Absent leaves the current value unchanged.",
7171 "type": "boolean"
7272 },
7373 "name": {
7474 "description": "The channel's name. Absent leaves the current value unchanged.",
7575 "maxLength": 32,
7676 "minLength": 1,
7777 "type": "string"
7878 },
7979 "ownerOnly": {
8080 "description": "Whether only community admins may post. Absent leaves the current value unchanged.",
8181 "type": "boolean"
8282 },
83 "removeLinkEmbeds": {
84 "description": "Clears the channel's link preview setting so the community default applies. Ignored when linkEmbeds is also given.",
85 "type": "boolean"
86 },
8387 "visibleToMembers": {
8488 "description": "Members that may read this channel beyond visibleToRoles.",
8589 "items": {
8690 "description": "A member.",
8791 "format": "did",
8892 "type": "string"
8993 },
9094 "type": "array"
9195 },
9296 "visibleToRoles": {
9397 "description": "Roles that may read this channel. Empty means every member may.",
9498 "items": {
9599 "description": "A role.",
96100 "format": "record-key",
97101 "type": "string"
98102 },
99103 "type": "array"
100104 }
101105 },
102106 "required": [
103107 "channel"
104108 ],
105109 "type": "object"
106110 }
107111 },
108112 "output": {
109113 "encoding": "application/json",
110114 "schema": {
111115 "properties": {
112116 "channel": {
113117 "description": "The channel, after the update.",
114118 "ref": "social.colibri.beta.community.defs#channelView",
115119 "type": "ref"
116120 }
117121 },
118122 "required": [
119123 "channel"
120124 ],
121125 "type": "object"
122126 }
123127 },
124128 "type": "procedure"
125129 }
126130 },
127131 "id": "social.colibri.beta.channel.update",
128132 "lexicon": 1
129133}

Compare other versions