full diff

fyi.opensocial.importAccountSpace

From
bafyreicvum5wtbipozsjzbnxx3a3s45vxsaxwqwbiatfi3zanevarhjavm indexed 2026-11-02 23:05 UTC View this version
To
bafyreifhfra34xue3aegfxdzylzmupvr5bbcinhw2554iy4d5d4l72uzly indexed 2026-11-05 16:25 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "While an account's move here is pending (importAccount), bring one of its spaces, as its own server serves it: `meta`, a space it governs (com.atproto.space.exportSpaceMeta's archive), before any repo in it; `repo`, its own repo in a space it wrote in (com.atproto.space.getRepo's archive); or `blob`, one of its files in a space, before the repos that hold it. Only for whoever started the move, and only the account's own.",
5 "description": "While an account's move here is pending (importAccount), bring one of its spaces, as its own server serves it: `meta`, a space it governs (com.atproto.space.exportSpaceMeta's archive), before any repo in it; `repo`, its own repo in a space it wrote in (com.atproto.space.getRepo's archive); or `blob`, one of its files in a space, before the repos that hold it. Only for whoever started the move, and only the account's own. A personalspace or memberspace policy is kept as this host's grants; one this host would not keep as it says is refused.",
66 "errors": [
77 {
8 "description": "No move of the account here by the caller, or a repo in a space of the account's whose meta has not come.",
89 "name": "NotFound"
910 },
1011 {
12 "description": "A space or repo that is not the account's.",
1113 "name": "NotSpaceOwner"
1214 },
1315 {
16 "description": "An archive that is not whole, or not what its commit says.",
1417 "name": "InvalidArchive"
1518 },
1619 {
20 "description": "A space whose policy this host would not keep as it says: anyone writing, only some apps, or a managing app.",
1721 "name": "UnsupportedPolicy"
22 },
23 {
24 "description": "A space the group makes for itself as it is made.",
25 "name": "SpaceReserved"
26 },
27 {
28 "description": "More than this host takes in one part.",
29 "name": "TooLarge"
1830 }
1931 ],
2032 "input": {
2133 "encoding": "*/*"
2234 },
2335 "output": {
2436 "encoding": "application/json",
2537 "schema": {
2638 "properties": {
2739 "cid": {
40 "description": "A file's CID.",
2841 "type": "string"
2942 },
3043 "records": {
44 "description": "How many of a repo's records were kept: one this host would not keep, not of its collection's type, is left out.",
3145 "type": "integer"
3246 },
3347 "space": {
48 "description": "The space a meta archive or repo was for.",
3449 "type": "string"
3550 }
3651 },
3752 "type": "object"
3853 }
3954 },
4055 "parameters": {
4156 "properties": {
4257 "did": {
4358 "format": "did",
4459 "type": "string"
4560 },
4661 "part": {
4762 "knownValues": [
4863 "meta",
4964 "repo",
5065 "blob"
5166 ],
5267 "type": "string"
5368 }
5469 },
5570 "required": [
5671 "did",
5772 "part"
5873 ],
5974 "type": "params"
6075 },
6176 "type": "procedure"
6277 }
6378 },
6479 "id": "fyi.opensocial.importAccountSpace",
6580 "lexicon": 1
6681}

Compare other versions