From 875d0cf393c3505a2e5cd41cb53eb3add80cb823 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 19 Feb 2021 19:04:25 -0600 Subject: [PATCH] Add documentation for API.chunked_upload_init --- docs/api.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/api.rst b/docs/api.rst index 5d12c10..7cde4ea 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1364,6 +1364,19 @@ Media methods :rtype: :class:`Media` object +.. method:: API.chunked_upload_init(total_bytes, media_type, \ + [media_category], [additional_owners]) + + Use this endpoint to initiate a chunked file upload session. + + :param total_bytes: The size of the media being uploaded in bytes. + :param media_type: The MIME type of the media being uploaded. + :param media_category: |media_category| + :param additional_owners: |additional_owners| + + :rtype: :class:`Media` object + + .. method:: API.create_media_metadata(media_id, alt_text) This endpoint can be used to provide additional information about the -- 2.25.1