@salesforce/lds-adapters-analytics-smart-data-discovery 0.1.0-dev1

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.
Files changed (41) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/analytics-smart-data-discovery.js +908 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getStories.d.ts +34 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -0
  7. package/dist/es/es2018/types/src/generated/resources/getSmartdatadiscoveryStories.d.ts +22 -0
  8. package/dist/es/es2018/types/src/generated/types/AbstractBucketingStrategyRepresentation.d.ts +35 -0
  9. package/dist/es/es2018/types/src/generated/types/AbstractClassificationThresholdRepresentation.d.ts +33 -0
  10. package/dist/es/es2018/types/src/generated/types/AbstractFieldConfigurationRepresentation.d.ts +50 -0
  11. package/dist/es/es2018/types/src/generated/types/AbstractStorySourceRepresentation.d.ts +34 -0
  12. package/dist/es/es2018/types/src/generated/types/AnalyticsDatasetSourceRepresentation.d.ts +32 -0
  13. package/dist/es/es2018/types/src/generated/types/AssetReferenceRepresentation.d.ts +26 -0
  14. package/dist/es/es2018/types/src/generated/types/AutopilotRepresentation.d.ts +28 -0
  15. package/dist/es/es2018/types/src/generated/types/BaseAssetReferenceRepresentation.d.ts +40 -0
  16. package/dist/es/es2018/types/src/generated/types/BinaryClassificationThresholdRepresentation.d.ts +30 -0
  17. package/dist/es/es2018/types/src/generated/types/DateFieldConfigurationRepresentation.d.ts +39 -0
  18. package/dist/es/es2018/types/src/generated/types/EvenWidthBucketingStrategyRepresentation.d.ts +30 -0
  19. package/dist/es/es2018/types/src/generated/types/ManualBucketingStrategyRepresentation.d.ts +30 -0
  20. package/dist/es/es2018/types/src/generated/types/NumericFieldConfigurationRepresentation.d.ts +43 -0
  21. package/dist/es/es2018/types/src/generated/types/PercentileBucketingStrategyRepresentation.d.ts +30 -0
  22. package/dist/es/es2018/types/src/generated/types/ReportSourceRepresentation.d.ts +34 -0
  23. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryCategoricalOutcomeRepresentation.d.ts +39 -0
  24. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryCountOutcomeRepresentation.d.ts +26 -0
  25. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryImputeStrategyRepresentation.d.ts +31 -0
  26. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryModelConfigurationRepresentation.d.ts +28 -0
  27. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryNumericOutcomeRepresentation.d.ts +42 -0
  28. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryOutcomeRepresentation.d.ts +39 -0
  29. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryTextOutcomeRepresentation.d.ts +42 -0
  30. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryUserRepresentation.d.ts +34 -0
  31. package/dist/es/es2018/types/src/generated/types/StoryCollectionRepresentation.d.ts +48 -0
  32. package/dist/es/es2018/types/src/generated/types/StoryRepresentation.d.ts +119 -0
  33. package/dist/es/es2018/types/src/generated/types/StoryVersionReferenceRepresentation.d.ts +34 -0
  34. package/dist/es/es2018/types/src/generated/types/TextFieldConfigurationRepresentation.d.ts +37 -0
  35. package/dist/es/es2018/types/src/generated/types/TextFieldValueConfigurationRepresentation.d.ts +31 -0
  36. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  37. package/package.json +63 -0
  38. package/sfdc/index.d.ts +1 -0
  39. package/sfdc/index.js +939 -0
  40. package/src/raml/api.raml +648 -0
  41. package/src/raml/luvio.raml +19 -0
