Add get_export_fields to API docs

This commit is contained in:
JonnyWong16 2020-09-29 19:41:53 -07:00
parent 97775e2a3b
commit e9f464e34d
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

24
API.md
View file

@ -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 the data on the Tautulli export tables.