@corva/ui 3.57.0-5 → 3.57.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/mcp-server/server.mjs +652 -42
- package/package.json +1 -1
package/mcp-server/server.mjs
CHANGED
|
@@ -228,7 +228,7 @@ const validateDsn = (dsn) => {
|
|
|
228
228
|
|
|
229
229
|
const MCP_SERVER_VERSION = '1.1.0';
|
|
230
230
|
|
|
231
|
-
var version = "3.57.0
|
|
231
|
+
var version = "3.57.0";
|
|
232
232
|
|
|
233
233
|
const CORVA_UI_VERSION = version;
|
|
234
234
|
|
|
@@ -75697,6 +75697,13 @@ var clientsData = [
|
|
|
75697
75697
|
"list",
|
|
75698
75698
|
"aggregate",
|
|
75699
75699
|
"pipeline",
|
|
75700
|
+
"aggregate_summary",
|
|
75701
|
+
"summary",
|
|
75702
|
+
"return",
|
|
75703
|
+
"source",
|
|
75704
|
+
"collection",
|
|
75705
|
+
"upsert",
|
|
75706
|
+
"target",
|
|
75700
75707
|
"batch_update",
|
|
75701
75708
|
"batch",
|
|
75702
75709
|
"update",
|
|
@@ -75721,7 +75728,11 @@ var clientsData = [
|
|
|
75721
75728
|
"key",
|
|
75722
75729
|
"subscriptions",
|
|
75723
75730
|
"publish",
|
|
75724
|
-
"asset"
|
|
75731
|
+
"asset",
|
|
75732
|
+
"legacy-data",
|
|
75733
|
+
"legacy",
|
|
75734
|
+
"without",
|
|
75735
|
+
"show"
|
|
75725
75736
|
],
|
|
75726
75737
|
endpoints: [
|
|
75727
75738
|
{
|
|
@@ -76188,6 +76199,93 @@ var clientsData = [
|
|
|
76188
76199
|
}
|
|
76189
76200
|
}
|
|
76190
76201
|
},
|
|
76202
|
+
{
|
|
76203
|
+
path: "/api/v1/data/{provider}/{source_collection}/aggregate_summary/",
|
|
76204
|
+
method: "POST",
|
|
76205
|
+
operationId: "aggregate_summary_return_api_v1_data__provider___source_collection__aggregate_summary__post",
|
|
76206
|
+
summary: "Aggregate summary data by intervals and return results",
|
|
76207
|
+
tags: [
|
|
76208
|
+
"data"
|
|
76209
|
+
],
|
|
76210
|
+
parameters: [
|
|
76211
|
+
{
|
|
76212
|
+
name: "provider",
|
|
76213
|
+
"in": "path",
|
|
76214
|
+
type: "string",
|
|
76215
|
+
required: true,
|
|
76216
|
+
description: ""
|
|
76217
|
+
},
|
|
76218
|
+
{
|
|
76219
|
+
name: "source_collection",
|
|
76220
|
+
"in": "path",
|
|
76221
|
+
type: "string",
|
|
76222
|
+
required: true,
|
|
76223
|
+
description: ""
|
|
76224
|
+
}
|
|
76225
|
+
],
|
|
76226
|
+
requestBody: {
|
|
76227
|
+
contentType: "application/json",
|
|
76228
|
+
schema: "{ match_field: string, operations: \"median\" | \"avg\" | \"min\" | \"max\"[], intervals: { start: number, end: number }[], asset_id: number, exclude_data_fields: string[] }",
|
|
76229
|
+
required: true
|
|
76230
|
+
},
|
|
76231
|
+
responses: {
|
|
76232
|
+
"200": {
|
|
76233
|
+
description: "Successful Response",
|
|
76234
|
+
schema: "object[]"
|
|
76235
|
+
},
|
|
76236
|
+
"422": {
|
|
76237
|
+
description: "Validation Error",
|
|
76238
|
+
schema: "{ code: number, message: string }"
|
|
76239
|
+
}
|
|
76240
|
+
}
|
|
76241
|
+
},
|
|
76242
|
+
{
|
|
76243
|
+
path: "/api/v1/data/{provider}/{source_collection}/aggregate_summary/{target_collection}/",
|
|
76244
|
+
method: "POST",
|
|
76245
|
+
operationId: "aggregate_summary_upsert_api_v1_data__provider___source_collection__aggregate_summary__target_collection___post",
|
|
76246
|
+
summary: "Aggregate summary data by intervals and upsert results into target collection",
|
|
76247
|
+
tags: [
|
|
76248
|
+
"data"
|
|
76249
|
+
],
|
|
76250
|
+
parameters: [
|
|
76251
|
+
{
|
|
76252
|
+
name: "provider",
|
|
76253
|
+
"in": "path",
|
|
76254
|
+
type: "string",
|
|
76255
|
+
required: true,
|
|
76256
|
+
description: ""
|
|
76257
|
+
},
|
|
76258
|
+
{
|
|
76259
|
+
name: "source_collection",
|
|
76260
|
+
"in": "path",
|
|
76261
|
+
type: "string",
|
|
76262
|
+
required: true,
|
|
76263
|
+
description: ""
|
|
76264
|
+
},
|
|
76265
|
+
{
|
|
76266
|
+
name: "target_collection",
|
|
76267
|
+
"in": "path",
|
|
76268
|
+
type: "string",
|
|
76269
|
+
required: true,
|
|
76270
|
+
description: ""
|
|
76271
|
+
}
|
|
76272
|
+
],
|
|
76273
|
+
requestBody: {
|
|
76274
|
+
contentType: "application/json",
|
|
76275
|
+
schema: "{ match_field: string, operations: \"median\" | \"avg\" | \"min\" | \"max\"[], intervals: { start: number, end: number }[], asset_id: number, exclude_data_fields: string[], ... }",
|
|
76276
|
+
required: true
|
|
76277
|
+
},
|
|
76278
|
+
responses: {
|
|
76279
|
+
"200": {
|
|
76280
|
+
description: "Successful Response",
|
|
76281
|
+
schema: "object[]"
|
|
76282
|
+
},
|
|
76283
|
+
"422": {
|
|
76284
|
+
description: "Validation Error",
|
|
76285
|
+
schema: "{ code: number, message: string }"
|
|
76286
|
+
}
|
|
76287
|
+
}
|
|
76288
|
+
},
|
|
76191
76289
|
{
|
|
76192
76290
|
path: "/api/v1/data/{provider}/{dataset}/batch_update/",
|
|
76193
76291
|
method: "PATCH",
|
|
@@ -77066,6 +77164,212 @@ var clientsData = [
|
|
|
77066
77164
|
schema: "{ code: number, message: string }"
|
|
77067
77165
|
}
|
|
77068
77166
|
}
|
|
77167
|
+
},
|
|
77168
|
+
{
|
|
77169
|
+
path: "/api/legacy/v1/data",
|
|
77170
|
+
method: "GET",
|
|
77171
|
+
operationId: "index_without_provider_api_legacy_v1_data_get",
|
|
77172
|
+
summary: "Index Without Provider",
|
|
77173
|
+
tags: [
|
|
77174
|
+
"legacy-data"
|
|
77175
|
+
],
|
|
77176
|
+
parameters: [
|
|
77177
|
+
],
|
|
77178
|
+
responses: {
|
|
77179
|
+
"200": {
|
|
77180
|
+
description: "Successful Response",
|
|
77181
|
+
schema: "any"
|
|
77182
|
+
}
|
|
77183
|
+
}
|
|
77184
|
+
},
|
|
77185
|
+
{
|
|
77186
|
+
path: "/api/legacy/v1/data/{provider}",
|
|
77187
|
+
method: "GET",
|
|
77188
|
+
operationId: "index_without_dataset_api_legacy_v1_data__provider__get",
|
|
77189
|
+
summary: "Index Without Dataset",
|
|
77190
|
+
tags: [
|
|
77191
|
+
"legacy-data"
|
|
77192
|
+
],
|
|
77193
|
+
parameters: [
|
|
77194
|
+
{
|
|
77195
|
+
name: "provider",
|
|
77196
|
+
"in": "path",
|
|
77197
|
+
type: "string",
|
|
77198
|
+
required: true,
|
|
77199
|
+
description: ""
|
|
77200
|
+
}
|
|
77201
|
+
],
|
|
77202
|
+
responses: {
|
|
77203
|
+
"200": {
|
|
77204
|
+
description: "Successful Response",
|
|
77205
|
+
schema: "any"
|
|
77206
|
+
},
|
|
77207
|
+
"422": {
|
|
77208
|
+
description: "Validation Error",
|
|
77209
|
+
schema: "{ code: number, message: string }"
|
|
77210
|
+
}
|
|
77211
|
+
}
|
|
77212
|
+
},
|
|
77213
|
+
{
|
|
77214
|
+
path: "/api/legacy/v1/data/{provider}/{dataset}",
|
|
77215
|
+
method: "GET",
|
|
77216
|
+
operationId: "index_api_legacy_v1_data__provider___dataset__get",
|
|
77217
|
+
summary: "Index",
|
|
77218
|
+
tags: [
|
|
77219
|
+
"legacy-data"
|
|
77220
|
+
],
|
|
77221
|
+
parameters: [
|
|
77222
|
+
{
|
|
77223
|
+
name: "provider",
|
|
77224
|
+
"in": "path",
|
|
77225
|
+
type: "string",
|
|
77226
|
+
required: true,
|
|
77227
|
+
description: ""
|
|
77228
|
+
},
|
|
77229
|
+
{
|
|
77230
|
+
name: "dataset",
|
|
77231
|
+
"in": "path",
|
|
77232
|
+
type: "string",
|
|
77233
|
+
required: true,
|
|
77234
|
+
description: ""
|
|
77235
|
+
}
|
|
77236
|
+
],
|
|
77237
|
+
responses: {
|
|
77238
|
+
"200": {
|
|
77239
|
+
description: "Successful Response",
|
|
77240
|
+
schema: "any"
|
|
77241
|
+
},
|
|
77242
|
+
"422": {
|
|
77243
|
+
description: "Validation Error",
|
|
77244
|
+
schema: "{ code: number, message: string }"
|
|
77245
|
+
}
|
|
77246
|
+
}
|
|
77247
|
+
},
|
|
77248
|
+
{
|
|
77249
|
+
path: "/api/legacy/v1/data/{provider}/{dataset}/{id}",
|
|
77250
|
+
method: "GET",
|
|
77251
|
+
operationId: "show_api_legacy_v1_data__provider___dataset___id__get",
|
|
77252
|
+
summary: "Show",
|
|
77253
|
+
tags: [
|
|
77254
|
+
"legacy-data"
|
|
77255
|
+
],
|
|
77256
|
+
parameters: [
|
|
77257
|
+
{
|
|
77258
|
+
name: "provider",
|
|
77259
|
+
"in": "path",
|
|
77260
|
+
type: "string",
|
|
77261
|
+
required: true,
|
|
77262
|
+
description: ""
|
|
77263
|
+
},
|
|
77264
|
+
{
|
|
77265
|
+
name: "dataset",
|
|
77266
|
+
"in": "path",
|
|
77267
|
+
type: "string",
|
|
77268
|
+
required: true,
|
|
77269
|
+
description: ""
|
|
77270
|
+
},
|
|
77271
|
+
{
|
|
77272
|
+
name: "id",
|
|
77273
|
+
"in": "path",
|
|
77274
|
+
type: "string",
|
|
77275
|
+
required: true,
|
|
77276
|
+
description: ""
|
|
77277
|
+
}
|
|
77278
|
+
],
|
|
77279
|
+
responses: {
|
|
77280
|
+
"200": {
|
|
77281
|
+
description: "Successful Response",
|
|
77282
|
+
schema: "any"
|
|
77283
|
+
},
|
|
77284
|
+
"422": {
|
|
77285
|
+
description: "Validation Error",
|
|
77286
|
+
schema: "{ code: number, message: string }"
|
|
77287
|
+
}
|
|
77288
|
+
}
|
|
77289
|
+
},
|
|
77290
|
+
{
|
|
77291
|
+
path: "/api/legacy/v1/data/{provider}/{dataset}/{id}",
|
|
77292
|
+
method: "PUT",
|
|
77293
|
+
operationId: "put_api_legacy_v1_data__provider___dataset___id__put",
|
|
77294
|
+
summary: "Put",
|
|
77295
|
+
tags: [
|
|
77296
|
+
"legacy-data"
|
|
77297
|
+
],
|
|
77298
|
+
parameters: [
|
|
77299
|
+
{
|
|
77300
|
+
name: "provider",
|
|
77301
|
+
"in": "path",
|
|
77302
|
+
type: "string",
|
|
77303
|
+
required: true,
|
|
77304
|
+
description: ""
|
|
77305
|
+
},
|
|
77306
|
+
{
|
|
77307
|
+
name: "dataset",
|
|
77308
|
+
"in": "path",
|
|
77309
|
+
type: "string",
|
|
77310
|
+
required: true,
|
|
77311
|
+
description: ""
|
|
77312
|
+
},
|
|
77313
|
+
{
|
|
77314
|
+
name: "id",
|
|
77315
|
+
"in": "path",
|
|
77316
|
+
type: "string",
|
|
77317
|
+
required: true,
|
|
77318
|
+
description: ""
|
|
77319
|
+
}
|
|
77320
|
+
],
|
|
77321
|
+
responses: {
|
|
77322
|
+
"200": {
|
|
77323
|
+
description: "Successful Response",
|
|
77324
|
+
schema: "any"
|
|
77325
|
+
},
|
|
77326
|
+
"422": {
|
|
77327
|
+
description: "Validation Error",
|
|
77328
|
+
schema: "{ code: number, message: string }"
|
|
77329
|
+
}
|
|
77330
|
+
}
|
|
77331
|
+
},
|
|
77332
|
+
{
|
|
77333
|
+
path: "/api/legacy/v1/data/{provider}/{dataset}/{id}",
|
|
77334
|
+
method: "PATCH",
|
|
77335
|
+
operationId: "patch_api_legacy_v1_data__provider___dataset___id__patch",
|
|
77336
|
+
summary: "Patch",
|
|
77337
|
+
tags: [
|
|
77338
|
+
"legacy-data"
|
|
77339
|
+
],
|
|
77340
|
+
parameters: [
|
|
77341
|
+
{
|
|
77342
|
+
name: "provider",
|
|
77343
|
+
"in": "path",
|
|
77344
|
+
type: "string",
|
|
77345
|
+
required: true,
|
|
77346
|
+
description: ""
|
|
77347
|
+
},
|
|
77348
|
+
{
|
|
77349
|
+
name: "dataset",
|
|
77350
|
+
"in": "path",
|
|
77351
|
+
type: "string",
|
|
77352
|
+
required: true,
|
|
77353
|
+
description: ""
|
|
77354
|
+
},
|
|
77355
|
+
{
|
|
77356
|
+
name: "id",
|
|
77357
|
+
"in": "path",
|
|
77358
|
+
type: "string",
|
|
77359
|
+
required: true,
|
|
77360
|
+
description: ""
|
|
77361
|
+
}
|
|
77362
|
+
],
|
|
77363
|
+
responses: {
|
|
77364
|
+
"200": {
|
|
77365
|
+
description: "Successful Response",
|
|
77366
|
+
schema: "any"
|
|
77367
|
+
},
|
|
77368
|
+
"422": {
|
|
77369
|
+
description: "Validation Error",
|
|
77370
|
+
schema: "{ code: number, message: string }"
|
|
77371
|
+
}
|
|
77372
|
+
}
|
|
77069
77373
|
}
|
|
77070
77374
|
],
|
|
77071
77375
|
endpointsByTag: {
|
|
@@ -77618,13 +77922,93 @@ var clientsData = [
|
|
|
77618
77922
|
],
|
|
77619
77923
|
requestBody: {
|
|
77620
77924
|
contentType: "application/json",
|
|
77621
|
-
schema: "{ stages: object[] }",
|
|
77622
|
-
required: true
|
|
77925
|
+
schema: "{ stages: object[] }",
|
|
77926
|
+
required: true
|
|
77927
|
+
},
|
|
77928
|
+
responses: {
|
|
77929
|
+
"200": {
|
|
77930
|
+
description: "Successful Response",
|
|
77931
|
+
schema: "object[]"
|
|
77932
|
+
},
|
|
77933
|
+
"422": {
|
|
77934
|
+
description: "Validation Error",
|
|
77935
|
+
schema: "{ code: number, message: string }"
|
|
77936
|
+
}
|
|
77937
|
+
}
|
|
77938
|
+
},
|
|
77939
|
+
{
|
|
77940
|
+
path: "/api/v1/data/{provider}/{dataset}/batch_update_with_object/",
|
|
77941
|
+
method: "PATCH",
|
|
77942
|
+
operationId: "batch_update_with_object_api_v1_data__provider___dataset__batch_update_with_object__patch",
|
|
77943
|
+
summary: "Batch Document Update with single object value",
|
|
77944
|
+
tags: [
|
|
77945
|
+
"data"
|
|
77946
|
+
],
|
|
77947
|
+
parameters: [
|
|
77948
|
+
{
|
|
77949
|
+
name: "provider",
|
|
77950
|
+
"in": "path",
|
|
77951
|
+
type: "string",
|
|
77952
|
+
required: true,
|
|
77953
|
+
description: ""
|
|
77954
|
+
},
|
|
77955
|
+
{
|
|
77956
|
+
name: "dataset",
|
|
77957
|
+
"in": "path",
|
|
77958
|
+
type: "string",
|
|
77959
|
+
required: true,
|
|
77960
|
+
description: ""
|
|
77961
|
+
}
|
|
77962
|
+
],
|
|
77963
|
+
requestBody: {
|
|
77964
|
+
contentType: "application/json",
|
|
77965
|
+
schema: "{ data: { company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }, query: string, limit: number, batch: number, sort: { sort: object } }",
|
|
77966
|
+
required: true
|
|
77967
|
+
},
|
|
77968
|
+
responses: {
|
|
77969
|
+
"200": {
|
|
77970
|
+
description: "Successful Response",
|
|
77971
|
+
schema: "{ updated_count: number }"
|
|
77972
|
+
},
|
|
77973
|
+
"422": {
|
|
77974
|
+
description: "Validation Error",
|
|
77975
|
+
schema: "{ code: number, message: string }"
|
|
77976
|
+
}
|
|
77977
|
+
}
|
|
77978
|
+
},
|
|
77979
|
+
{
|
|
77980
|
+
path: "/api/v1/data/{provider}/{dataset}/batch_update/",
|
|
77981
|
+
method: "PATCH",
|
|
77982
|
+
operationId: "batch_update_api_v1_data__provider___dataset__batch_update__patch",
|
|
77983
|
+
summary: "Batch Document Update",
|
|
77984
|
+
tags: [
|
|
77985
|
+
"data"
|
|
77986
|
+
],
|
|
77987
|
+
parameters: [
|
|
77988
|
+
{
|
|
77989
|
+
name: "provider",
|
|
77990
|
+
"in": "path",
|
|
77991
|
+
type: "string",
|
|
77992
|
+
required: true,
|
|
77993
|
+
description: ""
|
|
77994
|
+
},
|
|
77995
|
+
{
|
|
77996
|
+
name: "dataset",
|
|
77997
|
+
"in": "path",
|
|
77998
|
+
type: "string",
|
|
77999
|
+
required: true,
|
|
78000
|
+
description: ""
|
|
78001
|
+
}
|
|
78002
|
+
],
|
|
78003
|
+
requestBody: {
|
|
78004
|
+
contentType: "application/json",
|
|
78005
|
+
schema: "{ company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number | null, ... }[]",
|
|
78006
|
+
required: false
|
|
77623
78007
|
},
|
|
77624
78008
|
responses: {
|
|
77625
78009
|
"200": {
|
|
77626
78010
|
description: "Successful Response",
|
|
77627
|
-
schema: "
|
|
78011
|
+
schema: "{ _id: string | null, company_id: number | null, asset_id: number | null, version: number, provider: string, ... }[]"
|
|
77628
78012
|
},
|
|
77629
78013
|
"422": {
|
|
77630
78014
|
description: "Validation Error",
|
|
@@ -77633,10 +78017,10 @@ var clientsData = [
|
|
|
77633
78017
|
}
|
|
77634
78018
|
},
|
|
77635
78019
|
{
|
|
77636
|
-
path: "/api/v1/data/{provider}/{dataset}/
|
|
77637
|
-
method: "
|
|
77638
|
-
operationId: "
|
|
77639
|
-
summary: "
|
|
78020
|
+
path: "/api/v1/data/{provider}/{dataset}/count/",
|
|
78021
|
+
method: "GET",
|
|
78022
|
+
operationId: "count_api_v1_data__provider___dataset__count__get",
|
|
78023
|
+
summary: "Count Data",
|
|
77640
78024
|
tags: [
|
|
77641
78025
|
"data"
|
|
77642
78026
|
],
|
|
@@ -77654,17 +78038,19 @@ var clientsData = [
|
|
|
77654
78038
|
type: "string",
|
|
77655
78039
|
required: true,
|
|
77656
78040
|
description: ""
|
|
78041
|
+
},
|
|
78042
|
+
{
|
|
78043
|
+
name: "query",
|
|
78044
|
+
"in": "query",
|
|
78045
|
+
type: "string",
|
|
78046
|
+
required: true,
|
|
78047
|
+
description: "Search conditions"
|
|
77657
78048
|
}
|
|
77658
78049
|
],
|
|
77659
|
-
requestBody: {
|
|
77660
|
-
contentType: "application/json",
|
|
77661
|
-
schema: "{ data: { company_id: number | null, provider: string | null, collection: string | null, asset_id: number | null, version: number, ... }, query: string, limit: number, batch: number, sort: { sort: object } }",
|
|
77662
|
-
required: true
|
|
77663
|
-
},
|
|
77664
78050
|
responses: {
|
|
77665
78051
|
"200": {
|
|
77666
78052
|
description: "Successful Response",
|
|
77667
|
-
schema: "{
|
|
78053
|
+
schema: "{ count: number }"
|
|
77668
78054
|
},
|
|
77669
78055
|
"422": {
|
|
77670
78056
|
description: "Validation Error",
|
|
@@ -77673,10 +78059,10 @@ var clientsData = [
|
|
|
77673
78059
|
}
|
|
77674
78060
|
},
|
|
77675
78061
|
{
|
|
77676
|
-
path: "/api/v1/data/{provider}/{dataset}/
|
|
77677
|
-
method: "
|
|
77678
|
-
operationId: "
|
|
77679
|
-
summary: "
|
|
78062
|
+
path: "/api/v1/data/{provider}/{dataset}/list/",
|
|
78063
|
+
method: "POST",
|
|
78064
|
+
operationId: "listDataByProviderAndDataset",
|
|
78065
|
+
summary: "Find Data",
|
|
77680
78066
|
tags: [
|
|
77681
78067
|
"data"
|
|
77682
78068
|
],
|
|
@@ -77698,8 +78084,8 @@ var clientsData = [
|
|
|
77698
78084
|
],
|
|
77699
78085
|
requestBody: {
|
|
77700
78086
|
contentType: "application/json",
|
|
77701
|
-
schema: "{
|
|
77702
|
-
required:
|
|
78087
|
+
schema: "{ query: object, sort: { sort: object }, skip: number, limit: number, fields: string, ... }",
|
|
78088
|
+
required: true
|
|
77703
78089
|
},
|
|
77704
78090
|
responses: {
|
|
77705
78091
|
"200": {
|
|
@@ -77713,10 +78099,10 @@ var clientsData = [
|
|
|
77713
78099
|
}
|
|
77714
78100
|
},
|
|
77715
78101
|
{
|
|
77716
|
-
path: "/api/v1/data/{provider}/{
|
|
77717
|
-
method: "
|
|
77718
|
-
operationId: "
|
|
77719
|
-
summary: "
|
|
78102
|
+
path: "/api/v1/data/{provider}/{source_collection}/aggregate_summary/",
|
|
78103
|
+
method: "POST",
|
|
78104
|
+
operationId: "aggregate_summary_return_api_v1_data__provider___source_collection__aggregate_summary__post",
|
|
78105
|
+
summary: "Aggregate summary data by intervals and return results",
|
|
77720
78106
|
tags: [
|
|
77721
78107
|
"data"
|
|
77722
78108
|
],
|
|
@@ -77729,24 +78115,22 @@ var clientsData = [
|
|
|
77729
78115
|
description: ""
|
|
77730
78116
|
},
|
|
77731
78117
|
{
|
|
77732
|
-
name: "
|
|
78118
|
+
name: "source_collection",
|
|
77733
78119
|
"in": "path",
|
|
77734
78120
|
type: "string",
|
|
77735
78121
|
required: true,
|
|
77736
78122
|
description: ""
|
|
77737
|
-
},
|
|
77738
|
-
{
|
|
77739
|
-
name: "query",
|
|
77740
|
-
"in": "query",
|
|
77741
|
-
type: "string",
|
|
77742
|
-
required: true,
|
|
77743
|
-
description: "Search conditions"
|
|
77744
78123
|
}
|
|
77745
78124
|
],
|
|
78125
|
+
requestBody: {
|
|
78126
|
+
contentType: "application/json",
|
|
78127
|
+
schema: "{ match_field: string, operations: \"median\" | \"avg\" | \"min\" | \"max\"[], intervals: { start: number, end: number }[], asset_id: number, exclude_data_fields: string[] }",
|
|
78128
|
+
required: true
|
|
78129
|
+
},
|
|
77746
78130
|
responses: {
|
|
77747
78131
|
"200": {
|
|
77748
78132
|
description: "Successful Response",
|
|
77749
|
-
schema: "
|
|
78133
|
+
schema: "object[]"
|
|
77750
78134
|
},
|
|
77751
78135
|
"422": {
|
|
77752
78136
|
description: "Validation Error",
|
|
@@ -77755,10 +78139,10 @@ var clientsData = [
|
|
|
77755
78139
|
}
|
|
77756
78140
|
},
|
|
77757
78141
|
{
|
|
77758
|
-
path: "/api/v1/data/{provider}/{
|
|
78142
|
+
path: "/api/v1/data/{provider}/{source_collection}/aggregate_summary/{target_collection}/",
|
|
77759
78143
|
method: "POST",
|
|
77760
|
-
operationId: "
|
|
77761
|
-
summary: "
|
|
78144
|
+
operationId: "aggregate_summary_upsert_api_v1_data__provider___source_collection__aggregate_summary__target_collection___post",
|
|
78145
|
+
summary: "Aggregate summary data by intervals and upsert results into target collection",
|
|
77762
78146
|
tags: [
|
|
77763
78147
|
"data"
|
|
77764
78148
|
],
|
|
@@ -77771,7 +78155,14 @@ var clientsData = [
|
|
|
77771
78155
|
description: ""
|
|
77772
78156
|
},
|
|
77773
78157
|
{
|
|
77774
|
-
name: "
|
|
78158
|
+
name: "source_collection",
|
|
78159
|
+
"in": "path",
|
|
78160
|
+
type: "string",
|
|
78161
|
+
required: true,
|
|
78162
|
+
description: ""
|
|
78163
|
+
},
|
|
78164
|
+
{
|
|
78165
|
+
name: "target_collection",
|
|
77775
78166
|
"in": "path",
|
|
77776
78167
|
type: "string",
|
|
77777
78168
|
required: true,
|
|
@@ -77780,13 +78171,13 @@ var clientsData = [
|
|
|
77780
78171
|
],
|
|
77781
78172
|
requestBody: {
|
|
77782
78173
|
contentType: "application/json",
|
|
77783
|
-
schema: "{
|
|
78174
|
+
schema: "{ match_field: string, operations: \"median\" | \"avg\" | \"min\" | \"max\"[], intervals: { start: number, end: number }[], asset_id: number, exclude_data_fields: string[], ... }",
|
|
77784
78175
|
required: true
|
|
77785
78176
|
},
|
|
77786
78177
|
responses: {
|
|
77787
78178
|
"200": {
|
|
77788
78179
|
description: "Successful Response",
|
|
77789
|
-
schema: "
|
|
78180
|
+
schema: "object[]"
|
|
77790
78181
|
},
|
|
77791
78182
|
"422": {
|
|
77792
78183
|
description: "Validation Error",
|
|
@@ -78417,6 +78808,214 @@ var clientsData = [
|
|
|
78417
78808
|
}
|
|
78418
78809
|
}
|
|
78419
78810
|
}
|
|
78811
|
+
],
|
|
78812
|
+
"legacy-data": [
|
|
78813
|
+
{
|
|
78814
|
+
path: "/api/legacy/v1/data",
|
|
78815
|
+
method: "GET",
|
|
78816
|
+
operationId: "index_without_provider_api_legacy_v1_data_get",
|
|
78817
|
+
summary: "Index Without Provider",
|
|
78818
|
+
tags: [
|
|
78819
|
+
"legacy-data"
|
|
78820
|
+
],
|
|
78821
|
+
parameters: [
|
|
78822
|
+
],
|
|
78823
|
+
responses: {
|
|
78824
|
+
"200": {
|
|
78825
|
+
description: "Successful Response",
|
|
78826
|
+
schema: "any"
|
|
78827
|
+
}
|
|
78828
|
+
}
|
|
78829
|
+
},
|
|
78830
|
+
{
|
|
78831
|
+
path: "/api/legacy/v1/data/{provider}",
|
|
78832
|
+
method: "GET",
|
|
78833
|
+
operationId: "index_without_dataset_api_legacy_v1_data__provider__get",
|
|
78834
|
+
summary: "Index Without Dataset",
|
|
78835
|
+
tags: [
|
|
78836
|
+
"legacy-data"
|
|
78837
|
+
],
|
|
78838
|
+
parameters: [
|
|
78839
|
+
{
|
|
78840
|
+
name: "provider",
|
|
78841
|
+
"in": "path",
|
|
78842
|
+
type: "string",
|
|
78843
|
+
required: true,
|
|
78844
|
+
description: ""
|
|
78845
|
+
}
|
|
78846
|
+
],
|
|
78847
|
+
responses: {
|
|
78848
|
+
"200": {
|
|
78849
|
+
description: "Successful Response",
|
|
78850
|
+
schema: "any"
|
|
78851
|
+
},
|
|
78852
|
+
"422": {
|
|
78853
|
+
description: "Validation Error",
|
|
78854
|
+
schema: "{ code: number, message: string }"
|
|
78855
|
+
}
|
|
78856
|
+
}
|
|
78857
|
+
},
|
|
78858
|
+
{
|
|
78859
|
+
path: "/api/legacy/v1/data/{provider}/{dataset}",
|
|
78860
|
+
method: "GET",
|
|
78861
|
+
operationId: "index_api_legacy_v1_data__provider___dataset__get",
|
|
78862
|
+
summary: "Index",
|
|
78863
|
+
tags: [
|
|
78864
|
+
"legacy-data"
|
|
78865
|
+
],
|
|
78866
|
+
parameters: [
|
|
78867
|
+
{
|
|
78868
|
+
name: "provider",
|
|
78869
|
+
"in": "path",
|
|
78870
|
+
type: "string",
|
|
78871
|
+
required: true,
|
|
78872
|
+
description: ""
|
|
78873
|
+
},
|
|
78874
|
+
{
|
|
78875
|
+
name: "dataset",
|
|
78876
|
+
"in": "path",
|
|
78877
|
+
type: "string",
|
|
78878
|
+
required: true,
|
|
78879
|
+
description: ""
|
|
78880
|
+
}
|
|
78881
|
+
],
|
|
78882
|
+
responses: {
|
|
78883
|
+
"200": {
|
|
78884
|
+
description: "Successful Response",
|
|
78885
|
+
schema: "any"
|
|
78886
|
+
},
|
|
78887
|
+
"422": {
|
|
78888
|
+
description: "Validation Error",
|
|
78889
|
+
schema: "{ code: number, message: string }"
|
|
78890
|
+
}
|
|
78891
|
+
}
|
|
78892
|
+
},
|
|
78893
|
+
{
|
|
78894
|
+
path: "/api/legacy/v1/data/{provider}/{dataset}/{id}",
|
|
78895
|
+
method: "GET",
|
|
78896
|
+
operationId: "show_api_legacy_v1_data__provider___dataset___id__get",
|
|
78897
|
+
summary: "Show",
|
|
78898
|
+
tags: [
|
|
78899
|
+
"legacy-data"
|
|
78900
|
+
],
|
|
78901
|
+
parameters: [
|
|
78902
|
+
{
|
|
78903
|
+
name: "provider",
|
|
78904
|
+
"in": "path",
|
|
78905
|
+
type: "string",
|
|
78906
|
+
required: true,
|
|
78907
|
+
description: ""
|
|
78908
|
+
},
|
|
78909
|
+
{
|
|
78910
|
+
name: "dataset",
|
|
78911
|
+
"in": "path",
|
|
78912
|
+
type: "string",
|
|
78913
|
+
required: true,
|
|
78914
|
+
description: ""
|
|
78915
|
+
},
|
|
78916
|
+
{
|
|
78917
|
+
name: "id",
|
|
78918
|
+
"in": "path",
|
|
78919
|
+
type: "string",
|
|
78920
|
+
required: true,
|
|
78921
|
+
description: ""
|
|
78922
|
+
}
|
|
78923
|
+
],
|
|
78924
|
+
responses: {
|
|
78925
|
+
"200": {
|
|
78926
|
+
description: "Successful Response",
|
|
78927
|
+
schema: "any"
|
|
78928
|
+
},
|
|
78929
|
+
"422": {
|
|
78930
|
+
description: "Validation Error",
|
|
78931
|
+
schema: "{ code: number, message: string }"
|
|
78932
|
+
}
|
|
78933
|
+
}
|
|
78934
|
+
},
|
|
78935
|
+
{
|
|
78936
|
+
path: "/api/legacy/v1/data/{provider}/{dataset}/{id}",
|
|
78937
|
+
method: "PUT",
|
|
78938
|
+
operationId: "put_api_legacy_v1_data__provider___dataset___id__put",
|
|
78939
|
+
summary: "Put",
|
|
78940
|
+
tags: [
|
|
78941
|
+
"legacy-data"
|
|
78942
|
+
],
|
|
78943
|
+
parameters: [
|
|
78944
|
+
{
|
|
78945
|
+
name: "provider",
|
|
78946
|
+
"in": "path",
|
|
78947
|
+
type: "string",
|
|
78948
|
+
required: true,
|
|
78949
|
+
description: ""
|
|
78950
|
+
},
|
|
78951
|
+
{
|
|
78952
|
+
name: "dataset",
|
|
78953
|
+
"in": "path",
|
|
78954
|
+
type: "string",
|
|
78955
|
+
required: true,
|
|
78956
|
+
description: ""
|
|
78957
|
+
},
|
|
78958
|
+
{
|
|
78959
|
+
name: "id",
|
|
78960
|
+
"in": "path",
|
|
78961
|
+
type: "string",
|
|
78962
|
+
required: true,
|
|
78963
|
+
description: ""
|
|
78964
|
+
}
|
|
78965
|
+
],
|
|
78966
|
+
responses: {
|
|
78967
|
+
"200": {
|
|
78968
|
+
description: "Successful Response",
|
|
78969
|
+
schema: "any"
|
|
78970
|
+
},
|
|
78971
|
+
"422": {
|
|
78972
|
+
description: "Validation Error",
|
|
78973
|
+
schema: "{ code: number, message: string }"
|
|
78974
|
+
}
|
|
78975
|
+
}
|
|
78976
|
+
},
|
|
78977
|
+
{
|
|
78978
|
+
path: "/api/legacy/v1/data/{provider}/{dataset}/{id}",
|
|
78979
|
+
method: "PATCH",
|
|
78980
|
+
operationId: "patch_api_legacy_v1_data__provider___dataset___id__patch",
|
|
78981
|
+
summary: "Patch",
|
|
78982
|
+
tags: [
|
|
78983
|
+
"legacy-data"
|
|
78984
|
+
],
|
|
78985
|
+
parameters: [
|
|
78986
|
+
{
|
|
78987
|
+
name: "provider",
|
|
78988
|
+
"in": "path",
|
|
78989
|
+
type: "string",
|
|
78990
|
+
required: true,
|
|
78991
|
+
description: ""
|
|
78992
|
+
},
|
|
78993
|
+
{
|
|
78994
|
+
name: "dataset",
|
|
78995
|
+
"in": "path",
|
|
78996
|
+
type: "string",
|
|
78997
|
+
required: true,
|
|
78998
|
+
description: ""
|
|
78999
|
+
},
|
|
79000
|
+
{
|
|
79001
|
+
name: "id",
|
|
79002
|
+
"in": "path",
|
|
79003
|
+
type: "string",
|
|
79004
|
+
required: true,
|
|
79005
|
+
description: ""
|
|
79006
|
+
}
|
|
79007
|
+
],
|
|
79008
|
+
responses: {
|
|
79009
|
+
"200": {
|
|
79010
|
+
description: "Successful Response",
|
|
79011
|
+
schema: "any"
|
|
79012
|
+
},
|
|
79013
|
+
"422": {
|
|
79014
|
+
description: "Validation Error",
|
|
79015
|
+
schema: "{ code: number, message: string }"
|
|
79016
|
+
}
|
|
79017
|
+
}
|
|
79018
|
+
}
|
|
78420
79019
|
]
|
|
78421
79020
|
},
|
|
78422
79021
|
swaggerUrl: "https://data.corva.ai/api/v1/openapi.json"
|
|
@@ -86926,6 +87525,13 @@ var entries = [
|
|
|
86926
87525
|
"list",
|
|
86927
87526
|
"aggregate",
|
|
86928
87527
|
"pipeline",
|
|
87528
|
+
"aggregate_summary",
|
|
87529
|
+
"summary",
|
|
87530
|
+
"return",
|
|
87531
|
+
"source",
|
|
87532
|
+
"collection",
|
|
87533
|
+
"upsert",
|
|
87534
|
+
"target",
|
|
86929
87535
|
"batch_update",
|
|
86930
87536
|
"batch",
|
|
86931
87537
|
"update",
|
|
@@ -86950,13 +87556,17 @@ var entries = [
|
|
|
86950
87556
|
"key",
|
|
86951
87557
|
"subscriptions",
|
|
86952
87558
|
"publish",
|
|
86953
|
-
"asset"
|
|
87559
|
+
"asset",
|
|
87560
|
+
"legacy-data",
|
|
87561
|
+
"legacy",
|
|
87562
|
+
"without",
|
|
87563
|
+
"show"
|
|
86954
87564
|
],
|
|
86955
87565
|
tags: [
|
|
86956
87566
|
],
|
|
86957
87567
|
category: "clients",
|
|
86958
87568
|
importPath: "@corva/ui/clients",
|
|
86959
|
-
searchText: "corvadataapi data api client for corva platform. used for data-specific endpoints with automatic url configuration. api data http request fetch rest metrics get v1 by provider and dataset create post replace put delete many count list aggregate pipeline batch_update batch update patch batch_update_with_object with object retrieve id datasets index company name check perform action message_producer produce message producer app key subscriptions publish asset"
|
|
87569
|
+
searchText: "corvadataapi data api client for corva platform. used for data-specific endpoints with automatic url configuration. api data http request fetch rest metrics get v1 by provider and dataset create post replace put delete many count list aggregate pipeline aggregate_summary summary return source collection upsert target batch_update batch update patch batch_update_with_object with object retrieve id datasets index company name check perform action message_producer produce message producer app key subscriptions publish asset legacy-data legacy without show"
|
|
86960
87570
|
},
|
|
86961
87571
|
{
|
|
86962
87572
|
id: "client-socketClient",
|