full diff

us.off-the-clock.admin.testAutomod

From
bafyreicecmpbmyriyngpmkhskrnhpcwf4vmzvn6uhhhaknood2sq7crjfy indexed 2026-11-08 20:44 UTC View this version
To
bafyreic3zo6pxx6fbuwkkpzrdnkpeg5ptdzr4byrgoyp2a3s7a7542eqle indexed 2026-11-10 03:55 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.admin.testAutomod:output.warning" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.automod.rule#warning" }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.testAutomod:output", tgt: "us.off-the-clock.admin.testAutomod:output.warning", kind: "prop", name: Some("warning") }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.testAutomod:output.warning", tgt: "us.off-the-clock.automod.rule#warning", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "us.off-the-clock.admin.testAutomod:output.warning" }
  • AddedVertex { vertex_id: "us.off-the-clock.automod.rule#warning" }

Notes

  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.testAutomod:output", tgt: "us.off-the-clock.admin.testAutomod:output.warning", kind: "prop", name: Some("warning") }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.testAutomod:output.warning", tgt: "us.off-the-clock.automod.rule#warning", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Runs a pair's automod rules, or draft rules in their place, over a sample record as a new version, writing and queuing nothing (D95). The AppView asks the feed generator under its own service auth. Effective admins, the community identity and the pair's own admins.",
66 "errors": [
77 {
88 "name": "NotAdmin"
99 },
1010 {
1111 "name": "InvalidRequest"
1212 },
1313 {
1414 "name": "InvalidRule"
1515 },
1616 {
1717 "name": "AutomodUnavailable"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "record": {
2525 "properties": {
2626 "collection": {
2727 "format": "nsid",
2828 "type": "string"
2929 },
3030 "labels": {
3131 "description": "Labels the sample already carries.",
3232 "items": {
3333 "maxLength": 128,
3434 "type": "string"
3535 },
3636 "type": "array"
3737 },
3838 "value": {
3939 "type": "unknown"
4040 }
4141 },
4242 "required": [
4343 "collection",
4444 "value"
4545 ],
4646 "type": "object"
4747 },
4848 "rules": {
4949 "description": "Draft rules, each a us.off-the-clock.automod.rule value with an optional rkey, run in place of the pair's rules with the same rkeys.",
5050 "items": {
5151 "type": "unknown"
5252 },
5353 "maxLength": 100,
5454 "type": "array"
5555 },
5656 "space": {
5757 "description": "The pair's TID.",
5858 "format": "tid",
5959 "type": "string"
6060 }
6161 },
6262 "required": [
6363 "space",
6464 "record"
6565 ],
6666 "type": "object"
6767 }
6868 },
6969 "output": {
7070 "encoding": "application/json",
7171 "schema": {
7272 "properties": {
7373 "labels": {
7474 "items": {
7575 "maxLength": 128,
7676 "type": "string"
7777 },
7878 "type": "array"
7979 },
8080 "outcomes": {
8181 "items": {
8282 "ref": "us.off-the-clock.admin.defs#automodOutcome",
8383 "type": "ref"
8484 },
8585 "type": "array"
86 },
87 "warning": {
88 "description": "The types of the content warning the run would write beside the content-warning it adds, the matching rules' in rule order, each once (CW-9).",
89 "ref": "us.off-the-clock.automod.rule#warning",
90 "type": "ref"
8691 }
8792 },
8893 "required": [
8994 "outcomes",
9095 "labels"
9196 ],
9297 "type": "object"
9398 }
9499 },
95100 "type": "procedure"
96101 }
97102 },
98103 "id": "us.off-the-clock.admin.testAutomod",
99104 "lexicon": 1
100105}

Compare other versions