@@ -0,0 +1,648 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '56.0'
6
+ mediaType: application/json
7
+ protocols:
8
+ - https
9
+ baseUri: /services/data/v66.0
10
+ securitySchemes:
11
+ OAuth2:
12
+ type: OAuth 2.0
13
+ settings:
14
+ authorizationUri: https://example.com/oauth/authorize
15
+ accessTokenUri: ''
16
+ authorizationGrants:
17
+ - implicit
18
+ annotationTypes:
19
+ oas-readOnly:
20
+ type: boolean
21
+ allowedTargets: TypeDeclaration
22
+ oas-collectionFormat:
23
+ type: string
24
+ oas-body-name:
25
+ type: string
26
+ allowedTargets: TypeDeclaration
27
+ types:
28
+ AbstractBucketingStrategyRepresentation:
29
+ description: Abstract bucketing strategy response.
30
+ discriminator: type
31
+ type: object
32
+ properties:
33
+ type:
34
+ description: Bucketing strategy.
35
+ type: string
36
+ enum:
37
+ - Even_Width
38
+ - Manual
39
+ - Percentile
40
+ AbstractClassificationThresholdRepresentation:
41
+ description: Base representation for classification threshold.
42
+ discriminator: type
43
+ type: object
44
+ properties:
45
+ type:
46
+ description: type of classification. for eg., Binary
47
+ type: string
48
+ enum:
49
+ - Binary
50
+ AbstractFieldConfigurationRepresentation:
51
+ description: Field configuration response.
52
+ discriminator: type
53
+ type: object
54
+ properties:
55
+ highCardinality:
56
+ description: Specifies if the field is a high cardinality field or not.
57
+ type: boolean
58
+ required: false # TODO Hand-rolled W-8253396
59
+ ignored:
60
+ description: Specifies if the field is ignored or not.
61
+ type: boolean
62
+ required: false # TODO Hand-rolled W-8253396
63
+ label:
64
+ description: Field display name
65
+ type: string
66
+ required: false # TODO Hand-rolled W-8253396
67
+ name:
68
+ description: Field developer name
69
+ type: string
70
+ sensitive:
71
+ description: Specifies if the field is sensitive or not.
72
+ type: boolean
73
+ required: false # TODO Hand-rolled W-8253396
74
+ type:
75
+ description: Field type.
76
+ type: string
77
+ enum:
78
+ - Boolean
79
+ - Date
80
+ - DateTime
81
+ - Number
82
+ - Text
83
+ AbstractStorySourceRepresentation:
84
+ description: Base representation for an analysis source.
85
+ discriminator: type
86
+ type: object
87
+ properties:
88
+ type:
89
+ description: source type of the analysis. for e.g. WaveDataset/Report
90
+ type: string
91
+ enum:
92
+ - AnalyticsDataset
93
+ - LiveDataset
94
+ - Report
95
+ AnalyticsDatasetSourceRepresentation:
96
+ description: Representation to identify an analytics dataset as analysis source.
97
+ discriminatorValue: AnalyticsDataset
98
+ type: AbstractStorySourceRepresentation
99
+ properties:
100
+ dataset:
101
+ description: dataset for an analysis source.
102
+ type: AssetReferenceRepresentation
103
+ datasetVersion:
104
+ description: dataset version for an analysis source.
105
+ type: AssetReferenceRepresentation
106
+ AssetReferenceRepresentation:
107
+ description: Asset reference representation.
108
+ type: BaseAssetReferenceRepresentation
109
+ properties: {}
110
+ AutopilotRepresentation:
111
+ description: Autopilot setup response.
112
+ type: object
113
+ properties:
114
+ enabled:
115
+ description: Specifies if autopilot is enabled or not.
116
+ type: boolean
117
+ BaseAssetReferenceRepresentation:
118
+ description: Base asset reference representation.
119
+ type: object
120
+ discriminator: id # TODO: Hand-rolled
121
+ properties:
122
+ id:
123
+ description: The 18 character ID of the asset.
124
+ type: string
125
+ label:
126
+ description: The asset label.
127
+ type: string
128
+ required: false # TODO Hand-rolled W-8253396
129
+ name:
130
+ description: The asset developer name.
131
+ type: string
132
+ required: false # TODO Hand-rolled W-8253396
133
+ namespace:
134
+ description: The namespace that qualifies the asset name
135
+ type: string
136
+ required: false # TODO Hand-rolled W-8253396
137
+ url:
138
+ description: The asset URL.
139
+ type: string
140
+ required: false # TODO Hand-rolled W-8253396
141
+ BinaryClassificationThresholdRepresentation:
142
+ description: Representation to identify classification threshold as binary..
143
+ discriminatorValue: Binary
144
+ type: AbstractClassificationThresholdRepresentation
145
+ properties:
146
+ value:
147
+ description: dataset for an analysis source.
148
+ format: double
149
+ type: number
150
+ DateFieldConfigurationRepresentation:
151
+ description: Date field configuration response.
152
+ discriminatorValue: date
153
+ type: AbstractFieldConfigurationRepresentation
154
+ properties:
155
+ interval:
156
+ description: Returns date interval for date field.
157
+ type: string
158
+ enum:
159
+ - Auto
160
+ - Day
161
+ - Month
162
+ - None
163
+ - Quarter
164
+ - Year
165
+ max:
166
+ description: Returns max date value of the field.
167
+ type: string
168
+ required: false # TODO Hand-rolled W-8253396
169
+ min:
170
+ description: Returns min date value of the field.
171
+ type: string
172
+ required: false # TODO Hand-rolled W-8253396
173
+ periodicIntervals:
174
+ description: Returns list of periodic date intervals for date field.
175
+ type: array
176
+ items:
177
+ type: string
178
+ enum:
179
+ - Day_of_week
180
+ - Month_of_year
181
+ - Quarter_of_year
182
+ required: false # TODO Hand-rolled W-8253396
183
+ EvenWidthBucketingStrategyRepresentation:
184
+ description: Even-width bucketing strategy response
185
+ discriminatorValue: EVEN_WIDTH
186
+ type: AbstractBucketingStrategyRepresentation
187
+ properties:
188
+ numberOfBuckets:
189
+ description: Number of buckets for a numeric field
190
+ type: integer
191
+ ManualBucketingStrategyRepresentation:
192
+ description: Manual bucketing strategy response.
193
+ discriminatorValue: MANUAL
194
+ type: AbstractBucketingStrategyRepresentation
195
+ properties:
196
+ cutoffs:
197
+ description: List of manual buckets
198
+ type: array
199
+ items:
200
+ format: double
201
+ type: number
202
+ NumericFieldConfigurationRepresentation:
203
+ description: Numeric field configuration response.
204
+ discriminatorValue: number
205
+ type: AbstractFieldConfigurationRepresentation
206
+ properties:
207
+ bucketingStrategy:
208
+ description: Bucketing strategy for numeric field.
209
+ type: AbstractBucketingStrategyRepresentation
210
+ required: false # TODO Hand-rolled W-8253396
211
+ imputeStrategy:
212
+ description: Impute strategy for numeric field.
213
+ type: SmartDataDiscoveryImputeStrategyRepresentation
214
+ required: false # TODO Hand-rolled W-8253396
215
+ max:
216
+ description: Maximum value of numeric field.
217
+ format: double
218
+ type: number
219
+ required: false # TODO Hand-rolled W-8253396
220
+ min:
221
+ description: Minimum value of numeric field.
222
+ format: double
223
+ type: number
224
+ required: false # TODO Hand-rolled W-8253396
225
+ PercentileBucketingStrategyRepresentation:
226
+ description: Percentile bucketing strategy response
227
+ discriminatorValue: PERCENTILE
228
+ type: AbstractBucketingStrategyRepresentation
229
+ properties:
230
+ numberOfBuckets:
231
+ description: Number of buckets for a numeric field
232
+ type: integer
233
+ ReportSourceRepresentation:
234
+ description: Representation to identify an analytics report as analysis source.
235
+ discriminatorValue: Report
236
+ type: AbstractStorySourceRepresentation
237
+ properties:
238
+ report:
239
+ description: report for an analysis source.
240
+ type: AssetReferenceRepresentation
241
+ reportInstance:
242
+ description: report instance for an analysis source.
243
+ type: AssetReferenceRepresentation
244
+ SmartDataDiscoveryCategoricalOutcomeRepresentation:
245
+ description: Representation for analysis outcome of type Categorical field.
246
+ discriminatorValue: Categorical
247
+ type: SmartDataDiscoveryOutcomeRepresentation
248
+ properties:
249
+ goal:
250
+ description: Indicates whether analysis maximizes or minimizes the field value.
251
+ type: string
252
+ enum:
253
+ - Maximize
254
+ - Minimize
255
+ - None
256
+ required: false # TODO Hand-rolled W-8253396
257
+ label:
258
+ description: Display name for outcome field.
259
+ type: string
260
+ required: false # TODO Hand-rolled W-8253396
261
+ name:
262
+ description: Name of field.
263
+ type: string
264
+ targetVariables:
265
+ description: target categorical values for the field.
266
+ type: array
267
+ items:
268
+ type: string
269
+ required: false # TODO Hand-rolled W-8253396
270
+ SmartDataDiscoveryCountOutcomeRepresentation:
271
+ description: Representation for analysis outcome of type Count.
272
+ discriminatorValue: Count
273
+ type: SmartDataDiscoveryOutcomeRepresentation
274
+ properties: {}
275
+ SmartDataDiscoveryImputeStrategyRepresentation:
276
+ description: Text field value configuration response.
277
+ type: object
278
+ properties:
279
+ groupByFieldName:
280
+ description: Group by field name
281
+ type: string
282
+ required: false # TODO Hand-rolled W-8253396
283
+ method:
284
+ description: Impute method
285
+ type: string
286
+ enum:
287
+ - Mean
288
+ - Median
289
+ - Mode
290
+ - None
291
+ required: false # TODO Hand-rolled W-8253396
292
+ SmartDataDiscoveryModelConfigurationRepresentation:
293
+ description: Model configuration response.
294
+ type: object
295
+ properties:
296
+ algorithmType:
297
+ description: Model algorithm type.
298
+ type: string
299
+ enum:
300
+ - Drf
301
+ - Gbm
302
+ - Glm
303
+ - Xgboost
304
+ required: false # TODO Hand-rolled W-8253396
305
+ SmartDataDiscoveryNumericOutcomeRepresentation:
306
+ description: Representation for analysis outcome of type Numeric field.
307
+ discriminatorValue: Number
308
+ type: SmartDataDiscoveryOutcomeRepresentation
309
+ properties:
310
+ goal:
311
+ description: Indicates whether analysis maximizes or minimizes the field value.
312
+ type: string
313
+ enum:
314
+ - Maximize
315
+ - Minimize
316
+ - None
317
+ required: false # TODO Hand-rolled W-8253396
318
+ label:
319
+ description: Display name for outcome field.
320
+ type: string
321
+ required: false # TODO Hand-rolled W-8253396
322
+ name:
323
+ description: Name of field.
324
+ type: string
325
+ max:
326
+ description: Returns maximum value of numeric outcome field.
327
+ format: double
328
+ type: number
329
+ required: false # TODO Hand-rolled W-8253396
330
+ min:
331
+ description: Returns minimum value of numeric outcome field.
332
+ format: double
333
+ type: number
334
+ required: false # TODO Hand-rolled W-8253396
335
+ SmartDataDiscoveryOutcomeRepresentation:
336
+ description: Representation for analysis outcome.
337
+ discriminator: type
338
+ type: object
339
+ properties:
340
+ predictionType:
341
+ description: Analysis prediction type.
342
+ type: string
343
+ enum:
344
+ - Binary
345
+ - Count
346
+ - MultiClass
347
+ - None
348
+ - Numeric
349
+ required: false # TODO Hand-rolled W-8253396
350
+ type:
351
+ description: Type of analysis outcome (for eg. count, text, number).
352
+ type: string
353
+ enum:
354
+ - Categorical
355
+ - Count
356
+ - Number
357
+ - Text
358
+ SmartDataDiscoveryTextOutcomeRepresentation:
359
+ description: Representation for analysis outcome of type Text field.
360
+ discriminatorValue: Text
361
+ type: SmartDataDiscoveryOutcomeRepresentation
362
+ properties:
363
+ goal:
364
+ description: Indicates whether analysis maximizes or minimizes the field value.
365
+ type: string
366
+ enum:
367
+ - Maximize
368
+ - Minimize
369
+ - None
370
+ required: false # TODO Hand-rolled W-8253396
371
+ label:
372
+ description: Display name for outcome field.
373
+ type: string
374
+ required: false # TODO Hand-rolled W-8253396
375
+ name:
376
+ description: Name of field.
377
+ type: string
378
+ failureValue:
379
+ description: Failure value for the field.
380
+ type: string
381
+ required: false # TODO Hand-rolled W-8253396
382
+ successValue:
383
+ description: Success value for the field.
384
+ type: string
385
+ required: false # TODO Hand-rolled W-8253396
386
+ SmartDataDiscoveryUserRepresentation:
387
+ description: Information about a user.
388
+ type: object
389
+ properties:
390
+ id:
391
+ description: The 18 character user ID.
392
+ type: string
393
+ name:
394
+ description: The name of the user.
395
+ type: string
396
+ profilePhotoUrl:
397
+ description: The Chatter profile photo of the user.
398
+ type: string
399
+ StoryCollectionRepresentation:
400
+ description: Colection of story configuration and results.
401
+ type: object
402
+ properties:
403
+ nextPageUrl:
404
+ description: URL for the next page of contents in the collection.
405
+ type: string
406
+ required: false # TODO Hand-rolled W-8253396
407
+ stories:
408
+ description: Discovery story collection.
409
+ type: array
410
+ items:
411
+ type: StoryRepresentation
412
+ totalSize:
413
+ description: Total count of the elements in the collection.
414
+ type: integer
415
+ url:
416
+ description: URL for the collection.
417
+ type: string
418
+ StoryRepresentation:
419
+ description: Details of a story configuration and results.
420
+ type: object
421
+ properties:
422
+ autopilot:
423
+ description: Autopilot settings.
424
+ type: AutopilotRepresentation
425
+ required: false # TODO Hand-rolled W-8253396
426
+ classificationThreshold:
427
+ description: Threshold for classification predictions.
428
+ type: AbstractClassificationThresholdRepresentation
429
+ required: false # TODO Hand-rolled W-8253396
430
+ createdBy:
431
+ description: User who created the story.
432
+ type: SmartDataDiscoveryUserRepresentation
433
+ required: false # TODO Hand-rolled W-8253396
434
+ createdDate:
435
+ description: Date when the story was created.
436
+ type: string
437
+ required: false # TODO Hand-rolled W-8253396
438
+ errorCode:
439
+ description: Diagnostic error code for the story.
440
+ type: integer
441
+ required: false # TODO Hand-rolled W-8253396
442
+ fields:
443
+ description: Fields configuration
444
+ type: array
445
+ items:
446
+ type: AbstractFieldConfigurationRepresentation
447
+ folder:
448
+ description: Folder containing this story.
449
+ type: AssetReferenceRepresentation
450
+ required: false # TODO Hand-rolled W-8253396
451
+ historiesUrl:
452
+ description: The URL for the histories associated with the story.
453
+ type: string
454
+ required: false # TODO Hand-rolled W-8253396
455
+ id:
456
+ description: ID of the discovery story.
457
+ type: string
458
+ input:
459
+ description: Input data for the story.
460
+ type: AbstractStorySourceRepresentation
461
+ required: false # TODO Hand-rolled W-8253396
462
+ inputProfile:
463
+ description: Statistical summary of the input data
464
+ type: AssetReferenceRepresentation
465
+ required: false # TODO Hand-rolled W-8253396
466
+ label:
467
+ description: Name of the story.
468
+ type: string
469
+ required: false # TODO Hand-rolled W-8253396
470
+ lastModifiedBy:
471
+ description: User who last modified the story.
472
+ type: SmartDataDiscoveryUserRepresentation
473
+ required: false # TODO Hand-rolled W-8253396
474
+ lastModifiedDate:
475
+ description: Date when the story was last modified.
476
+ type: string
477
+ required: false # TODO Hand-rolled W-8253396
478
+ lastSuccessfulVersion:
479
+ description: The most recent successful version of the story.
480
+ type: StoryVersionReferenceRepresentation
481
+ required: false # TODO Hand-rolled W-8253396
482
+ message:
483
+ description: Informational message related to the story generation.
484
+ type: string
485
+ required: false # TODO Hand-rolled W-8253396
486
+ modelConfiguration:
487
+ description: Model configuration
488
+ type: SmartDataDiscoveryModelConfigurationRepresentation
489
+ required: false # TODO Hand-rolled W-8253396
490
+ name:
491
+ description: Developer name of the story.
492
+ type: string
493
+ required: false # TODO Hand-rolled W-8253396
494
+ namespace:
495
+ description: Namespace of the story.
496
+ type: string
497
+ required: false # TODO Hand-rolled W-8253396
498
+ outcome:
499
+ description: Selected outcome for generated story.
500
+ type: SmartDataDiscoveryOutcomeRepresentation
501
+ required: false # TODO Hand-rolled W-8253396
502
+ runId:
503
+ description: Run ID reference for fetching insights.
504
+ type: string
505
+ required: false # TODO Hand-rolled W-8253396
506
+ setup:
507
+ description: 'Story setup information including: names, action variables,
508
+ model settings, variables and outcomes.'
509
+ type: object
510
+ properties:
511
+ //:
512
+ type: any # TODO Hand-rolled W-8863405
513
+ required: false # TODO Hand-rolled W-8253396
514
+ status:
515
+ description: Current status of the story.
516
+ type: string
517
+ enum:
518
+ - Autopilot
519
+ - DoneDescriptive
520
+ - DoneFeatureEngineering
521
+ - DonePredictive
522
+ - Draft
523
+ - Failed
524
+ - Fetching
525
+ - InProgress
526
+ - Postprocessing
527
+ - Preprocessing
528
+ - Queued
529
+ - QueuedForFetching
530
+ - QueuedForPostprocessing
531
+ - RequestToDelete
532
+ - Resizing
533
+ - RunningDescriptive
534
+ - RunningFeatureEngineering
535
+ - RunningPredictive
536
+ - Success
537
+ - TimedOut
538
+ required: false # TODO Hand-rolled W-8253396
539
+ url:
540
+ description: URL to get this story.
541
+ type: string
542
+ StoryVersionReferenceRepresentation:
543
+ description: Story Version Reference Representation with basic information on
544
+ a Story Version.
545
+ type: object
546
+ properties:
547
+ createdDate:
548
+ description: Date when story version was created.
549
+ type: string
550
+ id:
551
+ description: The 18 character ID of the story version.
552
+ type: string
553
+ url:
554
+ description: URL to get the story version.
555
+ type: string
556
+ TextFieldValueConfigurationRepresentation:
557
+ description: Text field value configuration response.
558
+ type: object
559
+ properties:
560
+ label:
561
+ description: Field value label
562
+ type: string
563
+ required: false # TODO Hand-rolled W-8253396
564
+ name:
565
+ description: Field value name
566
+ type: string
567
+ TextFieldConfigurationRepresentation:
568
+ description: Text field configuration response.
569
+ discriminatorValue: text
570
+ type: AbstractFieldConfigurationRepresentation
571
+ properties:
572
+ includeOther:
573
+ description: Indicates whether or not values that do not match any of the
574
+ specified values should be grouped into "other".
575
+ type: boolean
576
+ required: false # TODO Hand-rolled W-8253396
577
+ ordering:
578
+ description: Strategy for ordering values of the field
579
+ type: string
580
+ enum:
581
+ - Alphabetical
582
+ - Numeric
583
+ - Occurrence
584
+ required: false # TODO Hand-rolled W-8253396
585
+ values:
586
+ description: List of values of the field.
587
+ type: array
588
+ items:
589
+ type: TextFieldValueConfigurationRepresentation
590
+ required: false # TODO Hand-rolled W-8253396
591
+
592
+ /smartdatadiscovery:
593
+ /stories:
594
+ get:
595
+ description: Get Discovery Stories.
596
+ responses:
597
+ '200':
598
+ description: Success
599
+ body:
600
+ application/json:
601
+ type: StoryCollectionRepresentation
602
+ queryParameters:
603
+ folderId:
604
+ description: Folder ID query parameter
605
+ type: string
606
+ required: false
607
+ inputId:
608
+ description: Input ID query parameter
609
+ type: string
610
+ required: false
611
+ page:
612
+ description: Page query parameter
613
+ type: string
614
+ required: false
615
+ pageSize:
616
+ description: Page size parameter
617
+ type: integer
618
+ required: false
619
+ q:
620
+ description: Search Parameter
621
+ type: string
622
+ required: false
623
+ scope:
624
+ description: Scope query parameter
625
+ type: string
626
+ required: false
627
+ enum:
628
+ - CreatedByMe
629
+ - SharedWithMe
630
+ sourceType:
631
+ description: Source Type query parameter
632
+ type: string
633
+ required: false
634
+ enum:
635
+ - AnalyticsDataset
636
+ - LiveDataset
637
+ - Report
638
+ sourceTypes:
639
+ description: Source Types query parameter
640
+ type: array
641
+ required: false
642
+ items:
643
+ type: string
644
+ enum:
645
+ - AnalyticsDataset
646
+ - LiveDataset
647
+ - Report
648
+ (oas-collectionFormat): csv
@@ -0,0 +1,19 @@
1
+ #%RAML 1.0 Overlay
2
+ extends: ./api.raml
3
+
4
+ uses:
5
+ luvio: luvio://annotations.raml
6
+
7
+ (luvio.keyPrefix): 'smart-data-discovery'
8
+
9
+ types:
10
+ StoryCollectionRepresentation:
11
+ (luvio.ttl): 300
12
+ StoryRepresentation:
13
+ (luvio.opaque): true
14
+
15
+ /smartdatadiscovery:
16
+ /stories:
17
+ get:
18
+ (luvio.adapter):
19
+ name: getStories