From e713066e11eac7aa3e88173c9c36657aca048d38 Mon Sep 17 00:00:00 2001 From: rdmurphy Date: Fri, 3 Jan 2025 02:25:08 +0000 Subject: [PATCH] spec/api.json updated --- lexicons/tools/ozone/moderation/defs.json | 6 ++++++ .../tools/ozone/moderation/queryEvents.json | 7 +++++++ spec/api.json | 19 +++++++++++++++++++ 3 files changed, 32 insertions(+) diff --git a/lexicons/tools/ozone/moderation/defs.json b/lexicons/tools/ozone/moderation/defs.json index c9fa711..7c590cd 100644 --- a/lexicons/tools/ozone/moderation/defs.json +++ b/lexicons/tools/ozone/moderation/defs.json @@ -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." } } }, diff --git a/lexicons/tools/ozone/moderation/queryEvents.json b/lexicons/tools/ozone/moderation/queryEvents.json index 9e89a94..e33e18c 100644 --- a/lexicons/tools/ozone/moderation/queryEvents.json +++ b/lexicons/tools/ozone/moderation/queryEvents.json @@ -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" } diff --git a/spec/api.json b/spec/api.json index 5fbac5c..53fbde2 100644 --- a/spec/api.json +++ b/spec/api.json @@ -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", @@ -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 } } },