full diff

com.getorbyt.community.setAnnouncement

getorbyt.com +1 −1
From
bafyreia6mqxtbzxbpcnbucfuvglhejzl7bc4kvjorb6echaj7cubgs6yoy indexed 2026-10-10 20:55 UTC View this version
To
bafyreig72j2hz43ju4lxa3k66o2qorvo65as3qt43kawndassumrcnnpbu indexed 2026-11-01 04:34 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Sets or clears the Community's announcement, shown on its page and, when set or changed, in its members' activity as `communityAnnouncement`. Requires manage-settings. The announcement is service state rather than part of the declaration record, so a moderator granted manage-settings can set it without writing the owner's repository. Setting and clearing are both recorded in the moderation log.",
66 "errors": [
77 {
88 "name": "AuthenticationRequired"
99 },
1010 {
1111 "name": "CommunityNotFound"
1212 },
1313 {
1414 "name": "InsufficientRole"
1515 },
1616 {
1717 "name": "InvalidRequest"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "community": {
2525 "format": "at-uri",
2626 "type": "string"
2727 },
2828 "text": {
29 "description": "The announcement text. Absent or blank clears the announcement.",
29 "description": "The announcement text. Absent or blank clears the announcement. The service holds it to a shorter limit than this ceiling, which getServiceInfo serves as `community.announcementMaxCharacters`.",
3030 "maxGraphemes": 300,
3131 "maxLength": 3000,
3232 "type": "string"
3333 }
3434 },
3535 "required": [
3636 "community"
3737 ],
3838 "type": "object"
3939 }
4040 },
4141 "output": {
4242 "encoding": "application/json",
4343 "schema": {
4444 "properties": {
4545 "announcement": {
4646 "description": "The announcement now. Absent once cleared.",
4747 "ref": "com.getorbyt.community.defs#announcementView",
4848 "type": "ref"
4949 },
5050 "changed": {
5151 "type": "boolean"
5252 }
5353 },
5454 "required": [
5555 "changed"
5656 ],
5757 "type": "object"
5858 }
5959 },
6060 "type": "procedure"
6161 }
6262 },
6363 "id": "com.getorbyt.community.setAnnouncement",
6464 "lexicon": 1
6565}

Compare other versions