full diff

fyi.opensocial.putRule

From
bafyreigdl7pv7nzpwkh6qydic5xbzcsucxznnq7wjvh5wew5hf2bdhhysu indexed 2026-09-24 00:10 UTC View this version
To
bafyreia4gmejyzjvuduvsdvtopuxpu5p7av7cxfuakbaibwn5a3nuj3zii indexed 2026-10-27 01:16 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.putRule:input.order" }
  • AddedEdge AddedEdge { src: "fyi.opensocial.putRule:input", tgt: "fyi.opensocial.putRule:input.order", kind: "prop", name: Some("order") }

Migration guidance

Added

  • AddedVertex { vertex_id: "fyi.opensocial.putRule:input.order" }

Notes

  • Non-breaking: AddedEdge { src: "fyi.opensocial.putRule:input", tgt: "fyi.opensocial.putRule:input.order", kind: "prop", name: Some("order") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Create or update a rule. Requires group.configure. Fields are inlined rather than referencing fyi.opensocial.rule, because a record def cannot be used as an input object — same fix as updateProfile.",
66 "input": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "group": {
1111 "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
1212 "format": "did",
1313 "type": "string"
1414 },
15 "order": {
16 "description": "Where it comes in the list, lowest first. Omitted keeps an existing rule's place and puts a new one last.",
17 "minimum": 0,
18 "type": "integer"
19 },
1520 "rkey": {
1621 "format": "record-key",
1722 "type": "string"
1823 },
1924 "text": {
2025 "maxGraphemes": 2000,
2126 "maxLength": 20000,
2227 "type": "string"
2328 },
2429 "title": {
2530 "maxGraphemes": 100,
2631 "maxLength": 1000,
2732 "type": "string"
2833 }
2934 },
3035 "required": [
3136 "group",
3237 "title"
3338 ],
3439 "type": "object"
3540 }
3641 },
3742 "output": {
3843 "encoding": "application/json",
3944 "schema": {
4045 "properties": {
4146 "cid": {
4247 "format": "cid",
4348 "type": "string"
4449 },
4550 "uri": {
4651 "format": "at-uri",
4752 "type": "string"
4853 }
4954 },
5055 "required": [
5156 "uri",
5257 "cid"
5358 ],
5459 "type": "object"
5560 }
5661 },
5762 "type": "procedure"
5863 }
5964 },
6065 "id": "fyi.opensocial.putRule",
6166 "lexicon": 1
6267}

Compare other versions