From c54cb71720e57a05e4550064d46f873059bb92df Mon Sep 17 00:00:00 2001 From: IK Date: Mon, 21 Sep 2026 20:40:27 +0700 Subject: [PATCH] chore: publish admin media role contract --- apps/api/openapi.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/apps/api/openapi.json b/apps/api/openapi.json index 13630cb..132587d 100644 --- a/apps/api/openapi.json +++ b/apps/api/openapi.json @@ -4262,6 +4262,23 @@ "title": "Status" } }, + { + "in": "query", + "name": "media_role", + "required": false, + "schema": { + "anyOf": [ + { + "pattern": "^(waterbody_cover|waterbody_map|waterbody_depth_map|waterbody_screenshot|tackle_card|tackle_detail|rig_diagram|tackle_screenshot)$", + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Media Role" + } + }, { "in": "query", "name": "limit",