full diff

tools.umbrae.community.getCommunity

From
bafyreibj5muufn7q5skabbnoylcbwnqfbtnakuihfp6wn2gg4bqunidlum indexed 2026-11-26 10:23 UTC View this version
To
bafyreid2fhsj6uzlz6pt4dg467bonut23vkz4mqddz7z45a5ns3wrf7tdq indexed 2026-11-27 10:04 UTC View this version

Compatibility

breaking 13 breaking changes, 8 non-breaking changes.

Breaking changes (13)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.listed", kind: "prop", name: Some("listed") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.appClientId", kind: "prop", name: Some("appClientId") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.community", kind: "prop", name: Some("community") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "tools.umbrae.community.getCommunity#viewerState", src: "tools.umbrae.community.getCommunity#viewerState", tgt: "tools.umbrae.community.getCommunity#viewerState.moderator", kind: "prop", name: Some("moderator") }
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.handle", kind: "prop", name: Some("handle") }
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.did", kind: "prop", name: Some("did") }
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.managingApp", kind: "prop", name: Some("managingApp") }
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.space", kind: "prop", name: Some("space") }
  • RemovedVertex RemovedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.did" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.handle" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.managingApp" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.space" }
  • ConstraintTightened ConstraintTightened { vertex_id: "tools.umbrae.community.getCommunity#viewerState.role", sort: "knownValues", old_value: "[\"member\",\"moderator\"]", new_value: "[\"reader\",\"writer\"]" }
