full diff

social.colibri.beta.channel.create

colibri.social +8 −39
From
bafyreidqrf2a4xtjyavw7zlswx4k3ibflac6vdjpdbg3y7pqganvsdmnfi indexed 2026-08-23 12:32 UTC View this version
To
bafyreibope3vhzs4kpmx5lezlhbdupa6xbbirbectsbffowg5fw2rwze5m indexed 2026-11-14 11:13 UTC View this version

Compatibility

breaking 18 breaking changes, 6 non-breaking changes.

Breaking changes (18)
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.allowedMembers" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.allowedMembers:items" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.allowedRoles" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.allowedRoles:items" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.ownerOnly" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.visibleToMembers" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.visibleToMembers:items" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.visibleToRoles" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.visibleToRoles:items" }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.allowedMembers", kind: "prop", name: Some("allowedMembers") }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.allowedRoles", kind: "prop", name: Some("allowedRoles") }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.ownerOnly", kind: "prop", name: Some("ownerOnly") }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.visibleToMembers", kind: "prop", name: Some("visibleToMembers") }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.visibleToRoles", kind: "prop", name: Some("visibleToRoles") }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input.allowedMembers", tgt: "social.colibri.beta.channel.create:input.allowedMembers:items", kind: "items", name: None }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input.allowedRoles", tgt: "social.colibri.beta.channel.create:input.allowedRoles:items", kind: "items", name: None }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input.visibleToMembers", tgt: "social.colibri.beta.channel.create:input.visibleToMembers:items", kind: "items", name: None }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.channel.create:input.visibleToRoles", tgt: "social.colibri.beta.channel.create:input.visibleToRoles:items", kind: "items", name: None }
Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.channel.create:input.permissionOverrides" }
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.channel.create:input.permissionOverrides:items" }
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.defs#permissionOverride" }
  • AddedEdge AddedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.permissionOverrides", kind: "prop", name: Some("permissionOverrides") }
  • AddedEdge AddedEdge { src: "social.colibri.beta.channel.create:input.permissionOverrides", tgt: "social.colibri.beta.channel.create:input.permissionOverrides:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "social.colibri.beta.channel.create:input.permissionOverrides:items", tgt: "social.colibri.beta.defs#permissionOverride", kind: "ref", name: None }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.allowedMembers" }
  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.allowedMembers:items" }
  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.allowedRoles" }
  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.allowedRoles:items" }
  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.ownerOnly" }
  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.visibleToMembers" }
  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.visibleToMembers:items" }
  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.visibleToRoles" }
  • RemovedVertex { vertex_id: "social.colibri.beta.channel.create:input.visibleToRoles:items" }

Added

  • AddedVertex { vertex_id: "social.colibri.beta.channel.create:input.permissionOverrides" }
  • AddedVertex { vertex_id: "social.colibri.beta.channel.create:input.permissionOverrides:items" }
  • AddedVertex { vertex_id: "social.colibri.beta.defs#permissionOverride" }

Notes

  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.allowedMembers", kind: "prop", name: Some("allowedMembers") }
  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.allowedRoles", kind: "prop", name: Some("allowedRoles") }
  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.ownerOnly", kind: "prop", name: Some("ownerOnly") }
  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.visibleToMembers", kind: "prop", name: Some("visibleToMembers") }
  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.visibleToRoles", kind: "prop", name: Some("visibleToRoles") }
  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input.allowedMembers", tgt: "social.colibri.beta.channel.create:input.allowedMembers:items", kind: "items", name: None }
  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input.allowedRoles", tgt: "social.colibri.beta.channel.create:input.allowedRoles:items", kind: "items", name: None }
  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input.visibleToMembers", tgt: "social.colibri.beta.channel.create:input.visibleToMembers:items", kind: "items", name: None }
  • Breaking: RemovedEdge { src: "social.colibri.beta.channel.create:input.visibleToRoles", tgt: "social.colibri.beta.channel.create:input.visibleToRoles:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "social.colibri.beta.channel.create:input", tgt: "social.colibri.beta.channel.create:input.permissionOverrides", kind: "prop", name: Some("permissionOverrides") }
  • Non-breaking: AddedEdge { src: "social.colibri.beta.channel.create:input.permissionOverrides", tgt: "social.colibri.beta.channel.create:input.permissionOverrides:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "social.colibri.beta.channel.create:input.permissionOverrides:items", tgt: "social.colibri.beta.defs#permissionOverride", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Creates a channel. This creates a space for the channel, then writes the channel's configuration record at key 'self' inside that space.",
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.create permission.",
1313 "name": "Forbidden"
1414 },
1515 {
1616 "description": "No community matches the given DID.",
1717 "name": "CommunityNotFound"
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 arguments are inconsistent or malformed beyond schema validation.",
2929 "name": "InvalidRequest"
3030 },
3131 {
3232 "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
3333 "name": "CredentialsUnavailable"
3434 },
3535 {
3636 "description": "The community's PDS is unreachable or the AppView has no administrative access to it.",
3737 "name": "PdsUnavailable"
3838 },
3939 {
4040 "description": "The community's PDS failed while creating the channel's space.",
4141 "name": "UpstreamFailure"
4242 }
4343 ],
4444 "input": {
4545 "encoding": "application/json",
4646 "schema": {
4747 "properties": {
48 "allowedMembers": {
49 "description": "Members allowed to post here in addition to allowedRoles.",
50 "items": {
51 "description": "A member permitted to post.",
52 "format": "did",
53 "type": "string"
54 },
55 "type": "array"
56 },
57 "allowedRoles": {
58 "description": "Roles allowed to post here.",
59 "items": {
60 "description": "A role permitted to post.",
61 "format": "record-key",
62 "type": "string"
63 },
64 "type": "array"
65 },
6648 "category": {
6749 "description": "The category to list the channel under.",
6850 "format": "record-key",
6951 "type": "string"
7052 },
7153 "community": {
7254 "description": "The community the channel belongs to.",
7355 "format": "did",
7456 "type": "string"
7557 },
7658 "description": {
7759 "description": "The channel's topic.",
7860 "maxLength": 256,
7961 "type": "string"
8062 },
8163 "name": {
8264 "description": "The channel's name.",
8365 "maxLength": 32,
8466 "minLength": 1,
8567 "type": "string"
8668 },
87 "ownerOnly": {
88 "description": "Whether only community admins may post.",
89 "type": "boolean"
69 "permissionOverrides": {
70 "description": "Per-role and per-member permission overrides.",
71 "items": {
72 "ref": "social.colibri.beta.defs#permissionOverride",
73 "type": "ref"
74 },
75 "maxLength": 200,
76 "type": "array"
9077 },
9178 "type": {
9279 "description": "The channel's space type.",
9380 "format": "nsid",
9481 "knownValues": [
9582 "social.colibri.beta.channel.text",
9683 "social.colibri.beta.channel.voice"
9784 ],
9885 "type": "string"
99 },
100 "visibleToMembers": {
101 "description": "Members that may read this channel beyond visibleToRoles.",
102 "items": {
103 "description": "A member.",
104 "format": "did",
105 "type": "string"
106 },
107 "type": "array"
108 },
109 "visibleToRoles": {
110 "description": "Roles that may read this channel. Empty means every member may.",
111 "items": {
112 "description": "A role.",
113 "format": "record-key",
114 "type": "string"
115 },
116 "type": "array"
11786 }
11887 },
11988 "required": [
12089 "community",
12190 "type",
12291 "name",
12392 "category"
12493 ],
12594 "type": "object"
12695 }
12796 },
12897 "output": {
12998 "encoding": "application/json",
13099 "schema": {
131100 "properties": {
132101 "channel": {
133102 "description": "The newly created channel.",
134103 "ref": "social.colibri.beta.community.defs#channelView",
135104 "type": "ref"
136105 }
137106 },
138107 "required": [
139108 "channel"
140109 ],
141110 "type": "object"
142111 }
143112 },
144113 "type": "procedure"
145114 }
146115 },
147116 "id": "social.colibri.beta.channel.create",
148117 "lexicon": 1
149118}

Compare other versions