@connectedxm/admin-sdk 6.7.3 → 6.7.5
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 +6 -6
- package/AdminApi.ts +18 -18
- package/README.md +31 -31
- package/api.ts +16996 -16996
- package/dist/AdminApi.d.ts +7 -7
- package/dist/AdminApi.js +6 -6
- package/dist/api.d.ts +10059 -10059
- package/dist/api.js +8065 -8065
- package/dist/esm/AdminApi.d.ts +7 -7
- package/dist/esm/AdminApi.js +7 -7
- package/dist/esm/api.d.ts +10059 -10059
- package/dist/esm/api.js +14958 -14958
- package/docs/FilesApi.md +0 -116
- package/docs/{LevelsAccountsApi.md → SponsorsAccountsApi.md} +7 -7
- package/docs/{LevelsApi.md → SponsorsApi.md} +11 -11
- package/docs/StorageFilesApi.md +181 -0
- package/docs/{ImagesApi.md → StorageImagesApi.md} +17 -17
- package/docs/{VideosApi.md → StorageVideosApi.md} +15 -15
- package/docs/{VideosCaptionsApi.md → StorageVideosCaptionsApi.md} +11 -11
- package/docs/StreamsApi.md +2 -2
- package/package.json +1 -1
- package/docs/StorageApi.md +0 -65
package/docs/FilesApi.md
CHANGED
|
@@ -5,8 +5,6 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**deleteFile**](#deletefile) | **DELETE** /files/{fileId} | Delete File|
|
|
8
|
-
|[**getFile**](#getfile) | **GET** /files/{fileId} | Get File|
|
|
9
|
-
|[**getFiles**](#getfiles) | **GET** /files | Get Files|
|
|
10
8
|
|[**updateFile**](#updatefile) | **PUT** /files/{fileId} | Update File|
|
|
11
9
|
|
|
12
10
|
# **deleteFile**
|
|
@@ -53,120 +51,6 @@ const { status, data } = await apiInstance.deleteFile(
|
|
|
53
51
|
- **Accept**: application/json
|
|
54
52
|
|
|
55
53
|
|
|
56
|
-
### HTTP response details
|
|
57
|
-
| Status code | Description | Response headers |
|
|
58
|
-
|-------------|-------------|------------------|
|
|
59
|
-
|**200** | Successful response | - |
|
|
60
|
-
|
|
61
|
-
[[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)
|
|
62
|
-
|
|
63
|
-
# **getFile**
|
|
64
|
-
> UploadFile200Response getFile()
|
|
65
|
-
|
|
66
|
-
Get File endpoint
|
|
67
|
-
|
|
68
|
-
### Example
|
|
69
|
-
|
|
70
|
-
```typescript
|
|
71
|
-
import {
|
|
72
|
-
FilesApi,
|
|
73
|
-
Configuration
|
|
74
|
-
} from '@connectedxm/admin-sdk';
|
|
75
|
-
|
|
76
|
-
const configuration = new Configuration();
|
|
77
|
-
const apiInstance = new FilesApi(configuration);
|
|
78
|
-
|
|
79
|
-
let fileId: string; //The file identifier (default to undefined)
|
|
80
|
-
|
|
81
|
-
const { status, data } = await apiInstance.getFile(
|
|
82
|
-
fileId
|
|
83
|
-
);
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Parameters
|
|
87
|
-
|
|
88
|
-
|Name | Type | Description | Notes|
|
|
89
|
-
|------------- | ------------- | ------------- | -------------|
|
|
90
|
-
| **fileId** | [**string**] | The file identifier | defaults to undefined|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### Return type
|
|
94
|
-
|
|
95
|
-
**UploadFile200Response**
|
|
96
|
-
|
|
97
|
-
### Authorization
|
|
98
|
-
|
|
99
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
100
|
-
|
|
101
|
-
### HTTP request headers
|
|
102
|
-
|
|
103
|
-
- **Content-Type**: Not defined
|
|
104
|
-
- **Accept**: application/json
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### HTTP response details
|
|
108
|
-
| Status code | Description | Response headers |
|
|
109
|
-
|-------------|-------------|------------------|
|
|
110
|
-
|**200** | Successful response | - |
|
|
111
|
-
|
|
112
|
-
[[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)
|
|
113
|
-
|
|
114
|
-
# **getFiles**
|
|
115
|
-
> GetFiles200Response getFiles()
|
|
116
|
-
|
|
117
|
-
Get Files endpoint
|
|
118
|
-
|
|
119
|
-
### Example
|
|
120
|
-
|
|
121
|
-
```typescript
|
|
122
|
-
import {
|
|
123
|
-
FilesApi,
|
|
124
|
-
Configuration
|
|
125
|
-
} from '@connectedxm/admin-sdk';
|
|
126
|
-
|
|
127
|
-
const configuration = new Configuration();
|
|
128
|
-
const apiInstance = new FilesApi(configuration);
|
|
129
|
-
|
|
130
|
-
let source: string; //Filter by source (optional) (default to undefined)
|
|
131
|
-
let page: number; //Page number (optional) (default to 1)
|
|
132
|
-
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
133
|
-
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
134
|
-
let search: string; //Search query (optional) (default to undefined)
|
|
135
|
-
|
|
136
|
-
const { status, data } = await apiInstance.getFiles(
|
|
137
|
-
source,
|
|
138
|
-
page,
|
|
139
|
-
pageSize,
|
|
140
|
-
orderBy,
|
|
141
|
-
search
|
|
142
|
-
);
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### Parameters
|
|
146
|
-
|
|
147
|
-
|Name | Type | Description | Notes|
|
|
148
|
-
|------------- | ------------- | ------------- | -------------|
|
|
149
|
-
| **source** | [**string**] | Filter by source | (optional) defaults to undefined|
|
|
150
|
-
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
151
|
-
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
152
|
-
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
153
|
-
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
### Return type
|
|
157
|
-
|
|
158
|
-
**GetFiles200Response**
|
|
159
|
-
|
|
160
|
-
### Authorization
|
|
161
|
-
|
|
162
|
-
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
163
|
-
|
|
164
|
-
### HTTP request headers
|
|
165
|
-
|
|
166
|
-
- **Content-Type**: Not defined
|
|
167
|
-
- **Accept**: application/json
|
|
168
|
-
|
|
169
|
-
|
|
170
54
|
### HTTP response details
|
|
171
55
|
| Status code | Description | Response headers |
|
|
172
56
|
|-------------|-------------|------------------|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SponsorsAccountsApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
4
|
|
|
@@ -17,12 +17,12 @@ Add Level Account endpoint
|
|
|
17
17
|
|
|
18
18
|
```typescript
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
SponsorsAccountsApi,
|
|
21
21
|
Configuration
|
|
22
22
|
} from '@connectedxm/admin-sdk';
|
|
23
23
|
|
|
24
24
|
const configuration = new Configuration();
|
|
25
|
-
const apiInstance = new
|
|
25
|
+
const apiInstance = new SponsorsAccountsApi(configuration);
|
|
26
26
|
|
|
27
27
|
let levelId: string; //The level identifier (default to undefined)
|
|
28
28
|
let accountId: string; //The account identifier (default to undefined)
|
|
@@ -71,12 +71,12 @@ Get Level Accounts endpoint
|
|
|
71
71
|
|
|
72
72
|
```typescript
|
|
73
73
|
import {
|
|
74
|
-
|
|
74
|
+
SponsorsAccountsApi,
|
|
75
75
|
Configuration
|
|
76
76
|
} from '@connectedxm/admin-sdk';
|
|
77
77
|
|
|
78
78
|
const configuration = new Configuration();
|
|
79
|
-
const apiInstance = new
|
|
79
|
+
const apiInstance = new SponsorsAccountsApi(configuration);
|
|
80
80
|
|
|
81
81
|
let levelId: string; //The level identifier (default to undefined)
|
|
82
82
|
let page: number; //Page number (optional) (default to 1)
|
|
@@ -134,12 +134,12 @@ Remove Level Account endpoint
|
|
|
134
134
|
|
|
135
135
|
```typescript
|
|
136
136
|
import {
|
|
137
|
-
|
|
137
|
+
SponsorsAccountsApi,
|
|
138
138
|
Configuration
|
|
139
139
|
} from '@connectedxm/admin-sdk';
|
|
140
140
|
|
|
141
141
|
const configuration = new Configuration();
|
|
142
|
-
const apiInstance = new
|
|
142
|
+
const apiInstance = new SponsorsAccountsApi(configuration);
|
|
143
143
|
|
|
144
144
|
let levelId: string; //The level identifier (default to undefined)
|
|
145
145
|
let accountId: string; //The account identifier (default to undefined)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SponsorsApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
4
|
|
|
@@ -19,13 +19,13 @@ Create Level endpoint
|
|
|
19
19
|
|
|
20
20
|
```typescript
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
SponsorsApi,
|
|
23
23
|
Configuration,
|
|
24
24
|
LevelCreateInputs
|
|
25
25
|
} from '@connectedxm/admin-sdk';
|
|
26
26
|
|
|
27
27
|
const configuration = new Configuration();
|
|
28
|
-
const apiInstance = new
|
|
28
|
+
const apiInstance = new SponsorsApi(configuration);
|
|
29
29
|
|
|
30
30
|
let levelCreateInputs: LevelCreateInputs; //
|
|
31
31
|
|
|
@@ -71,12 +71,12 @@ Delete Level endpoint
|
|
|
71
71
|
|
|
72
72
|
```typescript
|
|
73
73
|
import {
|
|
74
|
-
|
|
74
|
+
SponsorsApi,
|
|
75
75
|
Configuration
|
|
76
76
|
} from '@connectedxm/admin-sdk';
|
|
77
77
|
|
|
78
78
|
const configuration = new Configuration();
|
|
79
|
-
const apiInstance = new
|
|
79
|
+
const apiInstance = new SponsorsApi(configuration);
|
|
80
80
|
|
|
81
81
|
let levelId: string; //The level identifier (default to undefined)
|
|
82
82
|
|
|
@@ -122,12 +122,12 @@ Get Level endpoint
|
|
|
122
122
|
|
|
123
123
|
```typescript
|
|
124
124
|
import {
|
|
125
|
-
|
|
125
|
+
SponsorsApi,
|
|
126
126
|
Configuration
|
|
127
127
|
} from '@connectedxm/admin-sdk';
|
|
128
128
|
|
|
129
129
|
const configuration = new Configuration();
|
|
130
|
-
const apiInstance = new
|
|
130
|
+
const apiInstance = new SponsorsApi(configuration);
|
|
131
131
|
|
|
132
132
|
let sponsorshipLevelId: string; //The sponsorshipLevel identifier (default to undefined)
|
|
133
133
|
|
|
@@ -173,12 +173,12 @@ Get Levels endpoint
|
|
|
173
173
|
|
|
174
174
|
```typescript
|
|
175
175
|
import {
|
|
176
|
-
|
|
176
|
+
SponsorsApi,
|
|
177
177
|
Configuration
|
|
178
178
|
} from '@connectedxm/admin-sdk';
|
|
179
179
|
|
|
180
180
|
const configuration = new Configuration();
|
|
181
|
-
const apiInstance = new
|
|
181
|
+
const apiInstance = new SponsorsApi(configuration);
|
|
182
182
|
|
|
183
183
|
let page: number; //Page number (optional) (default to 1)
|
|
184
184
|
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
@@ -233,13 +233,13 @@ Update Level endpoint
|
|
|
233
233
|
|
|
234
234
|
```typescript
|
|
235
235
|
import {
|
|
236
|
-
|
|
236
|
+
SponsorsApi,
|
|
237
237
|
Configuration,
|
|
238
238
|
LevelUpdateInputs
|
|
239
239
|
} from '@connectedxm/admin-sdk';
|
|
240
240
|
|
|
241
241
|
const configuration = new Configuration();
|
|
242
|
-
const apiInstance = new
|
|
242
|
+
const apiInstance = new SponsorsApi(configuration);
|
|
243
243
|
|
|
244
244
|
let levelId: string; //The level identifier (default to undefined)
|
|
245
245
|
let level: LevelUpdateInputs; //Filter by level (default to undefined)
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# StorageFilesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getFile**](#getfile) | **GET** /files/{fileId} | Get File|
|
|
8
|
+
|[**getFiles**](#getfiles) | **GET** /files | Get Files|
|
|
9
|
+
|[**uploadFile**](#uploadfile) | **POST** /files | Upload File|
|
|
10
|
+
|
|
11
|
+
# **getFile**
|
|
12
|
+
> UploadFile200Response getFile()
|
|
13
|
+
|
|
14
|
+
Get File endpoint
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
StorageFilesApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from '@connectedxm/admin-sdk';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new StorageFilesApi(configuration);
|
|
26
|
+
|
|
27
|
+
let fileId: string; //The file identifier (default to undefined)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.getFile(
|
|
30
|
+
fileId
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **fileId** | [**string**] | The file identifier | defaults to undefined|
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**UploadFile200Response**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: Not defined
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | Successful response | - |
|
|
59
|
+
|
|
60
|
+
[[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)
|
|
61
|
+
|
|
62
|
+
# **getFiles**
|
|
63
|
+
> GetFiles200Response getFiles()
|
|
64
|
+
|
|
65
|
+
Get Files endpoint
|
|
66
|
+
|
|
67
|
+
### Example
|
|
68
|
+
|
|
69
|
+
```typescript
|
|
70
|
+
import {
|
|
71
|
+
StorageFilesApi,
|
|
72
|
+
Configuration
|
|
73
|
+
} from '@connectedxm/admin-sdk';
|
|
74
|
+
|
|
75
|
+
const configuration = new Configuration();
|
|
76
|
+
const apiInstance = new StorageFilesApi(configuration);
|
|
77
|
+
|
|
78
|
+
let source: string; //Filter by source (optional) (default to undefined)
|
|
79
|
+
let page: number; //Page number (optional) (default to 1)
|
|
80
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
81
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
82
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
83
|
+
|
|
84
|
+
const { status, data } = await apiInstance.getFiles(
|
|
85
|
+
source,
|
|
86
|
+
page,
|
|
87
|
+
pageSize,
|
|
88
|
+
orderBy,
|
|
89
|
+
search
|
|
90
|
+
);
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Parameters
|
|
94
|
+
|
|
95
|
+
|Name | Type | Description | Notes|
|
|
96
|
+
|------------- | ------------- | ------------- | -------------|
|
|
97
|
+
| **source** | [**string**] | Filter by source | (optional) defaults to undefined|
|
|
98
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
99
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
100
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
101
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Return type
|
|
105
|
+
|
|
106
|
+
**GetFiles200Response**
|
|
107
|
+
|
|
108
|
+
### Authorization
|
|
109
|
+
|
|
110
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
111
|
+
|
|
112
|
+
### HTTP request headers
|
|
113
|
+
|
|
114
|
+
- **Content-Type**: Not defined
|
|
115
|
+
- **Accept**: application/json
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### HTTP response details
|
|
119
|
+
| Status code | Description | Response headers |
|
|
120
|
+
|-------------|-------------|------------------|
|
|
121
|
+
|**200** | Successful response | - |
|
|
122
|
+
|
|
123
|
+
[[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)
|
|
124
|
+
|
|
125
|
+
# **uploadFile**
|
|
126
|
+
> UploadFile200Response uploadFile()
|
|
127
|
+
|
|
128
|
+
Upload File endpoint
|
|
129
|
+
|
|
130
|
+
### Example
|
|
131
|
+
|
|
132
|
+
```typescript
|
|
133
|
+
import {
|
|
134
|
+
StorageFilesApi,
|
|
135
|
+
Configuration
|
|
136
|
+
} from '@connectedxm/admin-sdk';
|
|
137
|
+
|
|
138
|
+
const configuration = new Configuration();
|
|
139
|
+
const apiInstance = new StorageFilesApi(configuration);
|
|
140
|
+
|
|
141
|
+
let dataUri: string; //Filter by dataUri (default to undefined)
|
|
142
|
+
let source: 'admin' | 'response'; //Filter by source (default to undefined)
|
|
143
|
+
let name: string; //Filter by name (optional) (default to undefined)
|
|
144
|
+
|
|
145
|
+
const { status, data } = await apiInstance.uploadFile(
|
|
146
|
+
dataUri,
|
|
147
|
+
source,
|
|
148
|
+
name
|
|
149
|
+
);
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Parameters
|
|
153
|
+
|
|
154
|
+
|Name | Type | Description | Notes|
|
|
155
|
+
|------------- | ------------- | ------------- | -------------|
|
|
156
|
+
| **dataUri** | [**string**] | Filter by dataUri | defaults to undefined|
|
|
157
|
+
| **source** | [**'admin' | 'response'**]**Array<'admin' | 'response'>** | Filter by source | defaults to undefined|
|
|
158
|
+
| **name** | [**string**] | Filter by name | (optional) defaults to undefined|
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Return type
|
|
162
|
+
|
|
163
|
+
**UploadFile200Response**
|
|
164
|
+
|
|
165
|
+
### Authorization
|
|
166
|
+
|
|
167
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
168
|
+
|
|
169
|
+
### HTTP request headers
|
|
170
|
+
|
|
171
|
+
- **Content-Type**: Not defined
|
|
172
|
+
- **Accept**: application/json
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### HTTP response details
|
|
176
|
+
| Status code | Description | Response headers |
|
|
177
|
+
|-------------|-------------|------------------|
|
|
178
|
+
|**200** | Successful response | - |
|
|
179
|
+
|
|
180
|
+
[[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)
|
|
181
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# StorageImagesApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
4
|
|
|
@@ -22,13 +22,13 @@ Create Image endpoint
|
|
|
22
22
|
|
|
23
23
|
```typescript
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
StorageImagesApi,
|
|
26
26
|
Configuration,
|
|
27
27
|
ImageCreateInputs
|
|
28
28
|
} from '@connectedxm/admin-sdk';
|
|
29
29
|
|
|
30
30
|
const configuration = new Configuration();
|
|
31
|
-
const apiInstance = new
|
|
31
|
+
const apiInstance = new StorageImagesApi(configuration);
|
|
32
32
|
|
|
33
33
|
let imageCreateInputs: ImageCreateInputs; //
|
|
34
34
|
|
|
@@ -74,12 +74,12 @@ Delete Image endpoint
|
|
|
74
74
|
|
|
75
75
|
```typescript
|
|
76
76
|
import {
|
|
77
|
-
|
|
77
|
+
StorageImagesApi,
|
|
78
78
|
Configuration
|
|
79
79
|
} from '@connectedxm/admin-sdk';
|
|
80
80
|
|
|
81
81
|
const configuration = new Configuration();
|
|
82
|
-
const apiInstance = new
|
|
82
|
+
const apiInstance = new StorageImagesApi(configuration);
|
|
83
83
|
|
|
84
84
|
let imageId: string; //The image identifier (default to undefined)
|
|
85
85
|
|
|
@@ -125,12 +125,12 @@ Delete Many Images endpoint
|
|
|
125
125
|
|
|
126
126
|
```typescript
|
|
127
127
|
import {
|
|
128
|
-
|
|
128
|
+
StorageImagesApi,
|
|
129
129
|
Configuration
|
|
130
130
|
} from '@connectedxm/admin-sdk';
|
|
131
131
|
|
|
132
132
|
const configuration = new Configuration();
|
|
133
|
-
const apiInstance = new
|
|
133
|
+
const apiInstance = new StorageImagesApi(configuration);
|
|
134
134
|
|
|
135
135
|
let imageIds: Array<string>; //Filter by imageIds (default to undefined)
|
|
136
136
|
|
|
@@ -176,12 +176,12 @@ Get Image endpoint
|
|
|
176
176
|
|
|
177
177
|
```typescript
|
|
178
178
|
import {
|
|
179
|
-
|
|
179
|
+
StorageImagesApi,
|
|
180
180
|
Configuration
|
|
181
181
|
} from '@connectedxm/admin-sdk';
|
|
182
182
|
|
|
183
183
|
const configuration = new Configuration();
|
|
184
|
-
const apiInstance = new
|
|
184
|
+
const apiInstance = new StorageImagesApi(configuration);
|
|
185
185
|
|
|
186
186
|
let imageId: string; //The image identifier (default to undefined)
|
|
187
187
|
|
|
@@ -227,12 +227,12 @@ Get Image Usage endpoint
|
|
|
227
227
|
|
|
228
228
|
```typescript
|
|
229
229
|
import {
|
|
230
|
-
|
|
230
|
+
StorageImagesApi,
|
|
231
231
|
Configuration
|
|
232
232
|
} from '@connectedxm/admin-sdk';
|
|
233
233
|
|
|
234
234
|
const configuration = new Configuration();
|
|
235
|
-
const apiInstance = new
|
|
235
|
+
const apiInstance = new StorageImagesApi(configuration);
|
|
236
236
|
|
|
237
237
|
let imageId: string; //The image identifier (default to undefined)
|
|
238
238
|
|
|
@@ -278,12 +278,12 @@ Get Images endpoint
|
|
|
278
278
|
|
|
279
279
|
```typescript
|
|
280
280
|
import {
|
|
281
|
-
|
|
281
|
+
StorageImagesApi,
|
|
282
282
|
Configuration
|
|
283
283
|
} from '@connectedxm/admin-sdk';
|
|
284
284
|
|
|
285
285
|
const configuration = new Configuration();
|
|
286
|
-
const apiInstance = new
|
|
286
|
+
const apiInstance = new StorageImagesApi(configuration);
|
|
287
287
|
|
|
288
288
|
let type: ImageType; //Filter by type (optional) (default to undefined)
|
|
289
289
|
let page: number; //Page number (optional) (default to 1)
|
|
@@ -341,12 +341,12 @@ Switch Image endpoint
|
|
|
341
341
|
|
|
342
342
|
```typescript
|
|
343
343
|
import {
|
|
344
|
-
|
|
344
|
+
StorageImagesApi,
|
|
345
345
|
Configuration
|
|
346
346
|
} from '@connectedxm/admin-sdk';
|
|
347
347
|
|
|
348
348
|
const configuration = new Configuration();
|
|
349
|
-
const apiInstance = new
|
|
349
|
+
const apiInstance = new StorageImagesApi(configuration);
|
|
350
350
|
|
|
351
351
|
let imageId: string; //The image identifier (default to undefined)
|
|
352
352
|
let image: object; //Filter by image (default to undefined)
|
|
@@ -395,13 +395,13 @@ Update Image endpoint
|
|
|
395
395
|
|
|
396
396
|
```typescript
|
|
397
397
|
import {
|
|
398
|
-
|
|
398
|
+
StorageImagesApi,
|
|
399
399
|
Configuration,
|
|
400
400
|
ImageUpdateInputs
|
|
401
401
|
} from '@connectedxm/admin-sdk';
|
|
402
402
|
|
|
403
403
|
const configuration = new Configuration();
|
|
404
|
-
const apiInstance = new
|
|
404
|
+
const apiInstance = new StorageImagesApi(configuration);
|
|
405
405
|
|
|
406
406
|
let imageId: string; //The image identifier (default to undefined)
|
|
407
407
|
let imageUpdateInputs: ImageUpdateInputs; //
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# StorageVideosApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
4
|
|
|
@@ -21,12 +21,12 @@ Delete Many Videos endpoint
|
|
|
21
21
|
|
|
22
22
|
```typescript
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
StorageVideosApi,
|
|
25
25
|
Configuration
|
|
26
26
|
} from '@connectedxm/admin-sdk';
|
|
27
27
|
|
|
28
28
|
const configuration = new Configuration();
|
|
29
|
-
const apiInstance = new
|
|
29
|
+
const apiInstance = new StorageVideosApi(configuration);
|
|
30
30
|
|
|
31
31
|
let videoIds: Array<string>; //Filter by videoIds (default to undefined)
|
|
32
32
|
|
|
@@ -72,12 +72,12 @@ Delete Video endpoint
|
|
|
72
72
|
|
|
73
73
|
```typescript
|
|
74
74
|
import {
|
|
75
|
-
|
|
75
|
+
StorageVideosApi,
|
|
76
76
|
Configuration
|
|
77
77
|
} from '@connectedxm/admin-sdk';
|
|
78
78
|
|
|
79
79
|
const configuration = new Configuration();
|
|
80
|
-
const apiInstance = new
|
|
80
|
+
const apiInstance = new StorageVideosApi(configuration);
|
|
81
81
|
|
|
82
82
|
let videoId: string; //The video identifier (default to undefined)
|
|
83
83
|
|
|
@@ -123,12 +123,12 @@ Get Video endpoint
|
|
|
123
123
|
|
|
124
124
|
```typescript
|
|
125
125
|
import {
|
|
126
|
-
|
|
126
|
+
StorageVideosApi,
|
|
127
127
|
Configuration
|
|
128
128
|
} from '@connectedxm/admin-sdk';
|
|
129
129
|
|
|
130
130
|
const configuration = new Configuration();
|
|
131
|
-
const apiInstance = new
|
|
131
|
+
const apiInstance = new StorageVideosApi(configuration);
|
|
132
132
|
|
|
133
133
|
let videoId: string; //The video identifier (default to undefined)
|
|
134
134
|
|
|
@@ -174,12 +174,12 @@ Get Video Download Status endpoint
|
|
|
174
174
|
|
|
175
175
|
```typescript
|
|
176
176
|
import {
|
|
177
|
-
|
|
177
|
+
StorageVideosApi,
|
|
178
178
|
Configuration
|
|
179
179
|
} from '@connectedxm/admin-sdk';
|
|
180
180
|
|
|
181
181
|
const configuration = new Configuration();
|
|
182
|
-
const apiInstance = new
|
|
182
|
+
const apiInstance = new StorageVideosApi(configuration);
|
|
183
183
|
|
|
184
184
|
let videoId: string; //The video identifier (default to undefined)
|
|
185
185
|
|
|
@@ -225,12 +225,12 @@ Get Videos endpoint
|
|
|
225
225
|
|
|
226
226
|
```typescript
|
|
227
227
|
import {
|
|
228
|
-
|
|
228
|
+
StorageVideosApi,
|
|
229
229
|
Configuration
|
|
230
230
|
} from '@connectedxm/admin-sdk';
|
|
231
231
|
|
|
232
232
|
const configuration = new Configuration();
|
|
233
|
-
const apiInstance = new
|
|
233
|
+
const apiInstance = new StorageVideosApi(configuration);
|
|
234
234
|
|
|
235
235
|
let source: string; //Filter by source (optional) (default to undefined)
|
|
236
236
|
let page: number; //Page number (optional) (default to 1)
|
|
@@ -288,12 +288,12 @@ Initiate Video Download endpoint
|
|
|
288
288
|
|
|
289
289
|
```typescript
|
|
290
290
|
import {
|
|
291
|
-
|
|
291
|
+
StorageVideosApi,
|
|
292
292
|
Configuration
|
|
293
293
|
} from '@connectedxm/admin-sdk';
|
|
294
294
|
|
|
295
295
|
const configuration = new Configuration();
|
|
296
|
-
const apiInstance = new
|
|
296
|
+
const apiInstance = new StorageVideosApi(configuration);
|
|
297
297
|
|
|
298
298
|
let videoId: string; //The video identifier (default to undefined)
|
|
299
299
|
|
|
@@ -339,13 +339,13 @@ Update Video endpoint
|
|
|
339
339
|
|
|
340
340
|
```typescript
|
|
341
341
|
import {
|
|
342
|
-
|
|
342
|
+
StorageVideosApi,
|
|
343
343
|
Configuration,
|
|
344
344
|
VideoUpdateInputs
|
|
345
345
|
} from '@connectedxm/admin-sdk';
|
|
346
346
|
|
|
347
347
|
const configuration = new Configuration();
|
|
348
|
-
const apiInstance = new
|
|
348
|
+
const apiInstance = new StorageVideosApi(configuration);
|
|
349
349
|
|
|
350
350
|
let videoId: string; //The video identifier (default to undefined)
|
|
351
351
|
let videoUpdateInputs: VideoUpdateInputs; //
|