Skip to content

Commit

Permalink
docs(java): add async and withHttpInfo methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee authored Apr 22, 2024
1 parent baf734a commit efc5ce1
Show file tree
Hide file tree
Showing 9 changed files with 114 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/AdvancedAuthenticationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Method | HTTP request | Description
<a name="authenticate"></a>
# **authenticate**
> AccessToken authenticate(authenticatePayload)
> okhttp3.Call authenticateAsync(authenticatePayload, callback) throws ApiException
> ApiResponse<AccessToken> authenticateWithHttpInfo(authenticatePayload) throws ApiException

Get Bearer Token

Expand Down Expand Up @@ -80,6 +83,9 @@ No authorization required
<a name="refresh"></a>
# **refresh**
> AccessToken refresh(refreshTokenPayload)
> okhttp3.Call refreshAsync(refreshTokenPayload, callback) throws ApiException
> ApiResponse<AccessToken> refreshWithHttpInfo(refreshTokenPayload) throws ApiException

Refresh Bearer Token

Expand Down
12 changes: 12 additions & 0 deletions docs/CaptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ Method | HTTP request | Description
<a name="upload"></a>
# **upload**
> Caption upload(videoId, language, file)
> okhttp3.Call uploadAsync(videoId, language, file, callback) throws ApiException
> ApiResponse<Caption> uploadWithHttpInfo(videoId, language, file) throws ApiException

Upload a caption

Expand Down Expand Up @@ -87,6 +90,9 @@ Name | Type | Description | Notes
<a name="get"></a>
# **get**
> Caption get(videoId, language)
> okhttp3.Call getAsync(videoId, language, callback) throws ApiException
> ApiResponse<Caption> getWithHttpInfo(videoId, language) throws ApiException

Retrieve a caption

Expand Down Expand Up @@ -160,6 +166,9 @@ Name | Type | Description | Notes
<a name="update"></a>
# **update**
> Caption update(videoId, language, captionsUpdatePayload)
> okhttp3.Call updateAsync(videoId, language, captionsUpdatePayload, callback) throws ApiException
> ApiResponse<Caption> updateWithHttpInfo(videoId, language, captionsUpdatePayload) throws ApiException

Update a caption

Expand Down Expand Up @@ -235,6 +244,9 @@ Name | Type | Description | Notes
<a name="delete"></a>
# **delete**
> delete(videoId, language)
> okhttp3.Call deleteAsync(videoId, language, callback) throws ApiException
> ApiResponse<Void> deleteWithHttpInfo(videoId, language) throws ApiException

Delete a caption

Expand Down
9 changes: 9 additions & 0 deletions docs/ChaptersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Method | HTTP request | Description
<a name="upload"></a>
# **upload**
> Chapter upload(videoId, language, file)
> okhttp3.Call uploadAsync(videoId, language, file, callback) throws ApiException
> ApiResponse<Chapter> uploadWithHttpInfo(videoId, language, file) throws ApiException

Upload a chapter

Expand Down Expand Up @@ -86,6 +89,9 @@ Name | Type | Description | Notes
<a name="get"></a>
# **get**
> Chapter get(videoId, language)
> okhttp3.Call getAsync(videoId, language, callback) throws ApiException
> ApiResponse<Chapter> getWithHttpInfo(videoId, language) throws ApiException

Retrieve a chapter

Expand Down Expand Up @@ -156,6 +162,9 @@ Name | Type | Description | Notes
<a name="delete"></a>
# **delete**
> delete(videoId, language)
> okhttp3.Call deleteAsync(videoId, language, callback) throws ApiException
> ApiResponse<Void> deleteWithHttpInfo(videoId, language) throws ApiException

Delete a chapter

Expand Down
18 changes: 18 additions & 0 deletions docs/LiveStreamsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Method | HTTP request | Description
<a name="create"></a>
# **create**
> LiveStream create(liveStreamCreationPayload)
> okhttp3.Call createAsync(liveStreamCreationPayload, callback) throws ApiException
> ApiResponse<LiveStream> createWithHttpInfo(liveStreamCreationPayload) throws ApiException

Create live stream

Expand Down Expand Up @@ -89,6 +92,9 @@ Name | Type | Description | Notes
<a name="get"></a>
# **get**
> LiveStream get(liveStreamId)
> okhttp3.Call getAsync(liveStreamId, callback) throws ApiException
> ApiResponse<LiveStream> getWithHttpInfo(liveStreamId) throws ApiException

Retrieve live stream

Expand Down Expand Up @@ -156,6 +162,9 @@ Name | Type | Description | Notes
<a name="update"></a>
# **update**
> LiveStream update(liveStreamId, liveStreamUpdatePayload)
> okhttp3.Call updateAsync(liveStreamId, liveStreamUpdatePayload, callback) throws ApiException
> ApiResponse<LiveStream> updateWithHttpInfo(liveStreamId, liveStreamUpdatePayload) throws ApiException

Update a live stream

Expand Down Expand Up @@ -231,6 +240,9 @@ Name | Type | Description | Notes
<a name="delete"></a>
# **delete**
> delete(liveStreamId)
> okhttp3.Call deleteAsync(liveStreamId, callback) throws ApiException
> ApiResponse<Void> deleteWithHttpInfo(liveStreamId) throws ApiException

Delete a live stream

Expand Down Expand Up @@ -381,6 +393,9 @@ Name | Type | Description | Notes
<a name="uploadThumbnail"></a>
# **uploadThumbnail**
> LiveStream uploadThumbnail(liveStreamId, file)
> okhttp3.Call uploadThumbnailAsync(liveStreamId, file, callback) throws ApiException
> ApiResponse<LiveStream> uploadThumbnailWithHttpInfo(liveStreamId, file) throws ApiException

Upload a thumbnail

Expand Down Expand Up @@ -452,6 +467,9 @@ Name | Type | Description | Notes
<a name="deleteThumbnail"></a>
# **deleteThumbnail**
> LiveStream deleteThumbnail(liveStreamId)
> okhttp3.Call deleteThumbnailAsync(liveStreamId, callback) throws ApiException
> ApiResponse<LiveStream> deleteThumbnailWithHttpInfo(liveStreamId) throws ApiException

Delete a thumbnail

Expand Down
18 changes: 18 additions & 0 deletions docs/PlayerThemesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Method | HTTP request | Description
<a name="create"></a>
# **create**
> PlayerTheme create(playerThemeCreationPayload)
> okhttp3.Call createAsync(playerThemeCreationPayload, callback) throws ApiException
> ApiResponse<PlayerTheme> createWithHttpInfo(playerThemeCreationPayload) throws ApiException

Create a player

Expand Down Expand Up @@ -100,6 +103,9 @@ Name | Type | Description | Notes
<a name="get"></a>
# **get**
> PlayerTheme get(playerId)
> okhttp3.Call getAsync(playerId, callback) throws ApiException
> ApiResponse<PlayerTheme> getWithHttpInfo(playerId) throws ApiException

Retrieve a player

Expand Down Expand Up @@ -168,6 +174,9 @@ Name | Type | Description | Notes
<a name="update"></a>
# **update**
> PlayerTheme update(playerId, playerThemeUpdatePayload)
> okhttp3.Call updateAsync(playerId, playerThemeUpdatePayload, callback) throws ApiException
> ApiResponse<PlayerTheme> updateWithHttpInfo(playerId, playerThemeUpdatePayload) throws ApiException

Update a player

Expand Down Expand Up @@ -255,6 +264,9 @@ Name | Type | Description | Notes
<a name="delete"></a>
# **delete**
> delete(playerId)
> okhttp3.Call deleteAsync(playerId, callback) throws ApiException
> ApiResponse<Void> deleteWithHttpInfo(playerId) throws ApiException

Delete a player

Expand Down Expand Up @@ -401,6 +413,9 @@ Name | Type | Description | Notes
<a name="uploadLogo"></a>
# **uploadLogo**
> PlayerTheme uploadLogo(playerId, file, link)
> okhttp3.Call uploadLogoAsync(playerId, file, link, callback) throws ApiException
> ApiResponse<PlayerTheme> uploadLogoWithHttpInfo(playerId, file, link) throws ApiException

Upload a logo

Expand Down Expand Up @@ -474,6 +489,9 @@ Name | Type | Description | Notes
<a name="deleteLogo"></a>
# **deleteLogo**
> deleteLogo(playerId)
> okhttp3.Call deleteLogoAsync(playerId, callback) throws ApiException
> ApiResponse<Void> deleteLogoWithHttpInfo(playerId) throws ApiException

Delete logo

Expand Down
9 changes: 9 additions & 0 deletions docs/UploadTokensApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Method | HTTP request | Description
<a name="createToken"></a>
# **createToken**
> UploadToken createToken(tokenCreationPayload)
> okhttp3.Call createTokenAsync(tokenCreationPayload, callback) throws ApiException
> ApiResponse<UploadToken> createTokenWithHttpInfo(tokenCreationPayload) throws ApiException

Generate an upload token

Expand Down Expand Up @@ -83,6 +86,9 @@ Name | Type | Description | Notes
<a name="getToken"></a>
# **getToken**
> UploadToken getToken(uploadToken)
> okhttp3.Call getTokenAsync(uploadToken, callback) throws ApiException
> ApiResponse<UploadToken> getTokenWithHttpInfo(uploadToken) throws ApiException

Retrieve upload token

Expand Down Expand Up @@ -151,6 +157,9 @@ Name | Type | Description | Notes
<a name="deleteToken"></a>
# **deleteToken**
> deleteToken(uploadToken)
> okhttp3.Call deleteTokenAsync(uploadToken, callback) throws ApiException
> ApiResponse<Void> deleteTokenWithHttpInfo(uploadToken) throws ApiException

Delete an upload token

Expand Down
27 changes: 27 additions & 0 deletions docs/VideosApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Method | HTTP request | Description
<a name="create"></a>
# **create**
> Video create(videoCreationPayload)
> okhttp3.Call createAsync(videoCreationPayload, callback) throws ApiException
> ApiResponse<Video> createWithHttpInfo(videoCreationPayload) throws ApiException

Create a video object

