Add import_config to API docs

This commit is contained in:
JonnyWong16 2020-08-02 10:18:25 -07:00
parent c52292962d
commit acfbb0e96d
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

23
API.md
View file

@ -2555,6 +2555,29 @@ Returns:
```
### import_config
Import a Tautulli config file.
```
Required parameters:
config_file (file): The config file to import (multipart/form-data)
or
config_path (str): The full path to the config file to import
Optional parameters:
backup (bool): true or false whether to backup
the current config before importing
Returns:
json:
{"result": "success",
"message": "Config import has started. Check the logs to monitor any problems. "
"Tautulli will restart automatically."
}
```
### import_database
Import a Tautulli, PlexWatch, or Plexivity database into Tautulli.