Fix export doc strings

This commit is contained in:
JonnyWong16 2020-08-03 15:49:09 -07:00
parent bcc693e4c7
commit 06341ee632
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -1,4 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# This file is part of Tautulli. # This file is part of Tautulli.
# #
@ -6482,11 +6482,12 @@ class WebInterface(object):
@requireAuth(member_of("admin")) @requireAuth(member_of("admin"))
@addtoapi() @addtoapi()
def export_metadata(self, section_id=None, rating_key=None, file_format='json', **kwargs): def export_metadata(self, section_id=None, rating_key=None, file_format='json', **kwargs):
""" Download the Plex log file. """ Export library or media metadata to a file
``` ```
Required parameters: Required parameters:
row_id (int): The row id of the exported file to download section_id (int): The section id of the library to export, OR
rating_key (int): The rating key of the media item to export
Optional parameters: Optional parameters:
None None
@ -6510,7 +6511,7 @@ class WebInterface(object):
@requireAuth(member_of("admin")) @requireAuth(member_of("admin"))
@addtoapi() @addtoapi()
def download_export(self, row_id=None, **kwargs): def download_export(self, row_id=None, **kwargs):
""" Download the Plex log file. """ Download an exported metadata file
``` ```
Required parameters: Required parameters: