Skip to content

Commit

Permalink
Add video tags endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bot-api-video authored Sep 27, 2024
1 parent bc0239d commit ab18929
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions sdks/api-clients/apivideo-android-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>video.api</groupId>
<artifactId>android-api-client</artifactId>
<version>1.6.2</version>
<version>1.6.3</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
<uses-permission android:name="android.permission.INTERNET" />
Expand All @@ -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`:
Expand Down Expand Up @@ -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


Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ab18929

Please sign in to comment.