full diff

fyi.opensocial.checkImport

From
bafyreigaszloek3uraw2jpzpnozder67byinytmj4l4sb36unoeheh4xue indexed 2026-11-03 00:45 UTC View this version
To
bafyreiaegfx3jvpjnot3u67mrambvivfe64x6tiyfh2tpvmsyy2xukkgje indexed 2026-11-05 16:25 UTC View this version

Compatibility

backward compatible Backward compatible. 5 non-breaking changes.

Non-breaking changes (5)
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.checkImport:output.pds" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.checkImport:output.recommendedCreds" }
  • AddedEdge AddedEdge { src: "fyi.opensocial.checkImport:output", tgt: "fyi.opensocial.checkImport:output.pds", kind: "prop", name: Some("pds") }
  • AddedEdge AddedEdge { src: "fyi.opensocial.checkImport:output", tgt: "fyi.opensocial.checkImport:output.recommendedCreds", kind: "prop", name: Some("recommendedCreds") }
  • ConstraintRemoved ConstraintRemoved { vertex_id: "fyi.opensocial.checkImport:output.address", sort: "format" }

Migration guidance

Added

  • AddedVertex { vertex_id: "fyi.opensocial.checkImport:output.pds" }
  • AddedVertex { vertex_id: "fyi.opensocial.checkImport:output.recommendedCreds" }

Constraint changes

  • ConstraintRemoved ConstraintRemoved { vertex_id: "fyi.opensocial.checkImport:output.address", sort: "format" }

Notes

  • Non-breaking: AddedEdge { src: "fyi.opensocial.checkImport:output", tgt: "fyi.opensocial.checkImport:output.pds", kind: "prop", name: Some("pds") }
  • Non-breaking: AddedEdge { src: "fyi.opensocial.checkImport:output", tgt: "fyi.opensocial.checkImport:output.recommendedCreds", kind: "prop", name: Some("recommendedCreds") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "What moving an account here would make of it, before anything moves (importAccount moves it so): its handle here, whether that's the one it has, and its address, this host's own name for it, where its site lives. A handle on a domain of the account's own that still names it comes along; one its old server gives out becomes the address. `refused` says why it can't have that address, as importAccount would.",
5 "description": "What moving an account here would make of it, before anything moves (importAccount moves it so): its handle here, whether that's the one it has, and its address, this host's own name for it. A handle on a domain of the account's own that still names it comes along; one its old server gives out becomes the address. `refused` says why it can't have that address, as importAccount would. While the caller's own move of it is pending, `recommendedCreds` says again what the operation should name, as importAccount did.",
66 "errors": [
77 {
88 "name": "NotPlc"
99 }
1010 ],
1111 "output": {
1212 "encoding": "application/json",
1313 "schema": {
1414 "properties": {
1515 "address": {
16 "format": "handle",
16 "description": "Its address here: one label under this host's handle domain.",
1717 "type": "string"
1818 },
1919 "did": {
2020 "format": "did",
2121 "type": "string"
2222 },
2323 "from": {
2424 "description": "The handle it has now.",
2525 "type": "string"
2626 },
2727 "handle": {
2828 "description": "Its handle once moved.",
2929 "format": "handle",
3030 "type": "string"
3131 },
3232 "keeps": {
3333 "description": "Whether that's the handle it has now.",
3434 "type": "boolean"
3535 },
3636 "label": {
3737 "type": "string"
3838 },
39 "pds": {
40 "description": "The server it lives on now, as its DID document names it.",
41 "format": "uri",
42 "type": "string"
43 },
44 "recommendedCreds": {
45 "description": "While the caller's own move of it is pending: rotationKeys, alsoKnownAs, verificationMethods and services, as importAccount answered, for the account's server to sign (com.atproto.identity.signPlcOperation).",
46 "type": "unknown"
47 },
3948 "refused": {
4049 "description": "{error, message}: InvalidHandle or HandleNotAvailable.",
4150 "type": "unknown"
4251 }
4352 },
4453 "required": [
4554 "did",
4655 "handle",
4756 "address",
4857 "label",
4958 "keeps"
5059 ],
5160 "type": "object"
5261 }
5362 },
5463 "parameters": {
5564 "properties": {
5665 "address": {
5766 "description": "The label of its address here, if not its handle's first label.",
5867 "type": "string"
5968 },
6069 "did": {
6170 "format": "did",
6271 "type": "string"
6372 }
6473 },
6574 "required": [
6675 "did"
6776 ],
6877 "type": "params"
6978 },
7079 "type": "query"
7180 }
7281 },
7382 "id": "fyi.opensocial.checkImport",
7483 "lexicon": 1
7584}

Compare other versions