okhttp3.Call |
AuthenticationApi.authenticateAsync(AuthenticatePayload authenticatePayload,
ApiCallback<AccessToken> _callback) |
Advanced - Authenticate (1/2) (asynchronously) To get started, submit your API key in the body of your request.
|
okhttp3.Call |
CaptionsApi.APIlistRequest.buildCall(ApiCallback _callback) |
Build call for list
|
okhttp3.Call |
ChaptersApi.APIlistRequest.buildCall(ApiCallback _callback) |
Build call for list
|
okhttp3.Call |
LiveStreamsApi.APIlistRequest.buildCall(ApiCallback _callback) |
Build call for list
|
okhttp3.Call |
PlayerThemesApi.APIlistRequest.buildCall(ApiCallback _callback) |
Build call for list
|
okhttp3.Call |
RawStatisticsApi.APIlistLiveStreamSessionsRequest.buildCall(ApiCallback _callback) |
Build call for listLiveStreamSessions
|
okhttp3.Call |
RawStatisticsApi.APIlistSessionEventsRequest.buildCall(ApiCallback _callback) |
Build call for listSessionEvents
|
okhttp3.Call |
RawStatisticsApi.APIlistVideoSessionsRequest.buildCall(ApiCallback _callback) |
Build call for listVideoSessions
|
okhttp3.Call |
UploadTokensApi.APIlistRequest.buildCall(ApiCallback _callback) |
Build call for list
|
okhttp3.Call |
VideosApi.APIlistRequest.buildCall(ApiCallback _callback) |
Build call for list
|
okhttp3.Call |
WatermarksApi.APIlistRequest.buildCall(ApiCallback _callback) |
Build call for list
|
okhttp3.Call |
WebhooksApi.APIlistRequest.buildCall(ApiCallback _callback) |
Build call for list
|
okhttp3.Call |
LiveStreamsApi.createAsync(LiveStreamCreationPayload liveStreamCreationPayload,
ApiCallback<LiveStream> _callback) |
Create live stream (asynchronously) A live stream will give you the 'connection point' to RTMP your video
stream to api.video.
|
okhttp3.Call |
PlayerThemesApi.createAsync(PlayerThemeCreationPayload playerThemeCreationPayload,
ApiCallback<PlayerTheme> _callback) |
Create a player (asynchronously) Create a player for your video, and customise it.
|
okhttp3.Call |
VideosApi.createAsync(VideoCreationPayload videoCreationPayload,
ApiCallback<Video> _callback) |
Create a video (asynchronously) We have tutorials on: * [Creating and uploading
videos](https://api.video/blog/tutorials/video-upload-tutorial) * [Uploading large
videos](https://api.video/blog/tutorials/video-upload-tutorial-large-videos) * [Using tags with
videos](https://api.video/blog/tutorials/video-tagging-best-practices) * [Private
videos](https://api.video/blog/tutorials/tutorial-private-videos) * [Using Dynamic
Metadata](https://api.video/blog/tutorials/dynamic-metadata) * Full list of
[tutorials](https://api.video/blog/endpoints/video-create) that demonstrate this endpoint.
|
okhttp3.Call |
WebhooksApi.createAsync(WebhooksCreationPayload webhooksCreationPayload,
ApiCallback<Webhook> _callback) |
Create Webhook (asynchronously) Webhooks can push notifications to your server, rather than polling api.video for
changes.
|
okhttp3.Call |
UploadTokensApi.createTokenAsync(TokenCreationPayload tokenCreationPayload,
ApiCallback<UploadToken> _callback) |
Generate an upload token (asynchronously) Use this endpoint to generate an upload token.
|
okhttp3.Call |
CaptionsApi.deleteAsync(String videoId,
String language,
ApiCallback<Void> _callback) |
Delete a caption (asynchronously) Delete a caption in a specific language by providing the video ID for the video
you want to delete the caption from and the language the caption is in.
|
okhttp3.Call |
ChaptersApi.deleteAsync(String videoId,
String language,
ApiCallback<Void> _callback) |
Delete a chapter (asynchronously) Delete a chapter in a specific language by providing the video ID for the video
you want to delete the chapter from and the language the chapter is in.
|
okhttp3.Call |
LiveStreamsApi.deleteAsync(String liveStreamId,
ApiCallback<Void> _callback) |
Delete a live stream (asynchronously) If you do not need a live stream any longer, you can send a request to
delete it.
|
okhttp3.Call |
PlayerThemesApi.deleteAsync(String playerId,
ApiCallback<Void> _callback) |
Delete a player (asynchronously) Delete a player if you no longer need it.
|
okhttp3.Call |
VideosApi.deleteAsync(String videoId,
ApiCallback<Void> _callback) |
Delete a video (asynchronously) If you do not need a video any longer, you can send a request to delete it.
|
okhttp3.Call |
WatermarksApi.deleteAsync(String watermarkId,
ApiCallback<Void> _callback) |
Delete a watermark (asynchronously) Delete a watermark.
|
okhttp3.Call |
WebhooksApi.deleteAsync(String webhookId,
ApiCallback<Void> _callback) |
Delete a Webhook (asynchronously) This method will delete the indicated webhook.
|
okhttp3.Call |
PlayerThemesApi.deleteLogoAsync(String playerId,
ApiCallback<Void> _callback) |
Delete logo (asynchronously) Delete the logo associated to a player.
|
okhttp3.Call |
LiveStreamsApi.deleteThumbnailAsync(String liveStreamId,
ApiCallback<LiveStream> _callback) |
Delete a thumbnail (asynchronously) Send the unique identifier for a live stream to delete its thumbnail.
|
okhttp3.Call |
UploadTokensApi.deleteTokenAsync(String uploadToken,
ApiCallback<Void> _callback) |
Delete an upload token (asynchronously) Delete an existing upload token.
|
okhttp3.Call |
CaptionsApi.APIlistRequest.executeAsync(ApiCallback<Page<Caption>> _callback) |
Execute list request (asynchronously)
|
okhttp3.Call |
ChaptersApi.APIlistRequest.executeAsync(ApiCallback<Page<Chapter>> _callback) |
Execute list request (asynchronously)
|
okhttp3.Call |
LiveStreamsApi.APIlistRequest.executeAsync(ApiCallback<Page<LiveStream>> _callback) |
Execute list request (asynchronously)
|
okhttp3.Call |
PlayerThemesApi.APIlistRequest.executeAsync(ApiCallback<Page<PlayerTheme>> _callback) |
Execute list request (asynchronously)
|
okhttp3.Call |
RawStatisticsApi.APIlistLiveStreamSessionsRequest.executeAsync(ApiCallback<Page<LiveStreamSession>> _callback) |
Execute listLiveStreamSessions request (asynchronously)
|
okhttp3.Call |
RawStatisticsApi.APIlistSessionEventsRequest.executeAsync(ApiCallback<Page<PlayerSessionEvent>> _callback) |
Execute listSessionEvents request (asynchronously)
|
okhttp3.Call |
RawStatisticsApi.APIlistVideoSessionsRequest.executeAsync(ApiCallback<Page<VideoSession>> _callback) |
Execute listVideoSessions request (asynchronously)
|
okhttp3.Call |
UploadTokensApi.APIlistRequest.executeAsync(ApiCallback<Page<UploadToken>> _callback) |
Execute list request (asynchronously)
|
okhttp3.Call |
VideosApi.APIlistRequest.executeAsync(ApiCallback<Page<Video>> _callback) |
Execute list request (asynchronously)
|
okhttp3.Call |
WatermarksApi.APIlistRequest.executeAsync(ApiCallback<Page<Watermark>> _callback) |
Execute list request (asynchronously)
|
okhttp3.Call |
WebhooksApi.APIlistRequest.executeAsync(ApiCallback<Page<Webhook>> _callback) |
Execute list request (asynchronously)
|
okhttp3.Call |
CaptionsApi.getAsync(String videoId,
String language,
ApiCallback<Caption> _callback) |
Retrieve a caption (asynchronously) Retrieve a caption for a video in a specific language.
|
okhttp3.Call |
ChaptersApi.getAsync(String videoId,
String language,
ApiCallback<Chapter> _callback) |
Retrieve a chapter (asynchronously) Retrieve a chapter for a video in a specific language.
|
okhttp3.Call |
LiveStreamsApi.getAsync(String liveStreamId,
ApiCallback<LiveStream> _callback) |
Retrieve live stream (asynchronously) Supply a liveStreamId, and you'll get all the details for streaming
into, and watching the livestream.
|
okhttp3.Call |
PlayerThemesApi.getAsync(String playerId,
ApiCallback<PlayerTheme> _callback) |
Retrieve a player (asynchronously) Use a player ID to retrieve details about the player and display it for
viewers.
|
okhttp3.Call |
VideosApi.getAsync(String videoId,
ApiCallback<Video> _callback) |
Retrieve a video (asynchronously) This call provides the same information provided on video creation.
|
okhttp3.Call |
WebhooksApi.getAsync(String webhookId,
ApiCallback<Webhook> _callback) |
Retrieve Webhook details (asynchronously) This call provides the same JSON information provided on Webhook
creation.
|
okhttp3.Call |
VideosApi.getStatusAsync(String videoId,
ApiCallback<VideoStatus> _callback) |
Retrieve video status (asynchronously) This method provides upload status & encoding status to determine when
the video is uploaded or ready to playback.
|
okhttp3.Call |
UploadTokensApi.getTokenAsync(String uploadToken,
ApiCallback<UploadToken> _callback) |
Retrieve upload token (asynchronously) You can retrieve details about a specific upload token if you have the
unique identifier for the upload token.
|
okhttp3.Call |
VideosApi.pickThumbnailAsync(String videoId,
VideoThumbnailPickPayload videoThumbnailPickPayload,
ApiCallback<Video> _callback) |
Pick a thumbnail (asynchronously) Pick a thumbnail from the given time code.
|
okhttp3.Call |
AuthenticationApi.refreshAsync(RefreshTokenPayload refreshTokenPayload,
ApiCallback<AccessToken> _callback) |
Advanced - Refresh token (2/2) (asynchronously) Use the refresh endpoint with the refresh token you received when
you first authenticated using the api-key endpoint.
|
okhttp3.Call |
CaptionsApi.updateAsync(String videoId,
String language,
CaptionsUpdatePayload captionsUpdatePayload,
ApiCallback<Caption> _callback) |
Update a caption (asynchronously) To have the captions on automatically, use this method to set default: true.
|
okhttp3.Call |
LiveStreamsApi.updateAsync(String liveStreamId,
LiveStreamUpdatePayload liveStreamUpdatePayload,
ApiCallback<LiveStream> _callback) |
Update a live stream (asynchronously) Use this endpoint to update the player, or to turn recording on/off (saving
a copy of the livestream).
|
okhttp3.Call |
PlayerThemesApi.updateAsync(String playerId,
PlayerThemeUpdatePayload playerThemeUpdatePayload,
ApiCallback<PlayerTheme> _callback) |
Update a player (asynchronously) Use a player ID to update specific details for a player.
|
okhttp3.Call |
VideosApi.updateAsync(String videoId,
VideoUpdatePayload videoUpdatePayload,
ApiCallback<Video> _callback) |
Update a video (asynchronously) Updates the parameters associated with your video.
|
okhttp3.Call |
CaptionsApi.uploadAsync(String videoId,
String language,
File file,
ApiCallback<Caption> _callback) |
Upload a caption (asynchronously) Upload a VTT file to add captions to your video.
|
okhttp3.Call |
ChaptersApi.uploadAsync(String videoId,
String language,
File file,
ApiCallback<Chapter> _callback) |
Upload a chapter (asynchronously) Upload a VTT file to add chapters to your video.
|
okhttp3.Call |
WatermarksApi.uploadAsync(File file,
ApiCallback<Watermark> _callback) |
Upload a watermark (asynchronously) Create a new watermark by uploading a `JPG` or a `PNG`
image.
|
okhttp3.Call |
PlayerThemesApi.uploadLogoAsync(String playerId,
File file,
String link,
ApiCallback<PlayerTheme> _callback) |
Upload a logo (asynchronously) The uploaded image maximum size should be 200x100 and its weight should be 100KB.
|
okhttp3.Call |
LiveStreamsApi.uploadThumbnailAsync(String liveStreamId,
File file,
ApiCallback<LiveStream> _callback) |
Upload a thumbnail (asynchronously) Upload an image to use as a backdrop for your livestream.
|
okhttp3.Call |
VideosApi.uploadThumbnailAsync(String videoId,
File file,
ApiCallback<Video> _callback) |
Upload a thumbnail (asynchronously) The thumbnail is the poster that appears in the player window before video
playback begins.
|