Skip to content

Commit

Permalink
Merge pull request #83 from apivideo/remove-raw-statistics
Browse files Browse the repository at this point in the history
feat(all) remove raw statistics
  • Loading branch information
bot-api-video authored Sep 11, 2023
2 parents 03e4261 + 2b91c6b commit 991d321
Show file tree
Hide file tree
Showing 31 changed files with 143 additions and 3,688 deletions.
24 changes: 0 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
- [ChaptersApi](#chaptersapi)
- [LiveStreamsApi](#livestreamsapi)
- [PlayerThemesApi](#playerthemesapi)
- [RawStatisticsApi](#rawstatisticsapi)
- [UploadTokensApi](#uploadtokensapi)
- [VideosApi](#videosapi)
- [WatermarksApi](#watermarksapi)
Expand Down Expand Up @@ -259,26 +258,6 @@ Method | HTTP request | Description
[**deleteLogo**](docs/PlayerThemesApi.md#deleteLogo) | **DELETE** /players/{playerId}/logo | Delete logo


### RawStatisticsApi


#### Retrieve an instance of RawStatisticsApi:
```kotlin
val client = ApiVideoClient("YOUR_API_KEY")
val rawStatistics = client.rawStatistics()
```



#### Endpoints

Method | HTTP request | Description
------------- | ------------- | -------------
[**listLiveStreamSessions**](docs/RawStatisticsApi.md#listLiveStreamSessions) | **GET** /analytics/live-streams/{liveStreamId} | List live stream player sessions
[**listSessionEvents**](docs/RawStatisticsApi.md#listSessionEvents) | **GET** /analytics/sessions/{sessionId}/events | List player session events
[**listVideoSessions**](docs/RawStatisticsApi.md#listVideoSessions) | **GET** /analytics/videos/{videoId} | List video player sessions


### UploadTokensApi


Expand Down Expand Up @@ -408,9 +387,6 @@ Method | HTTP request | Description
- [PlayerThemeUpdatePayload](docs/PlayerThemeUpdatePayload.md)
- [PlayerThemesListResponse](docs/PlayerThemesListResponse.md)
- [Quality](docs/Quality.md)
- [RawStatisticsListLiveStreamAnalyticsResponse](docs/RawStatisticsListLiveStreamAnalyticsResponse.md)
- [RawStatisticsListPlayerSessionEventsResponse](docs/RawStatisticsListPlayerSessionEventsResponse.md)
- [RawStatisticsListSessionsResponse](docs/RawStatisticsListSessionsResponse.md)
- [RefreshTokenPayload](docs/RefreshTokenPayload.md)
- [RestreamsRequestObject](docs/RestreamsRequestObject.md)
- [RestreamsResponseObject](docs/RestreamsResponseObject.md)
Expand Down
1,426 changes: 126 additions & 1,300 deletions api/openapi.yaml

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/LiveStream.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Name | Type | Description | Notes
**liveStreamId** | **String** | The unique identifier for the live stream. Live stream IDs begin with \"li.\" |
**name** | **String** | The name of your live stream. | [optional]
**streamKey** | **String** | The unique, private stream key that you use to begin streaming. | [optional]
**record** | **Boolean** | Whether you are recording or not. | [optional]
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**assets** | [**LiveStreamAssets**](LiveStreamAssets.md) | | [optional]
**playerId** | **String** | The unique identifier for the player. | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/LiveStreamCreationPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Add a name for your live stream here. |
**record** | **Boolean** | Whether you are recording or not. True for record, false for not record. | [optional]
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**playerId** | **String** | The unique identifier for the player. | [optional]
**restreams** | [**List<RestreamsRequestObject>**](RestreamsRequestObject.md) | Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/LiveStreamUpdatePayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | The name you want to use for your live stream. | [optional]
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**record** | **Boolean** | Use this to indicate whether you want the recording on or off. On is true, off is false. | [optional]
**playerId** | **String** | The unique ID for the player associated with a live stream that you want to update. | [optional]
**restreams** | [**List<RestreamsRequestObject>**](RestreamsRequestObject.md) | Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. This operation updates all restream destinations in the same request. If you do not want to modify an existing restream destination, you need to include it in your request, otherwise it is removed. | [optional]

Expand Down
6 changes: 2 additions & 4 deletions docs/LiveStreamsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class Example {

LiveStreamCreationPayload liveStreamCreationPayload = new LiveStreamCreationPayload(); //
liveStreamCreationPayload.setName("My Live Stream Video"); // Add a name for your live stream here.
liveStreamCreationPayload.setRecord(true); // Whether you are recording or not. True for record, false for not record.
liveStreamCreationPayload.setPublic(); // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos).
liveStreamCreationPayload.setPlayerId("pl4f4ferf5erfr5zed4fsdd"); // The unique identifier for the player.
liveStreamCreationPayload.setRestreams(Collections.<RestreamsRequestObject>emptyList()); // Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations.
Expand Down Expand Up @@ -177,11 +176,10 @@ public class Example {

LiveStreamsApi apiInstance = client.liveStreams();

String liveStreamId = "li400mYKSgQ6xs7taUeSaEKr"; // The unique ID for the live stream that you want to update information for such as player details, or whether you want the recording on or off.
String liveStreamId = "li400mYKSgQ6xs7taUeSaEKr"; // The unique ID for the live stream that you want to update information for such as player details.
LiveStreamUpdatePayload liveStreamUpdatePayload = new LiveStreamUpdatePayload(); //
liveStreamUpdatePayload.setName("My Live Stream Video"); // The name you want to use for your live stream.
liveStreamUpdatePayload.setPublic(); // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos).
liveStreamUpdatePayload.setRecord(true); // Use this to indicate whether you want the recording on or off. On is true, off is false.
liveStreamUpdatePayload.setPlayerId("pl45KFKdlddgk654dspkze"); // The unique ID for the player associated with a live stream that you want to update.
liveStreamUpdatePayload.setRestreams(Collections.<RestreamsRequestObject>emptyList()); // Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. This operation updates all restream destinations in the same request. If you do not want to modify an existing restream destination, you need to include it in your request, otherwise it is removed.

Expand All @@ -204,7 +202,7 @@ public class Example {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**liveStreamId** | **String**| The unique ID for the live stream that you want to update information for such as player details, or whether you want the recording on or off. |
**liveStreamId** | **String**| The unique ID for the live stream that you want to update information for such as player details. |
**liveStreamUpdatePayload** | [**LiveStreamUpdatePayload**](LiveStreamUpdatePayload.md)| |

### Return type
Expand Down
238 changes: 0 additions & 238 deletions docs/RawStatisticsApi.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/RawStatisticsListLiveStreamAnalyticsResponse.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/RawStatisticsListPlayerSessionEventsResponse.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/RawStatisticsListSessionsResponse.md

This file was deleted.

Loading

0 comments on commit 991d321

Please sign in to comment.