From 48dc68fae1c845e0f4a7b4312f9429452a9a4f71 Mon Sep 17 00:00:00 2001 From: bot-api-video Date: Wed, 2 Oct 2024 12:44:02 +0000 Subject: [PATCH] Add video tags endpoint --- sdks/api-clients/apivideo-android-client.md | 30 ++++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/sdks/api-clients/apivideo-android-client.md b/sdks/api-clients/apivideo-android-client.md index 35c1f9cf..471b9d81 100644 --- a/sdks/api-clients/apivideo-android-client.md +++ b/sdks/api-clients/apivideo-android-client.md @@ -31,7 +31,7 @@ Add this dependency to your project's POM: video.api android-api-client - 1.6.2 + 1.6.3 compile ``` @@ -41,7 +41,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -implementation "video.api:android-api-client:1.6.2" +implementation "video.api:android-api-client:1.6.3" ``` #### Others @@ -54,7 +54,7 @@ mvn clean package Then manually install the following JARs: -* `target/android-api-client-1.6.2.jar` +* `target/android-api-client-1.6.3.jar` * `target/lib/*.jar` ### Code sample @@ -86,7 +86,7 @@ To upload a video, you have 3 differents methods: ## Permissions -You have to add the following permissions in your `AndroidManifest.xml`: +If your video files are located in the media store, you have to add the following permissions in your `AndroidManifest.xml`: ```xml @@ -100,6 +100,8 @@ You have to add the following permissions in your `AndroidManifest.xml`: Your application also has to dynamically request the `android.permission.READ_EXTERNAL_STORAGE` permission to upload videos. +If your video files are located in the app-specific storage, you don't need to request any permissions nor add any permissions to your `AndroidManifest.xml`. + ### WorkManager To upload with the `WorkManager`, you also have to add the following lines in your `AndroidManifest.xml`: @@ -262,6 +264,24 @@ Method | HTTP request | Description [**deleteLogo**](https://github.com/apivideo/api.video-android-client/blob/main/docs/PlayerThemesApi.md#deleteLogo) | **DELETE** `/players/\{playerId}/logo` | Delete logo +### TagsApi + + +#### Retrieve an instance of TagsApi: +```kotlin +val client = ApiVideoClient("YOUR_API_KEY") +val tags = client.tags() +``` + + + +#### Endpoints + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**list**](https://github.com/apivideo/api.video-android-client/blob/main/docs/TagsApi.md#list) | **GET** `/tags` | List all video tags + + ### UploadTokensApi @@ -384,6 +404,8 @@ Method | HTTP request | Description - [FilterBy1](https://github.com/apivideo/api.video-android-client/blob/main/docs/FilterBy1.md) - [FilterBy2](https://github.com/apivideo/api.video-android-client/blob/main/docs/FilterBy2.md) - [Link](https://github.com/apivideo/api.video-android-client/blob/main/docs/Link.md) + - [ListTagsResponse](https://github.com/apivideo/api.video-android-client/blob/main/docs/ListTagsResponse.md) + - [ListTagsResponseData](https://github.com/apivideo/api.video-android-client/blob/main/docs/ListTagsResponseData.md) - [LiveStream](https://github.com/apivideo/api.video-android-client/blob/main/docs/LiveStream.md) - [LiveStreamAssets](https://github.com/apivideo/api.video-android-client/blob/main/docs/LiveStreamAssets.md) - [LiveStreamCreationPayload](https://github.com/apivideo/api.video-android-client/blob/main/docs/LiveStreamCreationPayload.md)