mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-03 05:35:29 +00:00
Basic Auth was removed from API endpoints leaving only API Key auth. [Commit f92aded4f0
]
parent
a7a8564e18
commit
74a5affe1b
1 changed files with 3 additions and 10 deletions
13
API/API.md
13
API/API.md
|
@ -5,21 +5,14 @@ All API endpoints are based off of `/api` if you access drone via `http://localh
|
||||||
|
|
||||||
## Authentication ##
|
## Authentication ##
|
||||||
|
|
||||||
All requests made from a system other than localhost require authentication, either an API Key or Basic Authentication is supported, although it is recommended to use the API Key. Basic auth may be disabled on the API in a future version.
|
All requests made to the api endpoint require API Key authentication using the X-Api-Key header.
|
||||||
|
|
||||||
API Key uses the X-Api-Key header for authentication.
|
|
||||||
|
|
||||||
### API Key ###
|
### API Key ###
|
||||||
|
|
||||||
- Recommended
|
- Can be accessed and reset via Settings -> General
|
||||||
- Found in Config.xml
|
- Stored in Config.xml
|
||||||
- alpha-numeric (lower case)
|
- alpha-numeric (lower case)
|
||||||
|
|
||||||
### Basic Auth ###
|
|
||||||
|
|
||||||
- Not recommended
|
|
||||||
- Username & Password
|
|
||||||
|
|
||||||
## Dates & Times ##
|
## Dates & Times ##
|
||||||
|
|
||||||
- All dates/timestamps are ISO-8601 formatted in UTC `2014-01-27T01:30:00Z`
|
- All dates/timestamps are ISO-8601 formatted in UTC `2014-01-27T01:30:00Z`
|
||||||
|
|
Loading…
Reference in a new issue