description:Retreives all main settings in JSON format
tags:
- settings
responses:
'200':
description:OK
content:
application/json:
schema:
$ref:'#/components/schemas/MainSettings'
post:
summary:Update main settings
description:Update current main settings with provided values
tags:
- settings
requestBody:
required:true
content:
application/json:
schema:
$ref:'#/components/schemas/MainSettings'
responses:
'200':
description:'Values were sucessfully updated'
content:
application/json:
schema:
$ref:'#/components/schemas/MainSettings'
/settings/plex:
get:
summary:Returns plex settings
description:Retrieves current Plex settings
tags:
- settings
responses:
'200':
description:OK
content:
application/json:
schema:
$ref:'#/components/schemas/PlexSettings'
post:
summary:Update plex settings
description:Update the current plex settings with provided values
tags:
- settings
requestBody:
required:true
content:
application/json:
schema:
$ref:'#/components/schemas/PlexSettings'
responses:
'200':
description:'Values were successfully updated'
content:
application/json:
schema:
$ref:'#/components/schemas/PlexSettings'
/settings/radarr:
get:
summary:Get all radarr settings
description:Returns all radarr settings in a JSON array
tags:
- settings
responses:
'200':
description:'Values were returned'
content:
application/json:
schema:
type:array
items:
$ref:'#/components/schemas/RadarrSettings'
post:
summary:Create new radarr instance
description:Creates a new radarr instance from the request body
tags:
- settings
requestBody:
required:true
content:
application/json:
schema:
$ref:'#/components/schemas/RadarrSettings'
responses:
'201':
description:'New Radarr instance created'
content:
application/json:
schema:
$ref:'#/components/schemas/RadarrSettings'
/settings/radarr/{radarrId}:
put:
summary:Update existing radarr instance
description:Updates an existing radarr instance with values from request body
tags:
- settings
parameters:
- in:path
name:radarrId
required:true
schema:
type:integer
description:Radarr instance ID
requestBody:
required:true
content:
application/json:
schema:
$ref:'#/components/schemas/RadarrSettings'
responses:
'200':
description:'Radarr instance updated'
content:
application/json:
schema:
$ref:'#/components/schemas/RadarrSettings'
delete:
summary:Delete existing radarr instance
description:Deletes an existing radarr instance based on id parameter
tags:
- settings
parameters:
- in:path
name:radarrId
required:true
schema:
type:integer
description:Radarr Instance ID
responses:
'200':
description:'Radarr instance updated'
content:
application/json:
schema:
$ref:'#/components/schemas/RadarrSettings'
/settings/sonarr:
get:
summary:Get all sonarr settings
description:Returns all sonarr settings in a JSON array
tags:
- settings
responses:
'200':
description:'Values were returned'
content:
application/json:
schema:
type:array
items:
$ref:'#/components/schemas/SonarrSettings'
post:
summary:Create new Sonarr instance
description:Creates a new Sonarr instance from the request body
tags:
- settings
requestBody:
required:true
content:
application/json:
schema:
$ref:'#/components/schemas/SonarrSettings'
responses:
'201':
description:'New Sonarr instance created'
content:
application/json:
schema:
$ref:'#/components/schemas/SonarrSettings'
/settings/sonarr/{sonarrId}:
put:
summary:Update existing sonarr instance
description:Updates an existing sonarr instance with values from request body
tags:
- settings
parameters:
- in:path
name:sonarrId
required:true
schema:
type:integer
description:Sonarr instance ID
requestBody:
required:true
content:
application/json:
schema:
$ref:'#/components/schemas/SonarrSettings'
responses:
'200':
description:'Sonarr instance updated'
content:
application/json:
schema:
$ref:'#/components/schemas/SonarrSettings'
delete:
summary:Delete existing sonarr instance
description:Deletes an existing sonarr instance based on id parameter
tags:
- settings
parameters:
- in:path
name:sonarrId
required:true
schema:
type:integer
description:Sonarr Instance ID
responses:
'200':
description:'Sonarr instance updated'
content:
application/json:
schema:
$ref:'#/components/schemas/SonarrSettings'
/auth/me:
get:
summary:Returns the currently logged in user
description:Returns the currently logged in user
tags:
- auth
- users
responses:
'200':
description:Object containing the logged in user in JSON
content:
application/json:
schema:
$ref:'#/components/schemas/User'
/auth/login:
post:
summary:Login using a plex auth token
description:Takes an `authToken` (plex token) to log the user in. Generates a session cookie for use in further requests. If the user does not exist, and there are no other users, then a user will be created with full admin privileges. If a user logs in with access to the main plex server, they will also have an account created, but without any permissions.