full diff

tools.ozone.safelink.removeRule

From
bafyreieixtpu7psfur2fn7by564bim2ajzstambw3gnijwq2tcekbh4xza indexed 2026-07-26 20:04 UTC View this version
To
bafyreibehhouwhrn5hvk7wprvk5dibhurttzh45zipjzi6myfqyeqnlaou 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.removeRule:input.source" }
  • AddedEdge AddedEdge { src: "tools.ozone.safelink.removeRule:input", tgt: "tools.ozone.safelink.removeRule:input.source", kind: "prop", name: Some("source") }

Migration guidance

Added

  • AddedVertex { vertex_id: "tools.ozone.safelink.removeRule:input.source" }

Notes

  • Non-breaking: AddedEdge { src: "tools.ozone.safelink.removeRule:input", tgt: "tools.ozone.safelink.removeRule:input.source", kind: "prop", name: Some("source") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Remove an existing URL safety rule",
66 "errors": [
77 {
88 "description": "No active rule found for this URL/domain",
99 "name": "RuleNotFound"
1010 }
1111 ],
1212 "input": {
1313 "encoding": "application/json",
1414 "schema": {
1515 "properties": {
1616 "comment": {
1717 "description": "Optional comment about why the rule is being removed",
1818 "type": "string"
1919 },
2020 "createdBy": {
2121 "description": "Optional DID of the user. Only respected when using admin auth.",
2222 "format": "did",
2323 "type": "string"
2424 },
2525 "pattern": {
2626 "ref": "tools.ozone.safelink.defs#patternType",
2727 "type": "ref"
2828 },
29 "source": {
30 "default": "ozone/default",
31 "description": "Source of the rule to remove",
32 "maxLength": 128,
33 "type": "string"
34 },
2935 "url": {
3036 "description": "The URL or domain to remove the rule for",
3137 "type": "string"
3238 }
3339 },
3440 "required": [
3541 "url",
3642 "pattern"
3743 ],
3844 "type": "object"
3945 }
4046 },
4147 "output": {
4248 "encoding": "application/json",
4349 "schema": {
4450 "ref": "tools.ozone.safelink.defs#event",
4551 "type": "ref"
4652 }
4753 },
4854 "type": "procedure"
4955 }
5056 },
5157 "id": "tools.ozone.safelink.removeRule",
5258 "lexicon": 1
5359}

Compare other versions