-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathSetAPI.spec
752 lines (620 loc) · 25.6 KB
/
SetAPI.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
#include <workspace.spec>
module SetAPI {
/* A boolean. 0 = false, 1 = true. */
typedef int boolean;
/*
The workspace ID for a any data object.
@id ws
*/
typedef string ws_obj_id;
typedef structure {
string name;
ws_obj_id ref;
} DataAttachment;
/* ******* DIFFERENTIAL EXPRESSION MATRIX SET METHODS ******* */
/* NOTE: data type explicitly copied from KBaseSets so type and
API can evolve independently */
/*
The workspace id for a FeatureSet data object.
@id ws KBaseFeatureValues.DifferentialExpressionMatrix KBaseMatrices.DifferentialExpressionMatrix;
*/
typedef string ws_diffexpmatrix_id;
/*
When saving a DifferentialExpressionMatrixSet, only 'ref' is required.
You should never set 'info'. 'info' is provided optionally when fetching
the DifferentialExpressionMatrixSet.
ref_path is optionally returned by get_differential_expression_matrix_set_v1()
when its input parameter 'include_set_item_ref_paths' is set to 1.
*/
typedef structure {
ws_diffexpmatrix_id ref;
ws_diffexpmatrix_id ref_path;
string label;
Workspace.object_info info;
} DifferentialExpressionMatrixSetItem;
/*
When building a DifferentialExpressionMatrixSet, all DifferentialExpressionMatrices must be
built against the same genome. This is not part of the object type, but enforced during a
call to save_differential_expression_matrix_set_v1.
@meta ws description as description
@meta ws length(items) as item_count
*/
typedef structure {
string description;
list<DifferentialExpressionMatrixSetItem> items;
} DifferentialExpressionMatrixSet;
/*
ref - workspace reference to DifferentialExpressionMatrixSet object.
include_item_info - 1 or 0, if 1 additionally provides workspace info (with
metadata) for each DifferentialExpressionMatrix object in the Set
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path returned for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref (if ref_path_to_set is not given)
*/
typedef structure {
string ref;
boolean include_item_info;
boolean include_set_item_ref_paths;
list <string> ref_path_to_set;
} GetDifferentialExpressionMatrixSetV1Params;
typedef structure {
DifferentialExpressionMatrixSet data;
Workspace.object_info info;
} GetDifferentialExpressionMatrixSetV1Result;
funcdef get_differential_expression_matrix_set_v1(GetDifferentialExpressionMatrixSetV1Params params)
returns (GetDifferentialExpressionMatrixSetV1Result result) authentication optional;
/*
workspace_name or workspace_id - alternative options defining
target workspace,
output_object_name - workspace object name (this parameter is
used together with one of workspace params from above)
*/
typedef structure {
string workspace;
string output_object_name;
DifferentialExpressionMatrixSet data;
} SaveDifferentialExpressionMatrixSetV1Params;
typedef structure {
string set_ref;
Workspace.object_info set_info;
} SaveDifferentialExpressionMatrixSetV1Result;
funcdef save_differential_expression_matrix_set_v1(SaveDifferentialExpressionMatrixSetV1Params params)
returns (SaveDifferentialExpressionMatrixSetV1Result result) authentication required;
/* ******* FEATURE SET SET METHODS ******** */
/* NOTE: data type explicitly copied from KBaseSets so type and
API can evolve independently */
/*
The workspace id for a FeatureSet data object.
@id ws KBaseCollections.FeatureSet
*/
typedef string ws_feature_set_id;
/*
When saving a FeatureSetSet, only 'ref' is required.
You should never set 'info'. 'info' is provided optionally when fetching
the FeatureSetSet.
ref_path is optionally returned by get_feature_set_set_v1()
when its input parameter 'include_set_item_ref_paths' is set to 1.
*/
typedef structure {
ws_feature_set_id ref;
ws_feature_set_id ref_path;
string label;
Workspace.object_info info;
} FeatureSetSetItem;
/*
When building a FeatureSetSet, all FeatureSets must be aligned against the same
genome. This is not part of the object type, but enforced during a call to
save_feature_set_set_v1.
@meta ws description as description
@meta ws length(items) as item_count
*/
typedef structure {
string description;
list<FeatureSetSetItem> items;
} FeatureSetSet;
/*
ref - workspace reference to FeatureSetSet object.
include_item_info - 1 or 0, if 1 additionally provides workspace info (with
metadata) for each FeatureSet object in the Set
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path returned for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref (if ref_path_to_set is not given)
*/
typedef structure {
string ref;
boolean include_item_info;
boolean include_set_item_ref_paths;
list <string> ref_path_to_set;
} GetFeatureSetSetV1Params;
typedef structure {
FeatureSetSet data;
Workspace.object_info info;
} GetFeatureSetSetV1Result;
funcdef get_feature_set_set_v1(GetFeatureSetSetV1Params params)
returns (GetFeatureSetSetV1Result) authentication optional;
/*
workspace_name or workspace_id - alternative options defining
target workspace,
output_object_name - workspace object name (this parameter is
used together with one of workspace params from above)
*/
typedef structure {
string workspace;
string output_object_name;
FeatureSetSet data;
} SaveFeatureSetSetV1Params;
typedef structure {
string set_ref;
Workspace.object_info set_info;
} SaveFeatureSetSetV1Result;
funcdef save_feature_set_set_v1(SaveFeatureSetSetV1Params params)
returns (SaveFeatureSetSetV1Result result) authentication required;
/* ******* EXPRESSION SET METHODS ******** */
/* NOTE: data type explicitly copied from KBaseSets so type and
API can evolve independently. */
/*
The workspace id for a ReadsAlignment data object.
@id ws KBaseRNASeq.RNASeqExpression
*/
typedef string ws_expression_id;
/*
When saving a ExpressionSet, only 'ref' is required.
You should never set 'info'. 'info' is provided optionally when fetching
the ExpressionSet.
ref_path is optionally returned by get_expression_set_v1()
when its input parameter 'include_set_item_ref_paths' is set to 1.
*/
typedef structure {
ws_expression_id ref;
ws_expression_id ref_path;
string label;
list<DataAttachment> data_attachments;
Workspace.object_info info;
} ExpressionSetItem;
/*
When building a ExpressionSet, all Expression objects must be aligned against the same
genome. This is not part of the object type, but enforced during a call to
save_expression_set_v1.
@meta ws description as description
@meta ws length(items) as item_count
*/
typedef structure {
string description;
list<ExpressionSetItem> items;
} ExpressionSet;
/*
ref - workspace reference to ExpressionSet object.
include_item_info - 1 or 0, if 1 additionally provides workspace info (with
metadata) for each Expression object in the Set
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path returned for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref (if ref_path_to_set is not given)
*/
typedef structure {
string ref;
boolean include_item_info;
boolean include_set_item_ref_paths;
list <string> ref_path_to_set;
} GetExpressionSetV1Params;
typedef structure {
ExpressionSet data;
Workspace.object_info info;
} GetExpressionSetV1Result;
funcdef get_expression_set_v1(GetExpressionSetV1Params params)
returns (GetExpressionSetV1Result) authentication optional;
/*
workspace_name or workspace_id - alternative options defining
target workspace,
output_object_name - workspace object name (this parameter is
used together with one of workspace params from above)
*/
typedef structure {
string workspace;
string output_object_name;
ExpressionSet data;
} SaveExpressionSetV1Params;
typedef structure {
string set_ref;
Workspace.object_info set_info;
} SaveExpressionSetV1Result;
funcdef save_expression_set_v1(SaveExpressionSetV1Params params)
returns (SaveExpressionSetV1Result result) authentication required;
/* ******* READS ALIGNMENT SET METHODS ******** */
/* NOTE: data type explicitly copied from KBaseSets so type and
API can evolve independently */
/*
The workspace id for a ReadsAlignment data object.
@id ws KBaseRNASeq.RNASeqAlignment
*/
typedef string ws_reads_align_id;
/*
When saving a ReadsAlignmentSet, only 'ref' is required.
You should never set 'info'. 'info' is provided optionally when fetching
the ReadsAlignmentSet.
ref_path is optionally returned by get_reads_alignment_set_v1()
when its input parameter 'include_set_item_ref_paths' is set to 1.
*/
typedef structure {
ws_reads_align_id ref;
ws_reads_align_id ref_path;
string label;
Workspace.object_info info;
list<DataAttachment> data_attachments;
} ReadsAlignmentSetItem;
/*
When building a ReadsAlignmentSet, all ReadsAlignments must be aligned against the same
genome. This is not part of the object type, but enforced during a call to
save_reads_alignment_set_v1.
@meta ws description as description
@meta ws length(items) as item_count
*/
typedef structure {
string description;
list<ReadsAlignmentSetItem> items;
} ReadsAlignmentSet;
/*
ref - workspace reference to ReadsAlignmentSet object.
include_item_info - 1 or 0, if 1 additionally provides workspace info (with
metadata) for each ReadsAlignment object in the Set
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path returned for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref (if ref_path_to_set is not given)
*/
typedef structure {
string ref;
boolean include_item_info;
boolean include_set_item_ref_paths;
list <string> ref_path_to_set;
} GetReadsAlignmentSetV1Params;
typedef structure {
ReadsAlignmentSet data;
Workspace.object_info info;
} GetReadsAlignmentSetV1Result;
funcdef get_reads_alignment_set_v1(GetReadsAlignmentSetV1Params params)
returns (GetReadsAlignmentSetV1Result) authentication optional;
/*
workspace_name or workspace_id - alternative options defining
target workspace,
output_object_name - workspace object name (this parameter is
used together with one of workspace params from above)
*/
typedef structure {
string workspace;
string output_object_name;
ReadsAlignmentSet data;
} SaveReadsAlignmentSetV1Params;
typedef structure {
string set_ref;
Workspace.object_info set_info;
} SaveReadsAlignmentSetV1Result;
funcdef save_reads_alignment_set_v1(SaveReadsAlignmentSetV1Params params)
returns (SaveReadsAlignmentSetV1Result result) authentication required;
/* ******* READS SET METHODS ************ */
/* NOTE: data type explicitly copied from KBaseSets so type and
API can evolve independently */
/*
The workspace ID for a Reads data object.
@id ws KBaseFile.PairedEndLibrary KBaseFile.SingleEndLibrary
*/
typedef string ws_reads_id;
/*
When saving a ReadsSet, only 'ref' is required. You should
never set 'info'. 'info' is provided optionally when fetching
the ReadsSet.
ref_path is optionally returned by get_reads_set_v1()
when its input parameter 'include_set_item_ref_paths' is set to 1.
*/
typedef structure {
ws_reads_id ref;
ws_reads_id ref_path;
string label;
list <DataAttachment> data_attachments;
Workspace.object_info info;
} ReadsSetItem;
/*
@meta ws description as description
@meta ws length(items) as item_count
*/
typedef structure {
string description;
list<ReadsSetItem> items;
} ReadsSet;
/*
ref - workspace reference to ReadsGroup object.
include_item_info - 1 or 0, if 1 additionally provides workspace info (with
metadata) for each Reads object in the Set
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path returned for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref (if ref_path_to_set is not given)
*/
typedef structure {
string ref;
boolean include_item_info;
boolean include_set_item_ref_paths;
list <string> ref_path_to_set;
} GetReadsSetV1Params;
typedef structure {
ReadsSet data;
Workspace.object_info info;
} GetReadsSetV1Result;
funcdef get_reads_set_v1(GetReadsSetV1Params params)
returns (GetReadsSetV1Result result) authentication optional;
/*
workspace_name or workspace_id - alternative options defining
target workspace,
output_object_name - workspace object name (this parameter is
used together with one of workspace params from above)
*/
typedef structure {
string workspace;
string output_object_name;
ReadsSet data;
} SaveReadsSetV1Params;
typedef structure {
string set_ref;
Workspace.object_info set_info;
} SaveReadsSetV1Result;
funcdef save_reads_set_v1(SaveReadsSetV1Params params)
returns (SaveReadsSetV1Result result) authentication required;
/* ******* Assembly SET METHODS ************ */
/* NOTE: data type explicitly copied from KBaseSets so type and
API can evolve independently */
/*
The workspace ID for an Assembly object.
@id ws KBaseGenomeAnnotations.Assembly
*/
typedef string ws_assembly_id;
/*
When saving an AssemblySet, only 'ref' is required.
You should never set 'info'. 'info' is provided optionally when fetching
the AssemblySet.
ref_path is optionally returned by get_assembly_set_v1()
when its input parameter 'include_set_item_ref_paths' is set to 1.
*/
typedef structure {
ws_assembly_id ref;
ws_assembly_id ref_path;
string label;
Workspace.object_info info;
} AssemblySetItem;
/*
@meta ws description as description
@meta ws length(items) as item_count
*/
typedef structure {
string description;
list<AssemblySetItem> items;
} AssemblySet;
/*
ref - workspace reference to AssemblyGroup object.
include_item_info - 1 or 0, if 1 additionally provides workspace info (with
metadata) for each Assembly object in the Set
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path returned for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref (if ref_path_to_set is not given)
*/
typedef structure {
string ref;
boolean include_item_info;
boolean include_set_item_ref_paths;
list <string> ref_path_to_set;
} GetAssemblySetV1Params;
typedef structure {
AssemblySet data;
Workspace.object_info info;
} GetAssemblySetV1Result;
funcdef get_assembly_set_v1(GetAssemblySetV1Params params)
returns (GetAssemblySetV1Result result) authentication optional;
/*
workspace_name or workspace_id - alternative options defining
target workspace,
output_object_name - workspace object name (this parameter is
used together with one of workspace params from above)
*/
typedef structure {
string workspace;
string output_object_name;
AssemblySet data;
} SaveAssemblySetV1Params;
typedef structure {
string set_ref;
Workspace.object_info set_info;
} SaveAssemblySetV1Result;
funcdef save_assembly_set_v1(SaveAssemblySetV1Params params)
returns (SaveAssemblySetV1Result result) authentication required;
/* ******* Genome SET METHODS ************ */
/* NOTE: data type explicitly copied from KBaseSets so type and
API can evolve independently */
/*
The workspace ID for a Genome object.
@id ws KBaseGenomes.Genome
*/
typedef string ws_genome_id;
/*
When saving an GenomeSet, only 'ref' is required.
You should never set 'info'. 'info' is provided optionally when fetching
the GenomeSet.
ref_path is optionally returned by get_genome_set_v1()
when its input parameter 'include_set_item_ref_paths' is set to 1.
*/
typedef structure {
ws_genome_id ref;
ws_genome_id ref_path;
string label;
Workspace.object_info info;
} GenomeSetItem;
/*
optional 'elements' is only used to save 'KBaseSearch.GenomeSet' type
@meta ws description as description
@meta ws length(items) as item_count
@option elements
*/
typedef structure {
string description;
list<GenomeSetItem> items;
mapping<string, GenomeSetItem> elements;
} GenomeSet;
/*
ref - workspace reference to GenomeGroup object.
include_item_info - 1 or 0, if 1 additionally provides workspace info (with
metadata) for each Genome object in the Set
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref
*/
typedef structure {
string ref;
boolean include_item_info;
boolean include_set_item_ref_paths;
list <string> ref_path_to_set;
} GetGenomeSetV1Params;
typedef structure {
GenomeSet data;
Workspace.object_info info;
} GetGenomeSetV1Result;
funcdef get_genome_set_v1(GetGenomeSetV1Params params)
returns (GetGenomeSetV1Result result) authentication optional;
/*
workspace_name or workspace_id - alternative options defining
target workspace,
output_object_name - workspace object name (this parameter is
used together with one of workspace params from above)
save_search_set - default 'False', save 'KBaseSets.GenomeSet' data type
if set 'True', save 'KBaseSearch.GenomeSet' data type
*/
typedef structure {
string workspace;
string output_object_name;
GenomeSet data;
boolean save_search_set;
} SaveGenomeSetV1Params;
typedef structure {
string set_ref;
Workspace.object_info set_info;
} SaveGenomeSetV1Result;
funcdef save_genome_set_v1(SaveGenomeSetV1Params params)
returns (SaveGenomeSetV1Result result) authentication required;
/* ******* Sample SET METHODS ************ */
typedef structure{
string ws_id;
string sampleset_id;
string sampleset_desc;
string domain;
string platform;
list<string> sample_ids;
list<string> condition;
string source;
string Library_type;
string publication_id;
string external_source_date;
string conditionset_ref;
mapping<string, string> sample_n_conditions;
} CreateRNASeqSampleSetParams;
typedef structure{
string set_ref;
Workspace.object_info set_info;
} CreateRNASeqSampleSetResult;
funcdef create_sample_set(CreateRNASeqSampleSetParams params)
returns(CreateRNASeqSampleSetResult) authentication required;
/*
KBaseSets.SampleSet Methods
column_sorting - tuple (column, ascending) - tuple of string, boolean where the former is the name of the column on which to sort, and the later is a boolean describing whether to sort ascending (true) or descending (false)
query - string query to search against all searchable fields
ref - string workspace reference of the sampleset object
sort_by - list of column_sorting in order of sorting, 0 index colum_sorting tuple highest level of sorting
start - default 0 - starting index for pagination
limit - default 10 - number of documents to retrieve starting from start pagination
*/
typedef tuple<string column, boolean ascending> column_sorting;
typedef structure {
string query;
string ref;
list<column_sorting> sort_by;
int start;
int limit;
} SampleSetToSamplesInfoParams;
typedef structure {
int num_found;
int start;
string query;
list<UnspecifiedObject> samples;
} SampleSetToSamplesInfoResult;
funcdef sample_set_to_samples_info(SampleSetToSamplesInfoParams params)
returns(SampleSetToSamplesInfoResult result) authentication required;
/* ******* Generic SET METHODS ************ */
/*
workspace - workspace name or ID (alternative to
workspaces parameter),
workspaces - list of workspace name ot ID (alternative to
workspace parameter),
include_metadata - flag for including metadata into Set object info
and into object info of items (it affects DP raw data as well),
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref
*/
typedef structure {
string workspace;
string workspaces;
boolean include_set_item_info;
boolean include_metadata;
boolean include_set_item_ref_paths;
} ListSetParams;
/*
ref_path is optionally returned by list_sets() and get_set_items(),
when the input parameter 'include_set_item_ref_paths' is set to 1.
*/
typedef structure {
ws_obj_id ref;
ws_obj_id ref_path;
Workspace.object_info info;
} SetItemInfo;
/*
ref - the workspace object ref for the set
info - the Workspace object_info tuple for the set
items - the SetItemInfo for each of the items in the set
*/
typedef structure {
ws_obj_id ref;
Workspace.object_info info;
list<SetItemInfo> items;
} SetInfo;
typedef structure {
list <SetInfo> sets;
} ListSetResult;
/* Use to get the top-level sets in a WS. Optionally can include
one level down members of those sets.
NOTE: DOES NOT PRESERVE ORDERING OF ITEM LIST IN DATA */
funcdef list_sets(ListSetParams params)
returns(ListSetResult result) authentication optional;
/*
include_set_item_ref_paths - 1 or 0, if 1, additionally provides ref_path for each item
in the set. The ref_path for each item is either
ref_path_to_set;item_ref (if ref_path_to_set is given) or
set_ref;item_ref
*/
typedef structure {
ws_obj_id ref;
list <ws_obj_id> ref_path_to_set;
} SetReference;
typedef structure {
list <SetReference> set_refs;
boolean include_set_item_ref_paths;
} GetSetItemsParams;
typedef structure {
list <SetInfo> sets;
} GetSetItemsResult;
/* Use to drill down into one or more sets, the position in the
return 'sets' list will match the position in the input ref list.
NOTE: DOES NOT PRESERVE ORDERING OF ITEM LIST IN DATA */
funcdef get_set_items(GetSetItemsParams params)
returns(GetSetItemsResult result) authentication optional;
};