mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(api): add issue counts endpoint (#2713)
This commit is contained in:

committed by
GitHub

parent
29be659512
commit
e4039d09c0
@@ -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
|
||||
|
Reference in New Issue
Block a user