From
bafyreibuhb4dha34ifevqe6zb62ma2qd55hfsawtpmbthnpyh6mml25ypm
indexed 2026-07-26 20:04 UTC
View this version
To
bafyreih5674gm3bazy6gzydram7je4tm7ayhf7u463osutka2jk337o3gq
indexed 2026-11-19 20:58 UTC
View this version
Compatibility
backward compatible Backward compatible. 2 non-breaking changes.
Non-breaking changes (2)
- AddedVertex AddedVertex { vertex_id: "tools.ozone.safelink.updateRule:input.source" }
- AddedEdge AddedEdge { src: "tools.ozone.safelink.updateRule:input", tgt: "tools.ozone.safelink.updateRule:input.source", kind: "prop", name: Some("source") }
Migration guidance
Added
AddedVertex { vertex_id: "tools.ozone.safelink.updateRule:input.source" }
Notes
- Non-breaking: AddedEdge { src: "tools.ozone.safelink.updateRule:input", tgt: "tools.ozone.safelink.updateRule:input.source", kind: "prop", name: Some("source") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {55
"description": "Update an existing URL safety rule",66
"errors": [77
{88
"description": "No active rule found for this URL/domain",99
"name": "RuleNotFound"10
},11
{12
"description": "A rule for this URL/domain is owned by another source",13
"name": "RuleSourceConflict"1014
}1115
],1216
"input": {1317
"encoding": "application/json",1418
"schema": {1519
"properties": {1620
"action": {1721
"ref": "tools.ozone.safelink.defs#actionType",1822
"type": "ref"1923
},2024
"comment": {2125
"description": "Optional comment about the update",2226
"type": "string"2327
},2428
"createdBy": {2529
"description": "Optional DID to credit as the creator. Only respected for admin_token authentication.",2630
"format": "did",2731
"type": "string"2832
},2933
"pattern": {3034
"ref": "tools.ozone.safelink.defs#patternType",3135
"type": "ref"3236
},3337
"reason": {3438
"ref": "tools.ozone.safelink.defs#reasonType",3539
"type": "ref"3640
},41
"source": {42
"default": "ozone/default",43
"description": "Source of the rule to update",44
"maxLength": 128,45
"type": "string"46
},3747
"url": {3848
"description": "The URL or domain to update the rule for",3949
"type": "string"4050
}4151
},4252
"required": [4353
"url",4454
"pattern",4555
"action",4656
"reason"4757
],4858
"type": "object"4959
}5060
},5161
"output": {5262
"encoding": "application/json",5363
"schema": {5464
"ref": "tools.ozone.safelink.defs#event",5565
"type": "ref"5666
}5767
},5868
"type": "procedure"5969
}6070
},6171
"id": "tools.ozone.safelink.updateRule",6272
"lexicon": 16373
}