mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Add get_export_fields to API docs
This commit is contained in:
parent
97775e2a3b
commit
e9f464e34d
1 changed files with 24 additions and 0 deletions
24
API.md
24
API.md
|
@ -726,6 +726,30 @@ Returns:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### get_export_fields
|
||||||
|
Get a list of available custom export fields.
|
||||||
|
|
||||||
|
```
|
||||||
|
Required parameters:
|
||||||
|
media_type (str): The media type of the fields to return
|
||||||
|
|
||||||
|
Optional parameters:
|
||||||
|
sub_media_type (str): The child media type for collections or playlists
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
json:
|
||||||
|
{"metadata_fields":
|
||||||
|
[{"field": "addedAt", "level": 1},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
"media_info_fields":
|
||||||
|
[{"field": "media.aspectRatio", "level": 1},
|
||||||
|
...
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### get_exports_table
|
### get_exports_table
|
||||||
Get the data on the Tautulli export tables.
|
Get the data on the Tautulli export tables.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue