@easyedu/js-lsm-api 1.108.0 → 1.110.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 +16 -0
- package/README.md +19 -2
- package/dist/apis/ContentLibraryApi.d.ts +180 -0
- package/dist/apis/ContentLibraryApi.js +425 -1
- package/dist/apis/ContentLibraryQuizApi.d.ts +1 -0
- package/dist/apis/ContentLibraryQuizApi.js +3 -0
- package/dist/apis/CourseApi.d.ts +2 -2
- package/dist/apis/CourseApi.js +2 -2
- package/dist/apis/QuestionApi.d.ts +1 -12
- package/dist/apis/QuestionApi.js +3 -17
- package/dist/esm/apis/ContentLibraryApi.d.ts +180 -0
- package/dist/esm/apis/ContentLibraryApi.js +424 -0
- package/dist/esm/apis/ContentLibraryQuizApi.d.ts +1 -0
- package/dist/esm/apis/ContentLibraryQuizApi.js +3 -0
- package/dist/esm/apis/CourseApi.d.ts +2 -2
- package/dist/esm/apis/CourseApi.js +2 -2
- package/dist/esm/apis/QuestionApi.d.ts +1 -12
- package/dist/esm/apis/QuestionApi.js +2 -16
- package/dist/esm/models/ContentLibraryTag.d.ts +110 -0
- package/dist/esm/models/ContentLibraryTag.js +89 -0
- package/dist/esm/models/ContentLibraryTagItem.d.ts +85 -0
- package/dist/esm/models/ContentLibraryTagItem.js +77 -0
- package/dist/esm/models/CourseShareAcceptError.d.ts +54 -0
- package/dist/esm/models/CourseShareAcceptError.js +62 -0
- package/dist/esm/models/GetContentLibraryTagItemList.d.ts +57 -0
- package/dist/esm/models/GetContentLibraryTagItemList.js +60 -0
- package/dist/esm/models/GetContentLibraryTagList.d.ts +57 -0
- package/dist/esm/models/GetContentLibraryTagList.js +60 -0
- package/dist/esm/models/GetLibraryQuiz.d.ts +7 -0
- package/dist/esm/models/GetLibraryQuiz.js +5 -0
- package/dist/esm/models/GetQuestion.d.ts +4 -24
- package/dist/esm/models/GetQuestion.js +3 -18
- package/dist/esm/models/GetQuestionListFilters.d.ts +3 -24
- package/dist/esm/models/GetQuestionListFilters.js +2 -14
- package/dist/esm/models/GetResource.d.ts +7 -0
- package/dist/esm/models/GetResource.js +5 -0
- package/dist/esm/models/LibraryQuizCriteriaPreviewQuestion.d.ts +0 -21
- package/dist/esm/models/LibraryQuizCriteriaPreviewQuestion.js +0 -16
- package/dist/esm/models/LibraryQuizCriterion.d.ts +0 -21
- package/dist/esm/models/LibraryQuizCriterion.js +0 -12
- package/dist/esm/models/PostContentLibraryTag.d.ts +32 -0
- package/dist/esm/models/PostContentLibraryTag.js +43 -0
- package/dist/esm/models/PostContentLibraryTagMerge.d.ts +32 -0
- package/dist/esm/models/PostContentLibraryTagMerge.js +43 -0
- package/dist/esm/models/PostLibraryQuiz.d.ts +6 -0
- package/dist/esm/models/PostLibraryQuiz.js +2 -0
- package/dist/esm/models/PostQuestion.d.ts +0 -21
- package/dist/esm/models/PostQuestion.js +0 -16
- package/dist/esm/models/PostResource.d.ts +6 -0
- package/dist/esm/models/PostResource.js +2 -0
- package/dist/esm/models/PutContentLibraryTag.d.ts +32 -0
- package/dist/esm/models/PutContentLibraryTag.js +43 -0
- package/dist/esm/models/PutLibraryQuiz.d.ts +6 -0
- package/dist/esm/models/PutLibraryQuiz.js +2 -0
- package/dist/esm/models/PutQuestion.d.ts +0 -21
- package/dist/esm/models/PutQuestion.js +0 -12
- package/dist/esm/models/PutResource.d.ts +6 -0
- package/dist/esm/models/PutResource.js +2 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/ContentLibraryTag.d.ts +110 -0
- package/dist/models/ContentLibraryTag.js +96 -0
- package/dist/models/ContentLibraryTagItem.d.ts +85 -0
- package/dist/models/ContentLibraryTagItem.js +85 -0
- package/dist/models/CourseShareAcceptError.d.ts +54 -0
- package/dist/models/CourseShareAcceptError.js +70 -0
- package/dist/models/GetContentLibraryTagItemList.d.ts +57 -0
- package/dist/models/GetContentLibraryTagItemList.js +67 -0
- package/dist/models/GetContentLibraryTagList.d.ts +57 -0
- package/dist/models/GetContentLibraryTagList.js +67 -0
- package/dist/models/GetLibraryQuiz.d.ts +7 -0
- package/dist/models/GetLibraryQuiz.js +5 -0
- package/dist/models/GetQuestion.d.ts +4 -24
- package/dist/models/GetQuestion.js +4 -19
- package/dist/models/GetQuestionListFilters.d.ts +3 -24
- package/dist/models/GetQuestionListFilters.js +3 -15
- package/dist/models/GetResource.d.ts +7 -0
- package/dist/models/GetResource.js +5 -0
- package/dist/models/LibraryQuizCriteriaPreviewQuestion.d.ts +0 -21
- package/dist/models/LibraryQuizCriteriaPreviewQuestion.js +1 -17
- package/dist/models/LibraryQuizCriterion.d.ts +0 -21
- package/dist/models/LibraryQuizCriterion.js +1 -13
- package/dist/models/PostContentLibraryTag.d.ts +32 -0
- package/dist/models/PostContentLibraryTag.js +50 -0
- package/dist/models/PostContentLibraryTagMerge.d.ts +32 -0
- package/dist/models/PostContentLibraryTagMerge.js +50 -0
- package/dist/models/PostLibraryQuiz.d.ts +6 -0
- package/dist/models/PostLibraryQuiz.js +2 -0
- package/dist/models/PostQuestion.d.ts +0 -21
- package/dist/models/PostQuestion.js +1 -17
- package/dist/models/PostResource.d.ts +6 -0
- package/dist/models/PostResource.js +2 -0
- package/dist/models/PutContentLibraryTag.d.ts +32 -0
- package/dist/models/PutContentLibraryTag.js +50 -0
- package/dist/models/PutLibraryQuiz.d.ts +6 -0
- package/dist/models/PutLibraryQuiz.js +2 -0
- package/dist/models/PutQuestion.d.ts +0 -21
- package/dist/models/PutQuestion.js +1 -13
- package/dist/models/PutResource.d.ts +6 -0
- package/dist/models/PutResource.js +2 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/docs/ContentLibraryApi.md +732 -90
- package/docs/ContentLibraryQuizApi.md +4 -1
- package/docs/ContentLibraryTag.md +60 -0
- package/docs/ContentLibraryTagItem.md +48 -0
- package/docs/CourseApi.md +1 -1
- package/docs/CourseShareAcceptError.md +37 -0
- package/docs/CourseShareApi.md +9 -2
- package/docs/GetContentLibraryTagItemList.md +42 -0
- package/docs/GetContentLibraryTagList.md +42 -0
- package/docs/GetLibraryQuiz.md +2 -0
- package/docs/GetQuestion.md +1 -5
- package/docs/GetQuestionListFilters.md +2 -6
- package/docs/GetResource.md +2 -0
- package/docs/LibraryQuizCriteriaPreviewQuestion.md +0 -4
- package/docs/LibraryQuizCriterion.md +0 -4
- package/docs/PostContentLibraryTag.md +34 -0
- package/docs/PostContentLibraryTagMerge.md +34 -0
- package/docs/PostLibraryQuiz.md +2 -0
- package/docs/PostQuestion.md +0 -4
- package/docs/PostResource.md +2 -0
- package/docs/PutContentLibraryTag.md +34 -0
- package/docs/PutLibraryQuiz.md +2 -0
- package/docs/PutQuestion.md +0 -4
- package/docs/PutResource.md +2 -0
- package/docs/QuestionApi.md +4 -10
- package/package.json +1 -1
- package/src/apis/ContentLibraryApi.ts +576 -0
- package/src/apis/ContentLibraryQuizApi.ts +5 -0
- package/src/apis/CourseApi.ts +2 -2
- package/src/apis/CourseShareApi.ts +5 -0
- package/src/apis/QuestionApi.ts +3 -22
- package/src/models/ContentLibraryTag.ts +180 -0
- package/src/models/ContentLibraryTagItem.ts +154 -0
- package/src/models/CourseShareAcceptError.ts +94 -0
- package/src/models/GetContentLibraryTagItemList.ts +110 -0
- package/src/models/GetContentLibraryTagList.ts +110 -0
- package/src/models/GetLibraryQuiz.ts +16 -0
- package/src/models/GetQuestion.ts +12 -33
- package/src/models/GetQuestionListFilters.ts +5 -31
- package/src/models/GetResource.ts +16 -0
- package/src/models/LibraryQuizCriteriaPreviewQuestion.ts +0 -28
- package/src/models/LibraryQuizCriterion.ts +0 -26
- package/src/models/PostContentLibraryTag.ts +66 -0
- package/src/models/PostContentLibraryTagMerge.ts +66 -0
- package/src/models/PostLibraryQuiz.ts +8 -0
- package/src/models/PostQuestion.ts +0 -28
- package/src/models/PostResource.ts +8 -0
- package/src/models/PutContentLibraryTag.ts +66 -0
- package/src/models/PutLibraryQuiz.ts +8 -0
- package/src/models/PutQuestion.ts +0 -26
- package/src/models/PutResource.ts +8 -0
- package/src/models/index.ts +8 -0
|
@@ -13,6 +13,21 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import * as runtime from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
type ContentLibraryTag,
|
|
18
|
+
ContentLibraryTagFromJSON,
|
|
19
|
+
ContentLibraryTagToJSON,
|
|
20
|
+
} from '../models/ContentLibraryTag';
|
|
21
|
+
import {
|
|
22
|
+
type GetContentLibraryTagItemList,
|
|
23
|
+
GetContentLibraryTagItemListFromJSON,
|
|
24
|
+
GetContentLibraryTagItemListToJSON,
|
|
25
|
+
} from '../models/GetContentLibraryTagItemList';
|
|
26
|
+
import {
|
|
27
|
+
type GetContentLibraryTagList,
|
|
28
|
+
GetContentLibraryTagListFromJSON,
|
|
29
|
+
GetContentLibraryTagListToJSON,
|
|
30
|
+
} from '../models/GetContentLibraryTagList';
|
|
16
31
|
import {
|
|
17
32
|
type GetContentLibraryVersion,
|
|
18
33
|
GetContentLibraryVersionFromJSON,
|
|
@@ -43,6 +58,16 @@ import {
|
|
|
43
58
|
GetResourceVersionUploadFromJSON,
|
|
44
59
|
GetResourceVersionUploadToJSON,
|
|
45
60
|
} from '../models/GetResourceVersionUpload';
|
|
61
|
+
import {
|
|
62
|
+
type PostContentLibraryTag,
|
|
63
|
+
PostContentLibraryTagFromJSON,
|
|
64
|
+
PostContentLibraryTagToJSON,
|
|
65
|
+
} from '../models/PostContentLibraryTag';
|
|
66
|
+
import {
|
|
67
|
+
type PostContentLibraryTagMerge,
|
|
68
|
+
PostContentLibraryTagMergeFromJSON,
|
|
69
|
+
PostContentLibraryTagMergeToJSON,
|
|
70
|
+
} from '../models/PostContentLibraryTagMerge';
|
|
46
71
|
import {
|
|
47
72
|
type PostResource,
|
|
48
73
|
PostResourceFromJSON,
|
|
@@ -68,6 +93,11 @@ import {
|
|
|
68
93
|
PostResourceVersionUploadFromJSON,
|
|
69
94
|
PostResourceVersionUploadToJSON,
|
|
70
95
|
} from '../models/PostResourceVersionUpload';
|
|
96
|
+
import {
|
|
97
|
+
type PutContentLibraryTag,
|
|
98
|
+
PutContentLibraryTagFromJSON,
|
|
99
|
+
PutContentLibraryTagToJSON,
|
|
100
|
+
} from '../models/PutContentLibraryTag';
|
|
71
101
|
import {
|
|
72
102
|
type PutResource,
|
|
73
103
|
PutResourceFromJSON,
|
|
@@ -84,6 +114,10 @@ import {
|
|
|
84
114
|
ResourceTypeToJSON,
|
|
85
115
|
} from '../models/ResourceType';
|
|
86
116
|
|
|
117
|
+
export interface DeleteContentLibraryTagRequest {
|
|
118
|
+
tagId: string;
|
|
119
|
+
}
|
|
120
|
+
|
|
87
121
|
export interface DeleteResourceVersionRequest {
|
|
88
122
|
resourceId: string;
|
|
89
123
|
versionId: string;
|
|
@@ -93,6 +127,29 @@ export interface GetContentLibraryItemListRequest {
|
|
|
93
127
|
kind?: string;
|
|
94
128
|
search?: string;
|
|
95
129
|
resourceType?: ResourceType;
|
|
130
|
+
tagId?: string;
|
|
131
|
+
page?: number;
|
|
132
|
+
pageSize?: number;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export interface GetContentLibraryTagRequest {
|
|
136
|
+
tagId: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface GetContentLibraryTagItemListRequest {
|
|
140
|
+
tagId: string;
|
|
141
|
+
kind?: GetContentLibraryTagItemListKindEnum;
|
|
142
|
+
search?: string;
|
|
143
|
+
includeArchived?: boolean;
|
|
144
|
+
page?: number;
|
|
145
|
+
pageSize?: number;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export interface GetContentLibraryTagListRequest {
|
|
149
|
+
search?: string;
|
|
150
|
+
includeArchived?: boolean;
|
|
151
|
+
orderBy?: GetContentLibraryTagListOrderByEnum;
|
|
152
|
+
order?: GetContentLibraryTagListOrderEnum;
|
|
96
153
|
page?: number;
|
|
97
154
|
pageSize?: number;
|
|
98
155
|
}
|
|
@@ -104,6 +161,7 @@ export interface GetResourceRequest {
|
|
|
104
161
|
export interface GetResourceListRequest {
|
|
105
162
|
search?: string;
|
|
106
163
|
resourceType?: ResourceType;
|
|
164
|
+
tagId?: string;
|
|
107
165
|
page?: number;
|
|
108
166
|
pageSize?: number;
|
|
109
167
|
}
|
|
@@ -117,6 +175,23 @@ export interface GetResourceVersionRequest {
|
|
|
117
175
|
versionId: string;
|
|
118
176
|
}
|
|
119
177
|
|
|
178
|
+
export interface PostContentLibraryTagRequest {
|
|
179
|
+
postContentLibraryTag: PostContentLibraryTag;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface PostContentLibraryTagArchiveRequest {
|
|
183
|
+
tagId: string;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export interface PostContentLibraryTagMergeRequest {
|
|
187
|
+
tagId: string;
|
|
188
|
+
postContentLibraryTagMerge: PostContentLibraryTagMerge;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export interface PostContentLibraryTagRestoreRequest {
|
|
192
|
+
tagId: string;
|
|
193
|
+
}
|
|
194
|
+
|
|
120
195
|
export interface PostResourceRequest {
|
|
121
196
|
postResource: PostResource;
|
|
122
197
|
}
|
|
@@ -158,6 +233,11 @@ export interface PostResourceVersionUploadCompleteRequest {
|
|
|
158
233
|
postResourceVersionComplete: PostResourceVersionComplete;
|
|
159
234
|
}
|
|
160
235
|
|
|
236
|
+
export interface PutContentLibraryTagRequest {
|
|
237
|
+
tagId: string;
|
|
238
|
+
putContentLibraryTag: PutContentLibraryTag;
|
|
239
|
+
}
|
|
240
|
+
|
|
161
241
|
export interface PutResourceRequest {
|
|
162
242
|
resourceId: string;
|
|
163
243
|
putResource: PutResource;
|
|
@@ -180,6 +260,50 @@ export interface PutResourceVersionUploadFileRequest {
|
|
|
180
260
|
*/
|
|
181
261
|
export class ContentLibraryApi extends runtime.BaseAPI {
|
|
182
262
|
|
|
263
|
+
/**
|
|
264
|
+
* Creates request options for deleteContentLibraryTag without sending the request
|
|
265
|
+
*/
|
|
266
|
+
async deleteContentLibraryTagRequestOpts(requestParameters: DeleteContentLibraryTagRequest): Promise<runtime.RequestOpts> {
|
|
267
|
+
if (requestParameters['tagId'] == null) {
|
|
268
|
+
throw new runtime.RequiredError(
|
|
269
|
+
'tagId',
|
|
270
|
+
'Required parameter "tagId" was null or undefined when calling deleteContentLibraryTag().'
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
const queryParameters: any = {};
|
|
275
|
+
|
|
276
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
let urlPath = `/content-library/tags/{tagId}`;
|
|
280
|
+
urlPath = urlPath.replace('{tagId}', encodeURIComponent(String(requestParameters['tagId'])));
|
|
281
|
+
|
|
282
|
+
return {
|
|
283
|
+
path: urlPath,
|
|
284
|
+
method: 'DELETE',
|
|
285
|
+
headers: headerParameters,
|
|
286
|
+
query: queryParameters,
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Delete a Content Library tag and remove it from associated content
|
|
292
|
+
*/
|
|
293
|
+
async deleteContentLibraryTagRaw(requestParameters: DeleteContentLibraryTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
294
|
+
const requestOptions = await this.deleteContentLibraryTagRequestOpts(requestParameters);
|
|
295
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
296
|
+
|
|
297
|
+
return new runtime.VoidApiResponse(response);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Delete a Content Library tag and remove it from associated content
|
|
302
|
+
*/
|
|
303
|
+
async deleteContentLibraryTag(requestParameters: DeleteContentLibraryTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
304
|
+
await this.deleteContentLibraryTagRaw(requestParameters, initOverrides);
|
|
305
|
+
}
|
|
306
|
+
|
|
183
307
|
/**
|
|
184
308
|
* Creates request options for deleteResourceVersion without sending the request
|
|
185
309
|
*/
|
|
@@ -250,6 +374,10 @@ export class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
250
374
|
queryParameters['resource_type'] = requestParameters['resourceType'];
|
|
251
375
|
}
|
|
252
376
|
|
|
377
|
+
if (requestParameters['tagId'] != null) {
|
|
378
|
+
queryParameters['tag_id'] = requestParameters['tagId'];
|
|
379
|
+
}
|
|
380
|
+
|
|
253
381
|
if (requestParameters['page'] != null) {
|
|
254
382
|
queryParameters['page'] = requestParameters['page'];
|
|
255
383
|
}
|
|
@@ -289,6 +417,177 @@ export class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
289
417
|
return await response.value();
|
|
290
418
|
}
|
|
291
419
|
|
|
420
|
+
/**
|
|
421
|
+
* Creates request options for getContentLibraryTag without sending the request
|
|
422
|
+
*/
|
|
423
|
+
async getContentLibraryTagRequestOpts(requestParameters: GetContentLibraryTagRequest): Promise<runtime.RequestOpts> {
|
|
424
|
+
if (requestParameters['tagId'] == null) {
|
|
425
|
+
throw new runtime.RequiredError(
|
|
426
|
+
'tagId',
|
|
427
|
+
'Required parameter "tagId" was null or undefined when calling getContentLibraryTag().'
|
|
428
|
+
);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
const queryParameters: any = {};
|
|
432
|
+
|
|
433
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
let urlPath = `/content-library/tags/{tagId}`;
|
|
437
|
+
urlPath = urlPath.replace('{tagId}', encodeURIComponent(String(requestParameters['tagId'])));
|
|
438
|
+
|
|
439
|
+
return {
|
|
440
|
+
path: urlPath,
|
|
441
|
+
method: 'GET',
|
|
442
|
+
headers: headerParameters,
|
|
443
|
+
query: queryParameters,
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Get a Content Library tag
|
|
449
|
+
*/
|
|
450
|
+
async getContentLibraryTagRaw(requestParameters: GetContentLibraryTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentLibraryTag>> {
|
|
451
|
+
const requestOptions = await this.getContentLibraryTagRequestOpts(requestParameters);
|
|
452
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
453
|
+
|
|
454
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ContentLibraryTagFromJSON(jsonValue));
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Get a Content Library tag
|
|
459
|
+
*/
|
|
460
|
+
async getContentLibraryTag(requestParameters: GetContentLibraryTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentLibraryTag> {
|
|
461
|
+
const response = await this.getContentLibraryTagRaw(requestParameters, initOverrides);
|
|
462
|
+
return await response.value();
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Creates request options for getContentLibraryTagItemList without sending the request
|
|
467
|
+
*/
|
|
468
|
+
async getContentLibraryTagItemListRequestOpts(requestParameters: GetContentLibraryTagItemListRequest): Promise<runtime.RequestOpts> {
|
|
469
|
+
if (requestParameters['tagId'] == null) {
|
|
470
|
+
throw new runtime.RequiredError(
|
|
471
|
+
'tagId',
|
|
472
|
+
'Required parameter "tagId" was null or undefined when calling getContentLibraryTagItemList().'
|
|
473
|
+
);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
const queryParameters: any = {};
|
|
477
|
+
|
|
478
|
+
if (requestParameters['kind'] != null) {
|
|
479
|
+
queryParameters['kind'] = requestParameters['kind'];
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
if (requestParameters['search'] != null) {
|
|
483
|
+
queryParameters['search'] = requestParameters['search'];
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
if (requestParameters['includeArchived'] != null) {
|
|
487
|
+
queryParameters['include_archived'] = requestParameters['includeArchived'];
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
if (requestParameters['page'] != null) {
|
|
491
|
+
queryParameters['page'] = requestParameters['page'];
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
if (requestParameters['pageSize'] != null) {
|
|
495
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
let urlPath = `/content-library/tags/{tagId}/items`;
|
|
502
|
+
urlPath = urlPath.replace('{tagId}', encodeURIComponent(String(requestParameters['tagId'])));
|
|
503
|
+
|
|
504
|
+
return {
|
|
505
|
+
path: urlPath,
|
|
506
|
+
method: 'GET',
|
|
507
|
+
headers: headerParameters,
|
|
508
|
+
query: queryParameters,
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* List resources, quizzes, and questions associated with a tag
|
|
514
|
+
*/
|
|
515
|
+
async getContentLibraryTagItemListRaw(requestParameters: GetContentLibraryTagItemListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetContentLibraryTagItemList>> {
|
|
516
|
+
const requestOptions = await this.getContentLibraryTagItemListRequestOpts(requestParameters);
|
|
517
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
518
|
+
|
|
519
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetContentLibraryTagItemListFromJSON(jsonValue));
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* List resources, quizzes, and questions associated with a tag
|
|
524
|
+
*/
|
|
525
|
+
async getContentLibraryTagItemList(requestParameters: GetContentLibraryTagItemListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentLibraryTagItemList> {
|
|
526
|
+
const response = await this.getContentLibraryTagItemListRaw(requestParameters, initOverrides);
|
|
527
|
+
return await response.value();
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Creates request options for getContentLibraryTagList without sending the request
|
|
532
|
+
*/
|
|
533
|
+
async getContentLibraryTagListRequestOpts(requestParameters: GetContentLibraryTagListRequest): Promise<runtime.RequestOpts> {
|
|
534
|
+
const queryParameters: any = {};
|
|
535
|
+
|
|
536
|
+
if (requestParameters['search'] != null) {
|
|
537
|
+
queryParameters['search'] = requestParameters['search'];
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
if (requestParameters['includeArchived'] != null) {
|
|
541
|
+
queryParameters['include_archived'] = requestParameters['includeArchived'];
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
if (requestParameters['orderBy'] != null) {
|
|
545
|
+
queryParameters['order_by'] = requestParameters['orderBy'];
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
if (requestParameters['order'] != null) {
|
|
549
|
+
queryParameters['order'] = requestParameters['order'];
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
if (requestParameters['page'] != null) {
|
|
553
|
+
queryParameters['page'] = requestParameters['page'];
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
if (requestParameters['pageSize'] != null) {
|
|
557
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
let urlPath = `/content-library/tags`;
|
|
564
|
+
|
|
565
|
+
return {
|
|
566
|
+
path: urlPath,
|
|
567
|
+
method: 'GET',
|
|
568
|
+
headers: headerParameters,
|
|
569
|
+
query: queryParameters,
|
|
570
|
+
};
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* List portal Content Library tags
|
|
575
|
+
*/
|
|
576
|
+
async getContentLibraryTagListRaw(requestParameters: GetContentLibraryTagListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetContentLibraryTagList>> {
|
|
577
|
+
const requestOptions = await this.getContentLibraryTagListRequestOpts(requestParameters);
|
|
578
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
579
|
+
|
|
580
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetContentLibraryTagListFromJSON(jsonValue));
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* List portal Content Library tags
|
|
585
|
+
*/
|
|
586
|
+
async getContentLibraryTagList(requestParameters: GetContentLibraryTagListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentLibraryTagList> {
|
|
587
|
+
const response = await this.getContentLibraryTagListRaw(requestParameters, initOverrides);
|
|
588
|
+
return await response.value();
|
|
589
|
+
}
|
|
590
|
+
|
|
292
591
|
/**
|
|
293
592
|
* Creates request options for getResource without sending the request
|
|
294
593
|
*/
|
|
@@ -348,6 +647,10 @@ export class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
348
647
|
queryParameters['resource_type'] = requestParameters['resourceType'];
|
|
349
648
|
}
|
|
350
649
|
|
|
650
|
+
if (requestParameters['tagId'] != null) {
|
|
651
|
+
queryParameters['tag_id'] = requestParameters['tagId'];
|
|
652
|
+
}
|
|
653
|
+
|
|
351
654
|
if (requestParameters['page'] != null) {
|
|
352
655
|
queryParameters['page'] = requestParameters['page'];
|
|
353
656
|
}
|
|
@@ -485,6 +788,198 @@ export class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
485
788
|
return await response.value();
|
|
486
789
|
}
|
|
487
790
|
|
|
791
|
+
/**
|
|
792
|
+
* Creates request options for postContentLibraryTag without sending the request
|
|
793
|
+
*/
|
|
794
|
+
async postContentLibraryTagRequestOpts(requestParameters: PostContentLibraryTagRequest): Promise<runtime.RequestOpts> {
|
|
795
|
+
if (requestParameters['postContentLibraryTag'] == null) {
|
|
796
|
+
throw new runtime.RequiredError(
|
|
797
|
+
'postContentLibraryTag',
|
|
798
|
+
'Required parameter "postContentLibraryTag" was null or undefined when calling postContentLibraryTag().'
|
|
799
|
+
);
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
const queryParameters: any = {};
|
|
803
|
+
|
|
804
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
805
|
+
|
|
806
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
let urlPath = `/content-library/tags`;
|
|
810
|
+
|
|
811
|
+
return {
|
|
812
|
+
path: urlPath,
|
|
813
|
+
method: 'POST',
|
|
814
|
+
headers: headerParameters,
|
|
815
|
+
query: queryParameters,
|
|
816
|
+
body: PostContentLibraryTagToJSON(requestParameters['postContentLibraryTag']),
|
|
817
|
+
};
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Create a portal Content Library tag
|
|
822
|
+
*/
|
|
823
|
+
async postContentLibraryTagRaw(requestParameters: PostContentLibraryTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentLibraryTag>> {
|
|
824
|
+
const requestOptions = await this.postContentLibraryTagRequestOpts(requestParameters);
|
|
825
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
826
|
+
|
|
827
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ContentLibraryTagFromJSON(jsonValue));
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Create a portal Content Library tag
|
|
832
|
+
*/
|
|
833
|
+
async postContentLibraryTag(requestParameters: PostContentLibraryTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentLibraryTag> {
|
|
834
|
+
const response = await this.postContentLibraryTagRaw(requestParameters, initOverrides);
|
|
835
|
+
return await response.value();
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Creates request options for postContentLibraryTagArchive without sending the request
|
|
840
|
+
*/
|
|
841
|
+
async postContentLibraryTagArchiveRequestOpts(requestParameters: PostContentLibraryTagArchiveRequest): Promise<runtime.RequestOpts> {
|
|
842
|
+
if (requestParameters['tagId'] == null) {
|
|
843
|
+
throw new runtime.RequiredError(
|
|
844
|
+
'tagId',
|
|
845
|
+
'Required parameter "tagId" was null or undefined when calling postContentLibraryTagArchive().'
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
const queryParameters: any = {};
|
|
850
|
+
|
|
851
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
let urlPath = `/content-library/tags/{tagId}/archive`;
|
|
855
|
+
urlPath = urlPath.replace('{tagId}', encodeURIComponent(String(requestParameters['tagId'])));
|
|
856
|
+
|
|
857
|
+
return {
|
|
858
|
+
path: urlPath,
|
|
859
|
+
method: 'POST',
|
|
860
|
+
headers: headerParameters,
|
|
861
|
+
query: queryParameters,
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* Archive a Content Library tag
|
|
867
|
+
*/
|
|
868
|
+
async postContentLibraryTagArchiveRaw(requestParameters: PostContentLibraryTagArchiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentLibraryTag>> {
|
|
869
|
+
const requestOptions = await this.postContentLibraryTagArchiveRequestOpts(requestParameters);
|
|
870
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
871
|
+
|
|
872
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ContentLibraryTagFromJSON(jsonValue));
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* Archive a Content Library tag
|
|
877
|
+
*/
|
|
878
|
+
async postContentLibraryTagArchive(requestParameters: PostContentLibraryTagArchiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentLibraryTag> {
|
|
879
|
+
const response = await this.postContentLibraryTagArchiveRaw(requestParameters, initOverrides);
|
|
880
|
+
return await response.value();
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Creates request options for postContentLibraryTagMerge without sending the request
|
|
885
|
+
*/
|
|
886
|
+
async postContentLibraryTagMergeRequestOpts(requestParameters: PostContentLibraryTagMergeRequest): Promise<runtime.RequestOpts> {
|
|
887
|
+
if (requestParameters['tagId'] == null) {
|
|
888
|
+
throw new runtime.RequiredError(
|
|
889
|
+
'tagId',
|
|
890
|
+
'Required parameter "tagId" was null or undefined when calling postContentLibraryTagMerge().'
|
|
891
|
+
);
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
if (requestParameters['postContentLibraryTagMerge'] == null) {
|
|
895
|
+
throw new runtime.RequiredError(
|
|
896
|
+
'postContentLibraryTagMerge',
|
|
897
|
+
'Required parameter "postContentLibraryTagMerge" was null or undefined when calling postContentLibraryTagMerge().'
|
|
898
|
+
);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
const queryParameters: any = {};
|
|
902
|
+
|
|
903
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
904
|
+
|
|
905
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
let urlPath = `/content-library/tags/{tagId}/merge`;
|
|
909
|
+
urlPath = urlPath.replace('{tagId}', encodeURIComponent(String(requestParameters['tagId'])));
|
|
910
|
+
|
|
911
|
+
return {
|
|
912
|
+
path: urlPath,
|
|
913
|
+
method: 'POST',
|
|
914
|
+
headers: headerParameters,
|
|
915
|
+
query: queryParameters,
|
|
916
|
+
body: PostContentLibraryTagMergeToJSON(requestParameters['postContentLibraryTagMerge']),
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Merge a Content Library tag into another tag
|
|
922
|
+
*/
|
|
923
|
+
async postContentLibraryTagMergeRaw(requestParameters: PostContentLibraryTagMergeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentLibraryTag>> {
|
|
924
|
+
const requestOptions = await this.postContentLibraryTagMergeRequestOpts(requestParameters);
|
|
925
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
926
|
+
|
|
927
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ContentLibraryTagFromJSON(jsonValue));
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Merge a Content Library tag into another tag
|
|
932
|
+
*/
|
|
933
|
+
async postContentLibraryTagMerge(requestParameters: PostContentLibraryTagMergeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentLibraryTag> {
|
|
934
|
+
const response = await this.postContentLibraryTagMergeRaw(requestParameters, initOverrides);
|
|
935
|
+
return await response.value();
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Creates request options for postContentLibraryTagRestore without sending the request
|
|
940
|
+
*/
|
|
941
|
+
async postContentLibraryTagRestoreRequestOpts(requestParameters: PostContentLibraryTagRestoreRequest): Promise<runtime.RequestOpts> {
|
|
942
|
+
if (requestParameters['tagId'] == null) {
|
|
943
|
+
throw new runtime.RequiredError(
|
|
944
|
+
'tagId',
|
|
945
|
+
'Required parameter "tagId" was null or undefined when calling postContentLibraryTagRestore().'
|
|
946
|
+
);
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
const queryParameters: any = {};
|
|
950
|
+
|
|
951
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
let urlPath = `/content-library/tags/{tagId}/restore`;
|
|
955
|
+
urlPath = urlPath.replace('{tagId}', encodeURIComponent(String(requestParameters['tagId'])));
|
|
956
|
+
|
|
957
|
+
return {
|
|
958
|
+
path: urlPath,
|
|
959
|
+
method: 'POST',
|
|
960
|
+
headers: headerParameters,
|
|
961
|
+
query: queryParameters,
|
|
962
|
+
};
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Restore a Content Library tag
|
|
967
|
+
*/
|
|
968
|
+
async postContentLibraryTagRestoreRaw(requestParameters: PostContentLibraryTagRestoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentLibraryTag>> {
|
|
969
|
+
const requestOptions = await this.postContentLibraryTagRestoreRequestOpts(requestParameters);
|
|
970
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
971
|
+
|
|
972
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ContentLibraryTagFromJSON(jsonValue));
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Restore a Content Library tag
|
|
977
|
+
*/
|
|
978
|
+
async postContentLibraryTagRestore(requestParameters: PostContentLibraryTagRestoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentLibraryTag> {
|
|
979
|
+
const response = await this.postContentLibraryTagRestoreRaw(requestParameters, initOverrides);
|
|
980
|
+
return await response.value();
|
|
981
|
+
}
|
|
982
|
+
|
|
488
983
|
/**
|
|
489
984
|
* Creates request options for postResource without sending the request
|
|
490
985
|
*/
|
|
@@ -913,6 +1408,61 @@ export class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
913
1408
|
return await response.value();
|
|
914
1409
|
}
|
|
915
1410
|
|
|
1411
|
+
/**
|
|
1412
|
+
* Creates request options for putContentLibraryTag without sending the request
|
|
1413
|
+
*/
|
|
1414
|
+
async putContentLibraryTagRequestOpts(requestParameters: PutContentLibraryTagRequest): Promise<runtime.RequestOpts> {
|
|
1415
|
+
if (requestParameters['tagId'] == null) {
|
|
1416
|
+
throw new runtime.RequiredError(
|
|
1417
|
+
'tagId',
|
|
1418
|
+
'Required parameter "tagId" was null or undefined when calling putContentLibraryTag().'
|
|
1419
|
+
);
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
if (requestParameters['putContentLibraryTag'] == null) {
|
|
1423
|
+
throw new runtime.RequiredError(
|
|
1424
|
+
'putContentLibraryTag',
|
|
1425
|
+
'Required parameter "putContentLibraryTag" was null or undefined when calling putContentLibraryTag().'
|
|
1426
|
+
);
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
const queryParameters: any = {};
|
|
1430
|
+
|
|
1431
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1432
|
+
|
|
1433
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
let urlPath = `/content-library/tags/{tagId}`;
|
|
1437
|
+
urlPath = urlPath.replace('{tagId}', encodeURIComponent(String(requestParameters['tagId'])));
|
|
1438
|
+
|
|
1439
|
+
return {
|
|
1440
|
+
path: urlPath,
|
|
1441
|
+
method: 'PUT',
|
|
1442
|
+
headers: headerParameters,
|
|
1443
|
+
query: queryParameters,
|
|
1444
|
+
body: PutContentLibraryTagToJSON(requestParameters['putContentLibraryTag']),
|
|
1445
|
+
};
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* Rename a Content Library tag
|
|
1450
|
+
*/
|
|
1451
|
+
async putContentLibraryTagRaw(requestParameters: PutContentLibraryTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContentLibraryTag>> {
|
|
1452
|
+
const requestOptions = await this.putContentLibraryTagRequestOpts(requestParameters);
|
|
1453
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1454
|
+
|
|
1455
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ContentLibraryTagFromJSON(jsonValue));
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* Rename a Content Library tag
|
|
1460
|
+
*/
|
|
1461
|
+
async putContentLibraryTag(requestParameters: PutContentLibraryTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContentLibraryTag> {
|
|
1462
|
+
const response = await this.putContentLibraryTagRaw(requestParameters, initOverrides);
|
|
1463
|
+
return await response.value();
|
|
1464
|
+
}
|
|
1465
|
+
|
|
916
1466
|
/**
|
|
917
1467
|
* Creates request options for putResource without sending the request
|
|
918
1468
|
*/
|
|
@@ -1094,3 +1644,29 @@ export class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
1094
1644
|
}
|
|
1095
1645
|
|
|
1096
1646
|
}
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* @export
|
|
1650
|
+
*/
|
|
1651
|
+
export const GetContentLibraryTagItemListKindEnum = {
|
|
1652
|
+
Resource: 'resource',
|
|
1653
|
+
Quiz: 'quiz',
|
|
1654
|
+
Question: 'question'
|
|
1655
|
+
} as const;
|
|
1656
|
+
export type GetContentLibraryTagItemListKindEnum = typeof GetContentLibraryTagItemListKindEnum[keyof typeof GetContentLibraryTagItemListKindEnum];
|
|
1657
|
+
/**
|
|
1658
|
+
* @export
|
|
1659
|
+
*/
|
|
1660
|
+
export const GetContentLibraryTagListOrderByEnum = {
|
|
1661
|
+
Name: 'name',
|
|
1662
|
+
UsageCount: 'usage_count'
|
|
1663
|
+
} as const;
|
|
1664
|
+
export type GetContentLibraryTagListOrderByEnum = typeof GetContentLibraryTagListOrderByEnum[keyof typeof GetContentLibraryTagListOrderByEnum];
|
|
1665
|
+
/**
|
|
1666
|
+
* @export
|
|
1667
|
+
*/
|
|
1668
|
+
export const GetContentLibraryTagListOrderEnum = {
|
|
1669
|
+
Asc: 'asc',
|
|
1670
|
+
Desc: 'desc'
|
|
1671
|
+
} as const;
|
|
1672
|
+
export type GetContentLibraryTagListOrderEnum = typeof GetContentLibraryTagListOrderEnum[keyof typeof GetContentLibraryTagListOrderEnum];
|
|
@@ -153,6 +153,7 @@ export interface GetLibraryQuizCriteriaRequest {
|
|
|
153
153
|
export interface GetLibraryQuizListRequest {
|
|
154
154
|
search?: string;
|
|
155
155
|
includeArchived?: boolean;
|
|
156
|
+
tagId?: string;
|
|
156
157
|
page?: number;
|
|
157
158
|
pageSize?: number;
|
|
158
159
|
}
|
|
@@ -505,6 +506,10 @@ export class ContentLibraryQuizApi extends runtime.BaseAPI {
|
|
|
505
506
|
queryParameters['include_archived'] = requestParameters['includeArchived'];
|
|
506
507
|
}
|
|
507
508
|
|
|
509
|
+
if (requestParameters['tagId'] != null) {
|
|
510
|
+
queryParameters['tag_id'] = requestParameters['tagId'];
|
|
511
|
+
}
|
|
512
|
+
|
|
508
513
|
if (requestParameters['page'] != null) {
|
|
509
514
|
queryParameters['page'] = requestParameters['page'];
|
|
510
515
|
}
|