Skip to content

Commit

Permalink
Merge pull request #72 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 37d43b3 + 0f6a8ba commit 9a456e7
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 1,182 deletions.
13 changes: 0 additions & 13 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 @@ -171,15 +170,6 @@ Method | Description | HTTP request
[**deleteLogo()**](docs/Api/PlayerThemesApi.md#deleteLogo) | Delete logo | **DELETE** `/players/{playerId}/logo`


### RawStatisticsApi

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


### UploadTokensApi

Method | Description | HTTP request
Expand Down Expand Up @@ -265,9 +255,6 @@ Method | Description | HTTP request
- [PlayerThemeUpdatePayload](docs/Model/PlayerThemeUpdatePayload.md)
- [PlayerThemesListResponse](docs/Model/PlayerThemesListResponse.md)
- [Quality](docs/Model/Quality.md)
- [RawStatisticsListLiveStreamAnalyticsResponse](docs/Model/RawStatisticsListLiveStreamAnalyticsResponse.md)
- [RawStatisticsListPlayerSessionEventsResponse](docs/Model/RawStatisticsListPlayerSessionEventsResponse.md)
- [RawStatisticsListSessionsResponse](docs/Model/RawStatisticsListSessionsResponse.md)
- [RefreshTokenPayload](docs/Model/RefreshTokenPayload.md)
- [RestreamsRequestObject](docs/Model/RestreamsRequestObject.md)
- [RestreamsResponseObject](docs/Model/RestreamsResponseObject.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/Api/LiveStreamsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Updates the livestream object.

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` | [**\ApiVideo\Client\Model\LiveStreamUpdatePayload**](../Model/LiveStreamUpdatePayload.md)| |


Expand Down
116 changes: 0 additions & 116 deletions docs/Api/RawStatisticsApi.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/Model/LiveStream.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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** | **bool** | Whether you are recording or not. | [optional]
**public** | **bool** | 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** | [**\ApiVideo\Client\Model\LiveStreamAssets**](LiveStreamAssets.md) | | [optional]
**playerId** | **string** | The unique identifier for the player. | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/Model/LiveStreamCreationPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **string** | Add a name for your live stream here. |
**record** | **bool** | Whether you are recording or not. True for record, false for not record. | [optional] [default to false]
**public** | **bool** | 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** | [**\ApiVideo\Client\Model\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/Model/LiveStreamUpdatePayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **string** | The name you want to use for your live stream. | [optional]
**public** | **bool** | 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** | **bool** | 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** | [**\ApiVideo\Client\Model\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
10 changes: 0 additions & 10 deletions docs/Model/RawStatisticsListLiveStreamAnalyticsResponse.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/Model/RawStatisticsListPlayerSessionEventsResponse.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/Model/RawStatisticsListSessionsResponse.md

This file was deleted.

4 changes: 2 additions & 2 deletions src/Api/LiveStreamsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private function buildGetRequest(string $liveStreamId): Request
/**
* Update a live stream
*
* @param string $liveStreamId 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. (required)
* @param string $liveStreamId The unique ID for the live stream that you want to update information for such as player details. (required)
* @param \ApiVideo\Client\Model\LiveStreamUpdatePayload $liveStreamUpdatePayload liveStreamUpdatePayload (required)
*
* @throws \ApiVideo\Client\ApiException on non-2xx response
Expand All @@ -187,7 +187,7 @@ public function update(string $liveStreamId, \ApiVideo\Client\Model\LiveStreamUp
/**
* Create request for operation 'update'
*
* @param string $liveStreamId 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. (required)
* @param string $liveStreamId The unique ID for the live stream that you want to update information for such as player details. (required)
* @param \ApiVideo\Client\Model\LiveStreamUpdatePayload $liveStreamUpdatePayload (required)
*
* @throws \InvalidArgumentException
Expand Down
Loading

0 comments on commit 9a456e7

Please sign in to comment.