From c7765403cb93074ef8e58b87a33c5d2ef64c42af Mon Sep 17 00:00:00 2001 From: sct Date: Mon, 25 Apr 2022 23:06:52 +0000 Subject: [PATCH] deploy: e4039d09c0380d80f03c7a00b51a150f88c02cca --- overseerr-api.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/overseerr-api.yml b/overseerr-api.yml index 77282ea17..be9ee0c02 100644 --- a/overseerr-api.yml +++ b/overseerr-api.yml @@ -5562,6 +5562,36 @@ paths: application/json: schema: $ref: '#/components/schemas/Issue' + + /issue/count: + get: + summary: Gets issue counts + description: | + Returns the number of open and closed issues, as well as the number of issues of each type. + tags: + - issue + responses: + '200': + description: Issue counts returned + content: + application/json: + schema: + type: object + properties: + total: + type: number + video: + type: number + audio: + type: number + subtitles: + type: number + others: + type: number + open: + type: number + closed: + type: number /issue/{issueId}: get: summary: Get issue