forked from
nonbinary.computer/jacquard
A better Rust ATProto crate
1{
2 "lexicon": 1,
3 "id": "network.slices.slice.syncUserCollections",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Synchronously sync the authenticated user's collections into a slice with a configurable timeout. Requires authentication.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "slice"
14 ],
15 "properties": {
16 "slice": {
17 "type": "string",
18 "description": "AT-URI of the slice to sync user data into"
19 },
20 "timeoutSeconds": {
21 "type": "integer",
22 "description": "Timeout in seconds for the sync operation",
23 "default": 30,
24 "minimum": 1,
25 "maximum": 300
26 }
27 }
28 }
29 },
30 "output": {
31 "encoding": "application/json",
32 "schema": {
33 "type": "object",
34 "required": [
35 "reposProcessed",
36 "recordsSynced",
37 "timedOut"
38 ],
39 "properties": {
40 "recordsSynced": {
41 "type": "integer",
42 "description": "Number of records successfully synced"
43 },
44 "reposProcessed": {
45 "type": "integer",
46 "description": "Number of repositories processed during sync"
47 },
48 "timedOut": {
49 "type": "boolean",
50 "description": "Whether the sync operation exceeded the timeout"
51 }
52 }
53 }
54 }
55 }
56 }
57}