mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-04 13:48:27 -05:00
feat(api): add external ids to movie/tv response
This commit is contained in:
@@ -433,6 +433,8 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/Crew'
|
||||
externalIds:
|
||||
$ref: '#/components/schemas/ExternalIds'
|
||||
request:
|
||||
$ref: '#/components/schemas/MediaRequest'
|
||||
Episode:
|
||||
@@ -573,6 +575,8 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/Crew'
|
||||
externalIds:
|
||||
$ref: '#/components/schemas/ExternalIds'
|
||||
request:
|
||||
$ref: '#/components/schemas/MediaRequest'
|
||||
MediaRequest:
|
||||
@@ -657,6 +661,25 @@ components:
|
||||
type: string
|
||||
profilePath:
|
||||
type: string
|
||||
ExternalIds:
|
||||
type: object
|
||||
properties:
|
||||
facebookId:
|
||||
type: string
|
||||
freebaseId:
|
||||
type: string
|
||||
freebaseMid:
|
||||
type: string
|
||||
imdbId:
|
||||
type: string
|
||||
instagramId:
|
||||
type: string
|
||||
tvdbId:
|
||||
type: string
|
||||
tvrageId:
|
||||
type: string
|
||||
twitterId:
|
||||
type: string
|
||||
|
||||
securitySchemes:
|
||||
cookieAuth:
|
||||
@@ -1219,6 +1242,16 @@ paths:
|
||||
mediaId:
|
||||
type: number
|
||||
example: 123
|
||||
tvdbId:
|
||||
type: number
|
||||
example: 123
|
||||
seasons:
|
||||
type: array
|
||||
items:
|
||||
type: number
|
||||
required:
|
||||
- mediaType
|
||||
- mediaId
|
||||
responses:
|
||||
'201':
|
||||
description: Succesfully created the request
|
||||
|
||||
Reference in New Issue
Block a user