From 40794c476fe2066e04af421f16102016797450d2 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 9 Dec 2022 18:03:20 +0100 Subject: [PATCH] Updated API docs with new short URLs list filters --- docs/swagger/paths/v1_short-urls.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/swagger/paths/v1_short-urls.json b/docs/swagger/paths/v1_short-urls.json index 2675ab61..c5041ecc 100644 --- a/docs/swagger/paths/v1_short-urls.json +++ b/docs/swagger/paths/v1_short-urls.json @@ -97,6 +97,32 @@ "schema": { "type": "string" } + }, + { + "name": "excludeMaxVisitsReached", + "in": "query", + "description": "If true, short URLs which already reached their maximum amount of visits will be excluded.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "false", + "true" + ] + } + }, + { + "name": "excludePastValidUntil", + "in": "query", + "description": "If true, short URLs which validUntil date is on the past will be excluded.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "false", + "true" + ] + } } ], "security": [