full diff

social.colibri.beta.community.adopt

colibri.social +1 −1
From
bafyreic42qpxubjlobsijb4tathtz5n5wrfxunpztsuhbzx5rkweqdiswq indexed 2026-09-01 11:10 UTC View this version
To
bafyreighdcmpqpdworbrphjuc64sv6icseudoqjbm5blnwcsokzfwcrjqe indexed 2026-11-06 07:30 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Adopts an existing account as a community: this AppView takes custody of its credentials, creates the four community spaces on whichever PDS already hosts it, and seeds the same starter layout social.colibri.beta.community.create does. The account keeps its own DID, handle and PDS, and the caller becomes its owner. Use this instead of community.create to bring your own DID.",
66 "errors": [
77 {
88 "description": "The request is missing, malformed, or unverifiable service auth.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "The arguments are inconsistent or malformed beyond schema validation.",
1313 "name": "InvalidRequest"
1414 },
1515 {
1616 "description": "This account is already a community on this AppView.",
1717 "name": "AlreadyExists"
1818 },
1919 {
2020 "description": "The PDS refused the given identifier and password.",
2121 "name": "CredentialsRejected"
2222 },
2323 {
2424 "description": "The credentials authenticate a different account than the DID given.",
2525 "name": "IdentityMismatch"
2626 },
2727 {
28 "description": "The account's PDS does not implement com.atproto.simplespace, so it cannot host community spaces.",
28 "description": "The account's PDS does not implement the com.atproto.space policy methods, so it cannot host community spaces.",
2929 "name": "SpacesUnsupported"
3030 },
3131 {
3232 "description": "A PDS or third-party call the AppView depends on failed.",
3333 "name": "UpstreamFailure"
3434 }
3535 ],
3636 "input": {
3737 "encoding": "application/json",
3838 "schema": {
3939 "properties": {
4040 "description": {
4141 "description": "The community's description.",
4242 "maxLength": 256,
4343 "type": "string"
4444 },
4545 "did": {
4646 "description": "The account to adopt. The credentials must authenticate as this exact DID, which is what proves the caller controls it.",
4747 "format": "did",
4848 "type": "string"
4949 },
5050 "identifier": {
5151 "description": "The identifier used to authenticate with the account's PDS, such as its handle or DID.",
5252 "type": "string"
5353 },
5454 "name": {
5555 "description": "The community's name.",
5656 "maxLength": 32,
5757 "minLength": 1,
5858 "type": "string"
5959 },
6060 "password": {
6161 "description": "The account's password. An app password is not enough: minting a delegation token requires full access.",
6262 "type": "string"
6363 },
6464 "requiresApprovalToJoin": {
6565 "description": "Whether joining produces an application a moderator must approve. Defaults to false.",
6666 "type": "boolean"
6767 }
6868 },
6969 "required": [
7070 "did",
7171 "identifier",
7272 "password",
7373 "name"
7474 ],
7575 "type": "object"
7676 }
7777 },
7878 "output": {
7979 "encoding": "application/json",
8080 "schema": {
8181 "properties": {
8282 "community": {
8383 "description": "The adopted community.",
8484 "ref": "social.colibri.beta.community.defs#communityView",
8585 "type": "ref"
8686 }
8787 },
8888 "required": [
8989 "community"
9090 ],
9191 "type": "object"
9292 }
9393 },
9494 "type": "procedure"
9595 }
9696 },
9797 "id": "social.colibri.beta.community.adopt",
9898 "lexicon": 1
9999}

Compare other versions