Non-breaking changes (8)
  • AddedVertex AddedVertex { vertex_id: "tools.umbrae.community.defs#communityRef" }
  • AddedVertex AddedVertex { vertex_id: "tools.umbrae.community.getCommunity#viewerState.moderator" }
  • AddedVertex AddedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.appClientId" }
  • AddedVertex AddedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.community" }
  • AddedVertex AddedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.labeler" }
  • AddedVertex AddedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.listed" }
  • AddedEdge AddedEdge { src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.labeler", kind: "prop", name: Some("labeler") }
  • AddedEdge AddedEdge { src: "tools.umbrae.community.getCommunity:output.community", tgt: "tools.umbrae.community.defs#communityRef", kind: "ref", name: None }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.did" }
  • RemovedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.handle" }
  • RemovedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.managingApp" }
  • RemovedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.space" }

Added

  • AddedVertex { vertex_id: "tools.umbrae.community.defs#communityRef" }
  • AddedVertex { vertex_id: "tools.umbrae.community.getCommunity#viewerState.moderator" }
  • AddedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.appClientId" }
  • AddedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.community" }
  • AddedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.labeler" }
  • AddedVertex { vertex_id: "tools.umbrae.community.getCommunity:output.listed" }

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "tools.umbrae.community.getCommunity#viewerState.role", sort: "knownValues", old_value: "[\"member\",\"moderator\"]", new_value: "[\"reader\",\"writer\"]" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "tools.umbrae.community.getCommunity#viewerState", src: "tools.umbrae.community.getCommunity#viewerState", tgt: "tools.umbrae.community.getCommunity#viewerState.moderator", kind: "prop", name: Some("moderator") }
  • Breaking: RequiredEdgeAdded { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.listed", kind: "prop", name: Some("listed") }
  • Breaking: RequiredEdgeAdded { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.appClientId", kind: "prop", name: Some("appClientId") }
  • Breaking: RequiredEdgeAdded { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.community", kind: "prop", name: Some("community") }
  • Breaking: RequiredEdgeRemoved { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.handle", kind: "prop", name: Some("handle") }
  • Breaking: RequiredEdgeRemoved { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.did", kind: "prop", name: Some("did") }
  • Breaking: RequiredEdgeRemoved { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.managingApp", kind: "prop", name: Some("managingApp") }
  • Breaking: RequiredEdgeRemoved { vertex_id: "tools.umbrae.community.getCommunity:output", src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.space", kind: "prop", name: Some("space") }
  • Non-breaking: AddedEdge { src: "tools.umbrae.community.getCommunity:output", tgt: "tools.umbrae.community.getCommunity:output.labeler", kind: "prop", name: Some("labeler") }
  • Non-breaking: AddedEdge { src: "tools.umbrae.community.getCommunity:output.community", tgt: "tools.umbrae.community.defs#communityRef", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "A community's details and the caller's standing in it. Served by the managing app named in the community space's policy, at its #umbrae_app endpoint, with atproto service auth (iss the caller, aud the managing app, lxm this method); clients call through their PDS with atproto-proxy set to the policy's managingApp. Any managing app may serve it: a serving app, or a PDS that manages its own communities.",
5 "description": "A community's details and the caller's standing in it. Served by the community's managing app, at the service its ref's app names, with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the ref's app. Any managing app may serve it: a serving app, or a PDS that manages its own communities. An unlisted community answers CommunityNotFound to anyone who isn't a member.",
66 "errors": [
77 {
8 "description": "Not a community this managing app manages.",
8 "description": "Not a community this managing app manages, or an unlisted one and the caller isn't a member.",
99 "name": "CommunityNotFound"
1010 },
1111 {
1212 "description": "The caller lacks the role this needs.",
1313 "name": "NotAllowed"
1414 },
1515 {
1616 "description": "The managing app doesn't admit this account.",
1717 "name": "NotAdmitted"
1818 }
1919 ],
2020 "output": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
24 "description": {
24 "appClientId": {
25 "description": "The app's OAuth client ID: the URL of its client metadata, which publishes a JWKS. The app syncs members' community spaces with an attestation for this client, and a profile space limited by allowedApps must list it before the owner calls registerProfile.",
26 "format": "uri",
2527 "type": "string"
2628 },
27 "did": {
28 "format": "did",
29 "type": "string"
29 "community": {
30 "ref": "tools.umbrae.community.defs#communityRef",
31 "type": "ref"
3032 },
31 "handle": {
32 "format": "handle",
33 "description": {
3334 "type": "string"
3435 },
3536 "joinMode": {
3637 "knownValues": [
3738 "open",
3839 "request",
3940 "invite"
4041 ],
4142 "type": "string"
4243 },
43 "managingApp": {
44 "description": "The did#serviceId the space policy names.",
44 "labeler": {
45 "description": "The community's hidden labeler: a tools.umbrae.labeler space at self whose managed policy names this app. The app applies its labels to the community's posts.",
46 "format": "did",
4547 "type": "string"
4648 },
47 "name": {
48 "type": "string"
49 "listed": {
50 "description": "Whether the app shows the community to anyone it admits. An unlisted one is shown only to members.",
51 "type": "boolean"
4952 },
50 "space": {
51 "description": "The community space: at:space/{did}/tools.umbrae.space/community.",
52 "format": "space-ref",
53 "name": {
5354 "type": "string"
5455 },
5556 "viewer": {
5657 "ref": "#viewerState",
5758 "type": "ref"
5859 }
5960 },
6061 "required": [
61 "did",
62 "space",
63 "handle",
62 "community",
6463 "name",
65 "managingApp",
6664 "joinMode",
65 "listed",
66 "appClientId",
6767 "viewer"
6868 ],
6969 "type": "object"
7070 }
7171 },
7272 "parameters": {
7373 "properties": {
74 "community": {
75 "description": "The community account's DID.",
76 "format": "did",
74 "key": {
75 "description": "The community's key within this app.",
76 "maxLength": 63,
77 "minLength": 1,
7778 "type": "string"
7879 }
7980 },
8081 "required": [
81 "community"
82 "key"
8283 ],
8384 "type": "params"
8485 },
8586 "type": "query"
8687 },
8788 "viewerState": {
8889 "properties": {
90 "moderator": {
91 "type": "boolean"
92 },
8993 "role": {
94 "description": "A member's role: readers only read; writers also post, reply, like and repost.",
9095 "knownValues": [
91 "member",
92 "moderator"
96 "reader",
97 "writer"
9398 ],
9499 "type": "string"
95100 },
96101 "state": {
97102 "knownValues": [
98103 "none",
99104 "requested",
100105 "invited",
101106 "member",
102107 "removed"
103108 ],
104109 "type": "string"
105110 }
106111 },
107112 "required": [
108 "state"
113 "state",
114 "moderator"
109115 ],
110116 "type": "object"
111117 }
112118 },
113119 "id": "tools.umbrae.community.getCommunity",
114120 "lexicon": 1
115121}

Compare other versions