full diff

dev.knotless.putPreferences

From
bafyreiax6o6vb5h56mjna6odaop7o5tayf4bzp2kxtdi6e2z2ab54jr4gy indexed 2026-10-28 23:51 UTC View this version
To
bafyreiebug6jhynqtjcw7d5k5ivfmlal3n5c53fpwiof3lj436kzxw46ha indexed 2026-10-31 20:28 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.getPreferences#themesPref" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.putPreferences:input.preferences:items:variant2" }
  • AddedEdge AddedEdge { src: "dev.knotless.putPreferences:input.preferences:items", tgt: "dev.knotless.putPreferences:input.preferences:items:variant2", kind: "variant", name: Some("dev.knotless.getPreferences#themesPref") }
  • AddedEdge AddedEdge { src: "dev.knotless.putPreferences:input.preferences:items:variant2", tgt: "dev.knotless.getPreferences#themesPref", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "dev.knotless.getPreferences#themesPref" }
  • AddedVertex { vertex_id: "dev.knotless.putPreferences:input.preferences:items:variant2" }

Notes

  • Non-breaking: AddedEdge { src: "dev.knotless.putPreferences:input.preferences:items", tgt: "dev.knotless.putPreferences:input.preferences:items:variant2", kind: "variant", name: Some("dev.knotless.getPreferences#themesPref") }
  • Non-breaking: AddedEdge { src: "dev.knotless.putPreferences:input.preferences:items:variant2", tgt: "dev.knotless.getPreferences#themesPref", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Changes the asking account's preferences, as the appview keeps them: each one given takes the place of the one of its kind, and the rest stay. Answers them all, as dev.knotless.getPreferences does. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.",
66 "errors": [
77 {
88 "description": "A kind of preference the appview does not keep, or one not as its kind says: a theme not named as the pages name theirs, or a reason the appview does not give.",
99 "name": "InvalidRequest"
1010 },
1111 {
1212 "description": "No account asks.",
1313 "name": "AuthenticationRequired"
1414 },
1515 {
1616 "description": "This appview keeps no index, so it keeps no preferences.",
1717 "name": "NotFound"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "preferences": {
2525 "description": "The preferences to set, at most one of each kind.",
2626 "items": {
2727 "refs": [
2828 "dev.knotless.getPreferences#appearancePref",
29 "dev.knotless.getPreferences#notificationPref"
29 "dev.knotless.getPreferences#notificationPref",
30 "dev.knotless.getPreferences#themesPref"
3031 ],
3132 "type": "union"
3233 },
3334 "maxLength": 32,
3435 "type": "array"
3536 }
3637 },
3738 "required": [
3839 "preferences"
3940 ],
4041 "type": "object"
4142 }
4243 },
4344 "output": {
4445 "encoding": "application/json",
4546 "schema": {
4647 "ref": "dev.knotless.getPreferences#preferences",
4748 "type": "ref"
4849 }
4950 },
5051 "type": "procedure"
5152 }
5253 },
5354 "description": "Changes the asking account's preferences.",
5455 "id": "dev.knotless.putPreferences",
5556 "lexicon": 1
5657}

Compare other versions