Update API docs to mention enabling api_sql while Tautulli is shut down
This commit is contained in:
2
API.md
2
API.md
@@ -2774,7 +2774,7 @@ Returns:
|
|||||||
### sql
|
### sql
|
||||||
Query the Tautulli database with raw SQL. Automatically makes a backup of
|
Query the Tautulli database with raw SQL. Automatically makes a backup of
|
||||||
the database if the latest backup is older then 24h. `api_sql` must be
|
the database if the latest backup is older then 24h. `api_sql` must be
|
||||||
manually enabled in the config file.
|
manually enabled in the config file while Tautulli is shut down.
|
||||||
|
|
||||||
```
|
```
|
||||||
Required parameters:
|
Required parameters:
|
||||||
|
@@ -292,7 +292,7 @@ class API2:
|
|||||||
def sql(self, query=''):
|
def sql(self, query=''):
|
||||||
""" Query the Tautulli database with raw SQL. Automatically makes a backup of
|
""" Query the Tautulli database with raw SQL. Automatically makes a backup of
|
||||||
the database if the latest backup is older then 24h. `api_sql` must be
|
the database if the latest backup is older then 24h. `api_sql` must be
|
||||||
manually enabled in the config file.
|
manually enabled in the config file while Tautulli is shut down.
|
||||||
|
|
||||||
```
|
```
|
||||||
Required parameters:
|
Required parameters:
|
||||||
|
Reference in New Issue
Block a user