From: Harmon Date: Thu, 27 May 2021 15:38:42 +0000 (-0500) Subject: Update and improve documentation for API.get_media_upload_status X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=05c073fb34606bff1a6810b447d88bd57ff00530;p=tweepy.git Update and improve documentation for API.get_media_upload_status --- diff --git a/tweepy/api.py b/tweepy/api.py index 2739603..30e25a2 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -3299,9 +3299,18 @@ class API: Check on the progress of a chunked media upload. If the upload has succeeded, it's safe to create a Tweet with this ``media_id``. - :param media_id: The ID of the media to check. + Parameters + ---------- + media_id + The ID of the media to check. - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/get-media-upload-status + Returns + ------- + :class:`~tweepy.models.Media` + + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/get-media-upload-status """ return self.request( 'GET', 'media/upload', endpoint_parameters=(