full diff

tools.ozone.inbox.getAccountStatus

From
bafyreifbah7zgoh3bqtcwvdrmvw3ap6ga2q7smqqgx7ssrcjxljqvgbpyi indexed 2026-10-07 18:19 UTC View this version
To
bafyreicyo6ikpfwujec6vxxr6zpnxwhozdnjcorbtlct3fzfk7pmqvlnqa indexed 2026-11-19 20:57 UTC View this version

Compatibility

backward compatible Backward compatible. 6 non-breaking changes.

Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.defs#enforcementView" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getAccountStatus:output.enforcement" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getAccountStatus:output.hasActiveStrikes" }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getAccountStatus:output", tgt: "tools.ozone.inbox.getAccountStatus:output.enforcement", kind: "prop", name: Some("enforcement") }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getAccountStatus:output", tgt: "tools.ozone.inbox.getAccountStatus:output.hasActiveStrikes", kind: "prop", name: Some("hasActiveStrikes") }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getAccountStatus:output.enforcement", tgt: "tools.ozone.inbox.defs#enforcementView", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "tools.ozone.inbox.defs#enforcementView" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getAccountStatus:output.enforcement" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getAccountStatus:output.hasActiveStrikes" }

Notes

  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getAccountStatus:output", tgt: "tools.ozone.inbox.getAccountStatus:output.enforcement", kind: "prop", name: Some("enforcement") }
  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getAccountStatus:output", tgt: "tools.ozone.inbox.getAccountStatus:output.hasActiveStrikes", kind: "prop", name: Some("hasActiveStrikes") }
  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getAccountStatus:output.enforcement", tgt: "tools.ozone.inbox.defs#enforcementView", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Get the authenticated account's current standing with this moderation service.",
66 "output": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
10 "enforcement": {
11 "description": "Current account takedown or suspension, independent of strike standing.",
12 "ref": "tools.ozone.inbox.defs#enforcementView",
13 "type": "ref"
14 },
1015 "expiresAt": {
1116 "description": "Time at which the current suspension expires. Present only for a temporary suspension.",
1217 "format": "datetime",
1318 "type": "string"
1419 },
20 "hasActiveStrikes": {
21 "description": "Whether the account currently has any active strikes.",
22 "type": "boolean"
23 },
1524 "src": {
1625 "description": "DID of the moderation service returning this status.",
1726 "format": "did",
1827 "type": "string"
1928 },
2029 "standing": {
2130 "knownValues": [
2231 "good",
2332 "warning",
2433 "atRisk"
2534 ],
2635 "type": "string"
2736 },
2837 "updatedAt": {
2938 "description": "Newest account-status update or strike timestamp used to derive this standing, or the Unix epoch when neither exists. This is not a standing-transition timestamp; expiry can change standing without changing this value.",
3039 "format": "datetime",
3140 "type": "string"
3241 }
3342 },
3443 "required": [
3544 "src",
3645 "standing",
3746 "updatedAt"
3847 ],
3948 "type": "object"
4049 }
4150 },
4251 "parameters": {
4352 "properties": {
4453 "did": {
4554 "description": "Account to preview. Only Ozone staff can read another account; this does not change its read state.",
4655 "format": "did",
4756 "type": "string"
4857 }
4958 },
5059 "type": "params"
5160 },
5261 "type": "query"
5362 }
5463 },
5564 "id": "tools.ozone.inbox.getAccountStatus",
5665 "lexicon": 1
5766}

Compare other versions