Expand Down Expand Up @@ -100,6 +103,9 @@ Name | Type | Description | Notes
<a name="upload"></a>
# **upload**
> Video upload(videoId, file)
> okhttp3.Call uploadAsync(videoId, file, callback) throws ApiException
> ApiResponse<Video> uploadWithHttpInfo(videoId, file) throws ApiException

Upload a video

Expand Down Expand Up @@ -216,6 +222,9 @@ Video result = session.uploadLastPart(new File("sample.mp4.partn"));
<a name="uploadWithUploadToken"></a>
# **uploadWithUploadToken**
> Video uploadWithUploadToken(token, file)
> okhttp3.Call uploadWithUploadTokenAsync(token, file, callback) throws ApiException
> ApiResponse<Video> uploadWithUploadTokenWithHttpInfo(token, file) throws ApiException

Upload with an delegated upload token

Expand Down Expand Up @@ -313,6 +322,9 @@ No authorization required
<a name="get"></a>
# **get**
> Video get(videoId)
> okhttp3.Call getAsync(videoId, callback) throws ApiException
> ApiResponse<Video> getWithHttpInfo(videoId) throws ApiException

Retrieve a video object

Expand Down Expand Up @@ -381,6 +393,9 @@ Name | Type | Description | Notes
<a name="update"></a>
# **update**
> Video update(videoId, videoUpdatePayload)
> okhttp3.Call updateAsync(videoId, videoUpdatePayload, callback) throws ApiException
> ApiResponse<Video> updateWithHttpInfo(videoId, videoUpdatePayload) throws ApiException

Update a video object

Expand Down Expand Up @@ -467,6 +482,9 @@ Name | Type | Description | Notes
<a name="delete"></a>
# **delete**
> delete(videoId)
> okhttp3.Call deleteAsync(videoId, callback) throws ApiException
> ApiResponse<Void> deleteWithHttpInfo(videoId) throws ApiException

Delete a video object

Expand Down Expand Up @@ -628,6 +646,9 @@ Name | Type | Description | Notes
<a name="uploadThumbnail"></a>
# **uploadThumbnail**
> Video uploadThumbnail(videoId, file)
> okhttp3.Call uploadThumbnailAsync(videoId, file, callback) throws ApiException
> ApiResponse<Video> uploadThumbnailWithHttpInfo(videoId, file) throws ApiException

Upload a thumbnail

Expand Down Expand Up @@ -711,6 +732,9 @@ Name | Type | Description | Notes
<a name="pickThumbnail"></a>
# **pickThumbnail**
> Video pickThumbnail(videoId, videoThumbnailPickPayload)
> okhttp3.Call pickThumbnailAsync(videoId, videoThumbnailPickPayload, callback) throws ApiException
> ApiResponse<Video> pickThumbnailWithHttpInfo(videoId, videoThumbnailPickPayload) throws ApiException

Set a thumbnail

Expand Down Expand Up @@ -799,6 +823,9 @@ Name | Type | Description | Notes
<a name="getStatus"></a>
# **getStatus**
> VideoStatus getStatus(videoId)
> okhttp3.Call getStatusAsync(videoId, callback) throws ApiException
> ApiResponse<VideoStatus> getStatusWithHttpInfo(videoId) throws ApiException

Retrieve video status and details

Expand Down
6 changes: 6 additions & 0 deletions docs/WatermarksApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Method | HTTP request | Description
<a name="upload"></a>
# **upload**
> Watermark upload(file)
> okhttp3.Call uploadAsync(file, callback) throws ApiException
> ApiResponse<Watermark> uploadWithHttpInfo(file) throws ApiException

Upload a watermark

Expand Down Expand Up @@ -80,6 +83,9 @@ Name | Type | Description | Notes
<a name="delete"></a>
# **delete**
> delete(watermarkId)
> okhttp3.Call deleteAsync(watermarkId, callback) throws ApiException
> ApiResponse<Void> deleteWithHttpInfo(watermarkId) throws ApiException

Delete a watermark

Expand Down
9 changes: 9 additions & 0 deletions docs/WebhooksApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Method | HTTP request | Description
<a name="create"></a>
# **create**
> Webhook create(webhooksCreationPayload)
> okhttp3.Call createAsync(webhooksCreationPayload, callback) throws ApiException
> ApiResponse<Webhook> createWithHttpInfo(webhooksCreationPayload) throws ApiException

Create Webhook

Expand Down Expand Up @@ -88,6 +91,9 @@ Name | Type | Description | Notes
<a name="get"></a>
# **get**
> Webhook get(webhookId)
> okhttp3.Call getAsync(webhookId, callback) throws ApiException
> ApiResponse<Webhook> getWithHttpInfo(webhookId) throws ApiException

Retrieve Webhook details

Expand Down Expand Up @@ -155,6 +161,9 @@ Name | Type | Description | Notes
<a name="delete"></a>
# **delete**
> delete(webhookId)
> okhttp3.Call deleteAsync(webhookId, callback) throws ApiException
> ApiResponse<Void> deleteWithHttpInfo(webhookId) throws ApiException

Delete a Webhook

Expand Down

0 comments on commit efc5ce1

Please sign in to comment.