Update import_database API docs
This commit is contained in:
13
API.md
13
API.md
@@ -2555,16 +2555,21 @@ Returns:
|
|||||||
|
|
||||||
|
|
||||||
### import_database
|
### import_database
|
||||||
Import a PlexWatch or Plexivity database into Tautulli.
|
Import a Tautulli, PlexWatch, or Plexivity database into Tautulli.
|
||||||
|
|
||||||
```
|
```
|
||||||
Required parameters:
|
Required parameters:
|
||||||
app (str): "plexwatch" or "plexivity"
|
app (str): "tautulli" or "plexwatch" or "plexivity"
|
||||||
database_path (str): The full path to the plexwatch database file
|
database_path (str): The full path to the plexwatch database file
|
||||||
table_name (str): "processed" or "grouped"
|
method (str): For Tautulli only, "merge" or "append" or "overwrite"
|
||||||
|
table_name (str): For PlexWatch or Plexivity only, "processed" or "grouped"
|
||||||
|
|
||||||
|
|
||||||
Optional parameters:
|
Optional parameters:
|
||||||
import_ignore_interval (int): The minimum number of seconds for a stream to import
|
backup (bool): For Tautulli only, true or false whether to backup
|
||||||
|
the current database before importing
|
||||||
|
import_ignore_interval (int): For PlexWatch or Plexivity only, the minimum number
|
||||||
|
of seconds for a stream to import
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
None
|
None
|
||||||
|
@@ -3748,7 +3748,7 @@ class WebInterface(object):
|
|||||||
Required parameters:
|
Required parameters:
|
||||||
app (str): "tautulli" or "plexwatch" or "plexivity"
|
app (str): "tautulli" or "plexwatch" or "plexivity"
|
||||||
database_path (str): The full path to the plexwatch database file
|
database_path (str): The full path to the plexwatch database file
|
||||||
method (str): For Tautulli only, "merge" or "overwrite"
|
method (str): For Tautulli only, "merge" or "append" or "overwrite"
|
||||||
table_name (str): For PlexWatch or Plexivity only, "processed" or "grouped"
|
table_name (str): For PlexWatch or Plexivity only, "processed" or "grouped"
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user