social.colibri.beta.thread.moveMessages

colibri.social

Schema Diff

+2 -2

From

CID
bafyreiejazhh4hj...
Indexed At
2026-09-01 11:12 UTC
View this version

To

CID
bafyreiglgva626x...
Indexed At
2026-09-08 06:52 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "Moves messages written by other people into another thread or channel. A message lives in its author's own repo and cannot be rewritten by a moderator, so the move is a `moved` label written into the source space for each message. Every label in one call shares a batch key, and the destination serves the moved messages ordered by that batch key and then by the messages' own record keys, which is what keeps a selection in the order it was in. The AppView withholds a moved message from the space it came from. A user moving only their own messages rewrites the records instead and does not call this method.",
5 +
      "description": "Moves messages into another thread or channel. A message lives in its author's own repo and cannot be rewritten by a moderator, so the move is a `moved` label written into the source space for each message. The destination serves each moved message at its own record key, so a selection keeps the order it was written in and reads among the destination's own messages by send time. The AppView withholds a moved message from the space it came from.",
6 6
      "errors": [
7 7
        {
8 8
          "description": "The request has no valid service auth.",
9 9
          "name": "AuthRequired"
10 10
        },
11 11
        {
12 12
          "description": "The requesting user lacks the thread.move permission, or may not read the source or post in the destination.",
13 13
          "name": "Forbidden"
14 14
        },
15 15
        {
16 16
          "description": "No space exists at the source or destination reference.",
17 17
          "name": "SpaceNotFound"
18 18
        },
19 19
        {
20 20
          "description": "One of the subjects is not a message in the source space.",
21 21
          "name": "MessageNotFound"
22 22
        },
23 23
        {
24 24
          "description": "The destination is the source, belongs to another community, or a subject is not a message.",
25 25
          "name": "InvalidRequest"
26 26
        },
27 27
        {
28 28
          "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
29 29
          "name": "CredentialsUnavailable"
30 30
        }
31 31
      ],
32 32
      "input": {
33 33
        "encoding": "application/json",
34 34
        "schema": {
35 35
          "properties": {
36 36
            "destination": {
37 37
              "description": "The space to move them to, either a channel or a thread in the same community.",
38 38
              "format": "space-ref",
39 39
              "type": "string"
40 40
            },
41 41
            "reason": {
42 42
              "description": "Human-readable reason, recorded on every label in the batch.",
43 43
              "maxLength": 512,
44 44
              "type": "string"
45 45
            },
46 46
            "source": {
47 47
              "description": "The space the messages are in now, either a channel or a thread.",
48 48
              "format": "space-ref",
49 49
              "type": "string"
50 50
            },
51 51
            "subjects": {
52 52
              "description": "The messages to move, at most fifty in one call.",
53 53
              "items": {
54 54
                "description": "A message to move.",
55 55
                "ref": "social.colibri.beta.label#subject",
56 56
                "type": "ref"
57 57
              },
58 58
              "maxLength": 50,
59 59
              "minLength": 1,
60 60
              "type": "array"
61 61
            }
62 62
          },
63 63
          "required": [
64 64
            "source",
65 65
            "destination",
66 66
            "subjects"
67 67
          ],
68 68
          "type": "object"
69 69
        }
70 70
      },
71 71
      "output": {
72 72
        "encoding": "application/json",
73 73
        "schema": {
74 74
          "properties": {
75 75
            "batch": {
76 -
              "description": "The batch key shared by every label this call wrote, which is what orders the moved messages in the destination.",
76 +
              "description": "The batch key shared by every label this call wrote, which groups the move for auditing.",
77 77
              "format": "tid",
78 78
              "type": "string"
79 79
            },
80 80
            "count": {
81 81
              "description": "How many messages were moved.",
82 82
              "type": "integer"
83 83
            }
84 84
          },
85 85
          "required": [
86 86
            "batch",
87 87
            "count"
88 88
          ],
89 89
          "type": "object"
90 90
        }
91 91
      },
92 92
      "type": "procedure"
93 93
    }
94 94
  },
95 95
  "id": "social.colibri.beta.thread.moveMessages",
96 96
  "lexicon": 1
97 97
}

Compare Other Versions

Lexicon Garden

@