@connectedxm/admin-sdk 13.6.0 → 13.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api.ts +240 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +128 -1
- package/dist/api.js +191 -22
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +128 -1
- package/dist/esm/api.js +170 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/GetStreamSessionViewers200Response.md +26 -0
- package/docs/StreamSessionViewer.md +26 -0
- package/docs/StreamsSessionsApi.md +119 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**closeStreamSession**](#closestreamsession) | **PUT** /streams/{streamId}/sessions/{sessionId}/close | Close an active stream session|
|
|
8
|
+
|[**deleteStreamSessionChatMessage**](#deletestreamsessionchatmessage) | **DELETE** /streams/sessions/{sessionId}/chat/{messageId} | Delete a stream session chat message|
|
|
8
9
|
|[**exportStreamSession**](#exportstreamsession) | **POST** /streams/{streamId}/sessions/{sessionId}/export | Request an export of a stream session|
|
|
9
10
|
|[**exportStreamSessionById**](#exportstreamsessionbyid) | **POST** /streams/sessions/{sessionId}/export | Request an export of a stream session by session id|
|
|
10
11
|
|[**getAllStreamSessions**](#getallstreamsessions) | **GET** /streams/sessions | List stream sessions across all stream inputs|
|
|
@@ -14,6 +15,7 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
14
15
|
|[**getStreamSessionByIdSubscriptions**](#getstreamsessionbyidsubscriptions) | **GET** /streams/sessions/{sessionId}/subscriptions | List a stream session\'s viewer connections by session id|
|
|
15
16
|
|[**getStreamSessionChat**](#getstreamsessionchat) | **GET** /streams/{streamId}/sessions/{sessionId}/chat | List a stream session\'s chat messages|
|
|
16
17
|
|[**getStreamSessionSubscriptions**](#getstreamsessionsubscriptions) | **GET** /streams/{streamId}/sessions/{sessionId}/subscriptions | List a stream session\'s viewer connections|
|
|
18
|
+
|[**getStreamSessionViewers**](#getstreamsessionviewers) | **GET** /streams/sessions/{sessionId}/viewers | List the people watching a stream session|
|
|
17
19
|
|[**getStreamSessions**](#getstreamsessions) | **GET** /streams/{streamId}/sessions | List a stream\'s broadcast sessions|
|
|
18
20
|
|[**updateStreamSession**](#updatestreamsession) | **PUT** /streams/sessions/{sessionId} | Update a stream session|
|
|
19
21
|
|
|
@@ -50,6 +52,60 @@ const { status, data } = await apiInstance.closeStreamSession(
|
|
|
50
52
|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
|
|
51
53
|
|
|
52
54
|
|
|
55
|
+
### Return type
|
|
56
|
+
|
|
57
|
+
**CreateAccountInvitations200Response**
|
|
58
|
+
|
|
59
|
+
### Authorization
|
|
60
|
+
|
|
61
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
62
|
+
|
|
63
|
+
### HTTP request headers
|
|
64
|
+
|
|
65
|
+
- **Content-Type**: Not defined
|
|
66
|
+
- **Accept**: application/json
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### HTTP response details
|
|
70
|
+
| Status code | Description | Response headers |
|
|
71
|
+
|-------------|-------------|------------------|
|
|
72
|
+
|**200** | Successful response | - |
|
|
73
|
+
|
|
74
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
75
|
+
|
|
76
|
+
# **deleteStreamSessionChatMessage**
|
|
77
|
+
> CreateAccountInvitations200Response deleteStreamSessionChatMessage()
|
|
78
|
+
|
|
79
|
+
Permanently deletes a chat message (messageId) from the given stream session (sessionId), whether the session is active or ended and whether or not its stream input still exists; requires the read and update permissions on streams.
|
|
80
|
+
|
|
81
|
+
### Example
|
|
82
|
+
|
|
83
|
+
```typescript
|
|
84
|
+
import {
|
|
85
|
+
StreamsSessionsApi,
|
|
86
|
+
Configuration
|
|
87
|
+
} from '@connectedxm/admin-sdk';
|
|
88
|
+
|
|
89
|
+
const configuration = new Configuration();
|
|
90
|
+
const apiInstance = new StreamsSessionsApi(configuration);
|
|
91
|
+
|
|
92
|
+
let sessionId: string; //The session identifier (default to undefined)
|
|
93
|
+
let messageId: string; //The message identifier (default to undefined)
|
|
94
|
+
|
|
95
|
+
const { status, data } = await apiInstance.deleteStreamSessionChatMessage(
|
|
96
|
+
sessionId,
|
|
97
|
+
messageId
|
|
98
|
+
);
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Parameters
|
|
102
|
+
|
|
103
|
+
|Name | Type | Description | Notes|
|
|
104
|
+
|------------- | ------------- | ------------- | -------------|
|
|
105
|
+
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
|
|
106
|
+
| **messageId** | [**string**] | The message identifier | defaults to undefined|
|
|
107
|
+
|
|
108
|
+
|
|
53
109
|
### Return type
|
|
54
110
|
|
|
55
111
|
**CreateAccountInvitations200Response**
|
|
@@ -586,6 +642,69 @@ const { status, data } = await apiInstance.getStreamSessionSubscriptions(
|
|
|
586
642
|
- **Accept**: application/json
|
|
587
643
|
|
|
588
644
|
|
|
645
|
+
### HTTP response details
|
|
646
|
+
| Status code | Description | Response headers |
|
|
647
|
+
|-------------|-------------|------------------|
|
|
648
|
+
|**200** | Successful response | - |
|
|
649
|
+
|
|
650
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
651
|
+
|
|
652
|
+
# **getStreamSessionViewers**
|
|
653
|
+
> GetStreamSessionViewers200Response getStreamSessionViewers()
|
|
654
|
+
|
|
655
|
+
Returns a paginated list of the accounts currently watching the given stream session, one row per account with how many active connections it holds and when its earliest one connected; the count is the number of people watching, where the subscriptions list counts connections. Requires read permission on streams.
|
|
656
|
+
|
|
657
|
+
### Example
|
|
658
|
+
|
|
659
|
+
```typescript
|
|
660
|
+
import {
|
|
661
|
+
StreamsSessionsApi,
|
|
662
|
+
Configuration
|
|
663
|
+
} from '@connectedxm/admin-sdk';
|
|
664
|
+
|
|
665
|
+
const configuration = new Configuration();
|
|
666
|
+
const apiInstance = new StreamsSessionsApi(configuration);
|
|
667
|
+
|
|
668
|
+
let sessionId: string; //The session identifier (default to undefined)
|
|
669
|
+
let page: number; //Page number (optional) (default to 1)
|
|
670
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
671
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
672
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
673
|
+
|
|
674
|
+
const { status, data } = await apiInstance.getStreamSessionViewers(
|
|
675
|
+
sessionId,
|
|
676
|
+
page,
|
|
677
|
+
pageSize,
|
|
678
|
+
orderBy,
|
|
679
|
+
search
|
|
680
|
+
);
|
|
681
|
+
```
|
|
682
|
+
|
|
683
|
+
### Parameters
|
|
684
|
+
|
|
685
|
+
|Name | Type | Description | Notes|
|
|
686
|
+
|------------- | ------------- | ------------- | -------------|
|
|
687
|
+
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
|
|
688
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
689
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
690
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
691
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
### Return type
|
|
695
|
+
|
|
696
|
+
**GetStreamSessionViewers200Response**
|
|
697
|
+
|
|
698
|
+
### Authorization
|
|
699
|
+
|
|
700
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
701
|
+
|
|
702
|
+
### HTTP request headers
|
|
703
|
+
|
|
704
|
+
- **Content-Type**: Not defined
|
|
705
|
+
- **Accept**: application/json
|
|
706
|
+
|
|
707
|
+
|
|
589
708
|
### HTTP response details
|
|
590
709
|
| Status code | Description | Response headers |
|
|
591
710
|
|-------------|-------------|------------------|
|