@connectedxm/admin-sdk 16.14.0 → 16.15.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/AdminApi.ts +6 -0
- package/README.md +2 -2
- package/api.ts +1053 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +3 -1
- package/dist/AdminApi.js +2 -0
- package/dist/api.d.ts +544 -9
- package/dist/api.js +823 -24
- 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/AdminApi.d.ts +3 -1
- package/dist/esm/AdminApi.js +3 -1
- package/dist/esm/api.d.ts +544 -9
- package/dist/esm/api.js +800 -9
- 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/ChannelsInterestsApi.md +364 -0
- package/docs/EventsInterestsApi.md +181 -0
- package/docs/GroupsInterestsApi.md +2 -2
- package/package.json +1 -1
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 16.
|
|
5
|
+
* The version of the OpenAPI document: 16.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 16.
|
|
7
|
+
* The version of the OpenAPI document: 16.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 16.
|
|
5
|
+
* The version of the OpenAPI document: 16.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 16.
|
|
7
|
+
* The version of the OpenAPI document: 16.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 16.
|
|
5
|
+
* The version of the OpenAPI document: 16.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 16.
|
|
6
|
+
* The version of the OpenAPI document: 16.15.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
# ChannelsInterestsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**addChannelContentInterest**](#addchannelcontentinterest) | **POST** /channels/{channelId}/contents/{contentId}/interests/{interestId} | Add an interest to a content item|
|
|
8
|
+
|[**addChannelInterest**](#addchannelinterest) | **POST** /channels/{channelId}/interests/{interestId} | Add an interest to a channel|
|
|
9
|
+
|[**getChannelContentInterests**](#getchannelcontentinterests) | **GET** /channels/{channelId}/contents/{contentId}/interests | List a content item\'s interests|
|
|
10
|
+
|[**getChannelInterests**](#getchannelinterests) | **GET** /channels/{channelId}/interests | List a channel\'s interests|
|
|
11
|
+
|[**removeChannelContentInterest**](#removechannelcontentinterest) | **DELETE** /channels/{channelId}/contents/{contentId}/interests/{interestId} | Remove an interest from a content item|
|
|
12
|
+
|[**removeChannelInterest**](#removechannelinterest) | **DELETE** /channels/{channelId}/interests/{interestId} | Remove an interest from a channel|
|
|
13
|
+
|
|
14
|
+
# **addChannelContentInterest**
|
|
15
|
+
> CreateChannelContent200Response addChannelContentInterest()
|
|
16
|
+
|
|
17
|
+
Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
ChannelsInterestsApi,
|
|
24
|
+
Configuration
|
|
25
|
+
} from '@connectedxm/admin-sdk';
|
|
26
|
+
|
|
27
|
+
const configuration = new Configuration();
|
|
28
|
+
const apiInstance = new ChannelsInterestsApi(configuration);
|
|
29
|
+
|
|
30
|
+
let channelId: string; //The channel identifier (default to undefined)
|
|
31
|
+
let contentId: string; //The content identifier (default to undefined)
|
|
32
|
+
let interestId: string; //The interest identifier (default to undefined)
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.addChannelContentInterest(
|
|
35
|
+
channelId,
|
|
36
|
+
contentId,
|
|
37
|
+
interestId
|
|
38
|
+
);
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Parameters
|
|
42
|
+
|
|
43
|
+
|Name | Type | Description | Notes|
|
|
44
|
+
|------------- | ------------- | ------------- | -------------|
|
|
45
|
+
| **channelId** | [**string**] | The channel identifier | defaults to undefined|
|
|
46
|
+
| **contentId** | [**string**] | The content identifier | defaults to undefined|
|
|
47
|
+
| **interestId** | [**string**] | The interest identifier | defaults to undefined|
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
**CreateChannelContent200Response**
|
|
53
|
+
|
|
54
|
+
### Authorization
|
|
55
|
+
|
|
56
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
57
|
+
|
|
58
|
+
### HTTP request headers
|
|
59
|
+
|
|
60
|
+
- **Content-Type**: Not defined
|
|
61
|
+
- **Accept**: application/json
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### HTTP response details
|
|
65
|
+
| Status code | Description | Response headers |
|
|
66
|
+
|-------------|-------------|------------------|
|
|
67
|
+
|**200** | Successful response | - |
|
|
68
|
+
|
|
69
|
+
[[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)
|
|
70
|
+
|
|
71
|
+
# **addChannelInterest**
|
|
72
|
+
> CreateChannel200Response addChannelInterest()
|
|
73
|
+
|
|
74
|
+
Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
75
|
+
|
|
76
|
+
### Example
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
import {
|
|
80
|
+
ChannelsInterestsApi,
|
|
81
|
+
Configuration
|
|
82
|
+
} from '@connectedxm/admin-sdk';
|
|
83
|
+
|
|
84
|
+
const configuration = new Configuration();
|
|
85
|
+
const apiInstance = new ChannelsInterestsApi(configuration);
|
|
86
|
+
|
|
87
|
+
let channelId: string; //The channel identifier (default to undefined)
|
|
88
|
+
let interestId: string; //The interest identifier (default to undefined)
|
|
89
|
+
|
|
90
|
+
const { status, data } = await apiInstance.addChannelInterest(
|
|
91
|
+
channelId,
|
|
92
|
+
interestId
|
|
93
|
+
);
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Parameters
|
|
97
|
+
|
|
98
|
+
|Name | Type | Description | Notes|
|
|
99
|
+
|------------- | ------------- | ------------- | -------------|
|
|
100
|
+
| **channelId** | [**string**] | The channel identifier | defaults to undefined|
|
|
101
|
+
| **interestId** | [**string**] | The interest identifier | defaults to undefined|
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Return type
|
|
105
|
+
|
|
106
|
+
**CreateChannel200Response**
|
|
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
|
+
# **getChannelContentInterests**
|
|
126
|
+
> GetAccountInterests200Response getChannelContentInterests()
|
|
127
|
+
|
|
128
|
+
Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
129
|
+
|
|
130
|
+
### Example
|
|
131
|
+
|
|
132
|
+
```typescript
|
|
133
|
+
import {
|
|
134
|
+
ChannelsInterestsApi,
|
|
135
|
+
Configuration
|
|
136
|
+
} from '@connectedxm/admin-sdk';
|
|
137
|
+
|
|
138
|
+
const configuration = new Configuration();
|
|
139
|
+
const apiInstance = new ChannelsInterestsApi(configuration);
|
|
140
|
+
|
|
141
|
+
let channelId: string; //The channel identifier (default to undefined)
|
|
142
|
+
let contentId: string; //The content identifier (default to undefined)
|
|
143
|
+
let page: number; //Page number (optional) (default to 1)
|
|
144
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
145
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
146
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
147
|
+
|
|
148
|
+
const { status, data } = await apiInstance.getChannelContentInterests(
|
|
149
|
+
channelId,
|
|
150
|
+
contentId,
|
|
151
|
+
page,
|
|
152
|
+
pageSize,
|
|
153
|
+
orderBy,
|
|
154
|
+
search
|
|
155
|
+
);
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Parameters
|
|
159
|
+
|
|
160
|
+
|Name | Type | Description | Notes|
|
|
161
|
+
|------------- | ------------- | ------------- | -------------|
|
|
162
|
+
| **channelId** | [**string**] | The channel identifier | defaults to undefined|
|
|
163
|
+
| **contentId** | [**string**] | The content identifier | defaults to undefined|
|
|
164
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
165
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
166
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
167
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Return type
|
|
171
|
+
|
|
172
|
+
**GetAccountInterests200Response**
|
|
173
|
+
|
|
174
|
+
### Authorization
|
|
175
|
+
|
|
176
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
177
|
+
|
|
178
|
+
### HTTP request headers
|
|
179
|
+
|
|
180
|
+
- **Content-Type**: Not defined
|
|
181
|
+
- **Accept**: application/json
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### HTTP response details
|
|
185
|
+
| Status code | Description | Response headers |
|
|
186
|
+
|-------------|-------------|------------------|
|
|
187
|
+
|**200** | Successful response | - |
|
|
188
|
+
|
|
189
|
+
[[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)
|
|
190
|
+
|
|
191
|
+
# **getChannelInterests**
|
|
192
|
+
> GetAccountInterests200Response getChannelInterests()
|
|
193
|
+
|
|
194
|
+
Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
195
|
+
|
|
196
|
+
### Example
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
import {
|
|
200
|
+
ChannelsInterestsApi,
|
|
201
|
+
Configuration
|
|
202
|
+
} from '@connectedxm/admin-sdk';
|
|
203
|
+
|
|
204
|
+
const configuration = new Configuration();
|
|
205
|
+
const apiInstance = new ChannelsInterestsApi(configuration);
|
|
206
|
+
|
|
207
|
+
let channelId: string; //The channel identifier (default to undefined)
|
|
208
|
+
let page: number; //Page number (optional) (default to 1)
|
|
209
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
210
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
211
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
212
|
+
|
|
213
|
+
const { status, data } = await apiInstance.getChannelInterests(
|
|
214
|
+
channelId,
|
|
215
|
+
page,
|
|
216
|
+
pageSize,
|
|
217
|
+
orderBy,
|
|
218
|
+
search
|
|
219
|
+
);
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### Parameters
|
|
223
|
+
|
|
224
|
+
|Name | Type | Description | Notes|
|
|
225
|
+
|------------- | ------------- | ------------- | -------------|
|
|
226
|
+
| **channelId** | [**string**] | The channel identifier | defaults to undefined|
|
|
227
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
228
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
229
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
230
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### Return type
|
|
234
|
+
|
|
235
|
+
**GetAccountInterests200Response**
|
|
236
|
+
|
|
237
|
+
### Authorization
|
|
238
|
+
|
|
239
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
240
|
+
|
|
241
|
+
### HTTP request headers
|
|
242
|
+
|
|
243
|
+
- **Content-Type**: Not defined
|
|
244
|
+
- **Accept**: application/json
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### HTTP response details
|
|
248
|
+
| Status code | Description | Response headers |
|
|
249
|
+
|-------------|-------------|------------------|
|
|
250
|
+
|**200** | Successful response | - |
|
|
251
|
+
|
|
252
|
+
[[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)
|
|
253
|
+
|
|
254
|
+
# **removeChannelContentInterest**
|
|
255
|
+
> CreateChannelContent200Response removeChannelContentInterest()
|
|
256
|
+
|
|
257
|
+
Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
258
|
+
|
|
259
|
+
### Example
|
|
260
|
+
|
|
261
|
+
```typescript
|
|
262
|
+
import {
|
|
263
|
+
ChannelsInterestsApi,
|
|
264
|
+
Configuration
|
|
265
|
+
} from '@connectedxm/admin-sdk';
|
|
266
|
+
|
|
267
|
+
const configuration = new Configuration();
|
|
268
|
+
const apiInstance = new ChannelsInterestsApi(configuration);
|
|
269
|
+
|
|
270
|
+
let channelId: string; //The channel identifier (default to undefined)
|
|
271
|
+
let contentId: string; //The content identifier (default to undefined)
|
|
272
|
+
let interestId: string; //The interest identifier (default to undefined)
|
|
273
|
+
|
|
274
|
+
const { status, data } = await apiInstance.removeChannelContentInterest(
|
|
275
|
+
channelId,
|
|
276
|
+
contentId,
|
|
277
|
+
interestId
|
|
278
|
+
);
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### Parameters
|
|
282
|
+
|
|
283
|
+
|Name | Type | Description | Notes|
|
|
284
|
+
|------------- | ------------- | ------------- | -------------|
|
|
285
|
+
| **channelId** | [**string**] | The channel identifier | defaults to undefined|
|
|
286
|
+
| **contentId** | [**string**] | The content identifier | defaults to undefined|
|
|
287
|
+
| **interestId** | [**string**] | The interest identifier | defaults to undefined|
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
### Return type
|
|
291
|
+
|
|
292
|
+
**CreateChannelContent200Response**
|
|
293
|
+
|
|
294
|
+
### Authorization
|
|
295
|
+
|
|
296
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
297
|
+
|
|
298
|
+
### HTTP request headers
|
|
299
|
+
|
|
300
|
+
- **Content-Type**: Not defined
|
|
301
|
+
- **Accept**: application/json
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
### HTTP response details
|
|
305
|
+
| Status code | Description | Response headers |
|
|
306
|
+
|-------------|-------------|------------------|
|
|
307
|
+
|**200** | Successful response | - |
|
|
308
|
+
|
|
309
|
+
[[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)
|
|
310
|
+
|
|
311
|
+
# **removeChannelInterest**
|
|
312
|
+
> CreateChannel200Response removeChannelInterest()
|
|
313
|
+
|
|
314
|
+
Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
315
|
+
|
|
316
|
+
### Example
|
|
317
|
+
|
|
318
|
+
```typescript
|
|
319
|
+
import {
|
|
320
|
+
ChannelsInterestsApi,
|
|
321
|
+
Configuration
|
|
322
|
+
} from '@connectedxm/admin-sdk';
|
|
323
|
+
|
|
324
|
+
const configuration = new Configuration();
|
|
325
|
+
const apiInstance = new ChannelsInterestsApi(configuration);
|
|
326
|
+
|
|
327
|
+
let channelId: string; //The channel identifier (default to undefined)
|
|
328
|
+
let interestId: string; //The interest identifier (default to undefined)
|
|
329
|
+
|
|
330
|
+
const { status, data } = await apiInstance.removeChannelInterest(
|
|
331
|
+
channelId,
|
|
332
|
+
interestId
|
|
333
|
+
);
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
### Parameters
|
|
337
|
+
|
|
338
|
+
|Name | Type | Description | Notes|
|
|
339
|
+
|------------- | ------------- | ------------- | -------------|
|
|
340
|
+
| **channelId** | [**string**] | The channel identifier | defaults to undefined|
|
|
341
|
+
| **interestId** | [**string**] | The interest identifier | defaults to undefined|
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
### Return type
|
|
345
|
+
|
|
346
|
+
**CreateChannel200Response**
|
|
347
|
+
|
|
348
|
+
### Authorization
|
|
349
|
+
|
|
350
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
351
|
+
|
|
352
|
+
### HTTP request headers
|
|
353
|
+
|
|
354
|
+
- **Content-Type**: Not defined
|
|
355
|
+
- **Accept**: application/json
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
### HTTP response details
|
|
359
|
+
| Status code | Description | Response headers |
|
|
360
|
+
|-------------|-------------|------------------|
|
|
361
|
+
|**200** | Successful response | - |
|
|
362
|
+
|
|
363
|
+
[[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)
|
|
364
|
+
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# EventsInterestsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**addEventInterest**](#addeventinterest) | **POST** /events/{eventId}/interests/{interestId} | Add an interest to an event|
|
|
8
|
+
|[**getEventInterests**](#geteventinterests) | **GET** /events/{eventId}/interests | List an event\'s interests|
|
|
9
|
+
|[**removeEventInterest**](#removeeventinterest) | **DELETE** /events/{eventId}/interests/{interestId} | Remove an interest from an event|
|
|
10
|
+
|
|
11
|
+
# **addEventInterest**
|
|
12
|
+
> CreateEvent200Response addEventInterest()
|
|
13
|
+
|
|
14
|
+
Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
EventsInterestsApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from '@connectedxm/admin-sdk';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new EventsInterestsApi(configuration);
|
|
26
|
+
|
|
27
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
28
|
+
let interestId: string; //The interest identifier (default to undefined)
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.addEventInterest(
|
|
31
|
+
eventId,
|
|
32
|
+
interestId
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
41
|
+
| **interestId** | [**string**] | The interest identifier | defaults to undefined|
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**CreateEvent200Response**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: Not defined
|
|
55
|
+
- **Accept**: application/json
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### HTTP response details
|
|
59
|
+
| Status code | Description | Response headers |
|
|
60
|
+
|-------------|-------------|------------------|
|
|
61
|
+
|**200** | Successful response | - |
|
|
62
|
+
|
|
63
|
+
[[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)
|
|
64
|
+
|
|
65
|
+
# **getEventInterests**
|
|
66
|
+
> GetAccountInterests200Response getEventInterests()
|
|
67
|
+
|
|
68
|
+
Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
EventsInterestsApi,
|
|
75
|
+
Configuration
|
|
76
|
+
} from '@connectedxm/admin-sdk';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new EventsInterestsApi(configuration);
|
|
80
|
+
|
|
81
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
82
|
+
let page: number; //Page number (optional) (default to 1)
|
|
83
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
84
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
85
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
86
|
+
|
|
87
|
+
const { status, data } = await apiInstance.getEventInterests(
|
|
88
|
+
eventId,
|
|
89
|
+
page,
|
|
90
|
+
pageSize,
|
|
91
|
+
orderBy,
|
|
92
|
+
search
|
|
93
|
+
);
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Parameters
|
|
97
|
+
|
|
98
|
+
|Name | Type | Description | Notes|
|
|
99
|
+
|------------- | ------------- | ------------- | -------------|
|
|
100
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
101
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
102
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
103
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
104
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### Return type
|
|
108
|
+
|
|
109
|
+
**GetAccountInterests200Response**
|
|
110
|
+
|
|
111
|
+
### Authorization
|
|
112
|
+
|
|
113
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
114
|
+
|
|
115
|
+
### HTTP request headers
|
|
116
|
+
|
|
117
|
+
- **Content-Type**: Not defined
|
|
118
|
+
- **Accept**: application/json
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### HTTP response details
|
|
122
|
+
| Status code | Description | Response headers |
|
|
123
|
+
|-------------|-------------|------------------|
|
|
124
|
+
|**200** | Successful response | - |
|
|
125
|
+
|
|
126
|
+
[[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)
|
|
127
|
+
|
|
128
|
+
# **removeEventInterest**
|
|
129
|
+
> CreateEvent200Response removeEventInterest()
|
|
130
|
+
|
|
131
|
+
Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
132
|
+
|
|
133
|
+
### Example
|
|
134
|
+
|
|
135
|
+
```typescript
|
|
136
|
+
import {
|
|
137
|
+
EventsInterestsApi,
|
|
138
|
+
Configuration
|
|
139
|
+
} from '@connectedxm/admin-sdk';
|
|
140
|
+
|
|
141
|
+
const configuration = new Configuration();
|
|
142
|
+
const apiInstance = new EventsInterestsApi(configuration);
|
|
143
|
+
|
|
144
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
145
|
+
let interestId: string; //The interest identifier (default to undefined)
|
|
146
|
+
|
|
147
|
+
const { status, data } = await apiInstance.removeEventInterest(
|
|
148
|
+
eventId,
|
|
149
|
+
interestId
|
|
150
|
+
);
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Parameters
|
|
154
|
+
|
|
155
|
+
|Name | Type | Description | Notes|
|
|
156
|
+
|------------- | ------------- | ------------- | -------------|
|
|
157
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
158
|
+
| **interestId** | [**string**] | The interest identifier | defaults to undefined|
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Return type
|
|
162
|
+
|
|
163
|
+
**CreateEvent200Response**
|
|
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
|
+
|
|
@@ -11,7 +11,7 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
11
11
|
# **addGroupInterest**
|
|
12
12
|
> CreateGroup200Response addGroupInterest()
|
|
13
13
|
|
|
14
|
-
Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
14
|
+
Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
15
15
|
|
|
16
16
|
### Example
|
|
17
17
|
|
|
@@ -128,7 +128,7 @@ const { status, data } = await apiInstance.getGroupInterests(
|
|
|
128
128
|
# **removeGroupInterest**
|
|
129
129
|
> CreateGroup200Response removeGroupInterest()
|
|
130
130
|
|
|
131
|
-
Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
131
|
+
Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
132
132
|
|
|
133
133
|
### Example
|
|
134
134
|
|