This endpoint can be used to provide additional information about the uploaded media_id.
This endpoint can be used to provide additional information about the uploaded media_id. This feature is currently only supported for images and GIFs. For more information see https://dev.twitter.com/rest/reference/post/media/metadata/create.
: The id of the media.
: The description of the media
Returns the status of a media upload for pulling purposes.
Returns the status of a media upload for pulling purposes. For more information see https://dev.twitter.com/rest/reference/get/media/upload-status.
: The id of the media.
: The media details
Uploads media asynchronously from a file.
Uploads media asynchronously from a file. For more information see https://dev.twitter.com/rest/media/uploading-media.
: the file to upload.
: By default is empty. A comma-separated list of user IDs to set as additional owners allowed to use the returned media_id in Tweets or Cards. Up to 100 additional owners may be specified.
: The media details
Uploads media asynchronously from an input stream.
Uploads media asynchronously from an input stream. For more information see https://dev.twitter.com/rest/media/uploading-media.
: the input stream to upload.
: the size of the data to upload.
: the type of the media to upload.
: By default is None
.
The filename used when uploading the media.
: By default is empty. A comma-separated list of user IDs to set as additional owners allowed to use the returned media_id in Tweets or Cards. Up to 100 additional owners may be specified.
: The media details
Uploads media asynchronously from an absolute file path.
Uploads media asynchronously from an absolute file path. For more information see https://dev.twitter.com/rest/media/uploading-media.
: the absolute path of the file to upload.
: By default is empty. A comma-separated list of user IDs to set as additional owners allowed to use the returned media_id in Tweets or Cards. Up to 100 additional owners may be specified.
: The media details
Implements the available endpoints for the MEDIA API.