Skip to content

Commit

Permalink
spec/api.json updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmurphy authored and github-actions[bot] committed Jan 3, 2025
1 parent aade88a commit e713066
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lexicons/tools/ozone/moderation/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@
"acknowledgeAccountSubjects": {
"type": "boolean",
"description": "If true, all other reports on content authored by this account will be resolved (acknowledged)."
},
"policies": {
"type": "array",
"maxLength": 5,
"items": { "type": "string" },
"description": "Names/Keywords of the policies that drove the decision."
}
}
},
Expand Down
7 changes: 7 additions & 0 deletions lexicons/tools/ozone/moderation/queryEvents.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@
"type": "string"
}
},
"policies": {
"type": "array",
"items": {
"type": "string",
"description": "If specified, only events where the action policies match any of the given policies are returned"
}
},
"cursor": {
"type": "string"
}
Expand Down
19 changes: 19 additions & 0 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -22022,6 +22022,18 @@
}
}
},
{
"name": "policies",
"in": "query",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string",
"description": "If specified, only events where the action policies match any of the given policies are returned"
}
}
},
{
"name": "cursor",
"in": "query",
Expand Down Expand Up @@ -29309,6 +29321,13 @@
"acknowledgeAccountSubjects": {
"type": "boolean",
"description": "If true, all other reports on content authored by this account will be resolved (acknowledged)."
},
"policies": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5
}
}
},
Expand Down

0 comments on commit e713066

Please sign in to comment.