Skip to content

Commit

Permalink
feat(all) remove raw statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierapivideo authored Sep 11, 2023
1 parent c3750cf commit f16295d
Show file tree
Hide file tree
Showing 32 changed files with 143 additions and 3,788 deletions.
24 changes: 0 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
- [ChaptersApi](#chaptersapi)
- [LiveStreamsApi](#livestreamsapi)
- [PlayerThemesApi](#playerthemesapi)
- [RawStatisticsApi](#rawstatisticsapi)
- [UploadTokensApi](#uploadtokensapi)
- [VideosApi](#videosapi)
- [WatermarksApi](#watermarksapi)
Expand Down Expand Up @@ -234,26 +233,6 @@ Method | HTTP request | Description
[**deleteLogo**](docs/PlayerThemesApi.md#deleteLogo) | **DELETE** /players/{playerId}/logo | Delete logo


### RawStatisticsApi


#### Retrieve an instance of RawStatisticsApi:
```java
ApiVideoClient client = new ApiVideoClient("YOUR_API_KEY");
RawStatisticsApi 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 @@ -383,9 +362,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 f16295d

Please sign in to comment.