losant_rest 1.19.3 → 1.19.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +265 -5
- data/docs/applications.md +1 -1
- data/docs/me.md +2 -2
- data/lib/losant_rest/version.rb +1 -1
- data/lib/platform_rest/applications.rb +1 -1
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/me.rb +2 -2
- data/schemas/applicationDashboardPost.json +2 -0
- data/schemas/credential.json +28 -1
- data/schemas/credentialPatch.json +32 -0
- data/schemas/credentialPost.json +43 -1
- data/schemas/credentials.json +28 -1
- data/schemas/dashboard.json +2 -0
- data/schemas/dashboardPatch.json +2 -0
- data/schemas/dashboardPost.json +2 -0
- data/schemas/dashboards.json +2 -0
- data/schemas/instanceOrg.json +18 -0
- data/schemas/instanceOrgPatch.json +18 -0
- data/schemas/instanceOrgPost.json +18 -0
- data/schemas/instanceOrgs.json +18 -0
- data/schemas/org.json +18 -0
- data/schemas/orgs.json +18 -0
- data/schemas/webhook.json +3 -0
- data/schemas/webhookPatch.json +3 -0
- data/schemas/webhookPost.json +3 -0
- data/schemas/webhooks.json +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 290872b441c2d0c25ae6f96c0478f828fac67ce601fd775ca4f57a13c24e800d
|
4
|
+
data.tar.gz: f8f59d360a74a0c0c0ddb000e02cb2c9c0a19f598a3c3ff4bd7c4421b2209868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0b75679785a3856db495be7b12184e7023fe5be36825b8abe76056b495ec7d9de21ce1ee5d98c815198524f4a59f304e110e73bb8f87c10adb3a371584018f8
|
7
|
+
data.tar.gz: 2cde825988d5ec40144ab9a0e881e7a82ff69dd90744d1299cba31dcebc690220469b911112e7496b4a574a629ddaf10983e72113f239d3d76143c08a1585345
|
data/docs/_schemas.md
CHANGED
@@ -12540,6 +12540,8 @@ Schema for the body of an Application scoped Dashboard creation request
|
|
12540
12540
|
"enum": [
|
12541
12541
|
"vegaLite2",
|
12542
12542
|
"vegaLite3",
|
12543
|
+
"vegaLite4",
|
12544
|
+
"vegaLite5",
|
12543
12545
|
"vega4",
|
12544
12546
|
"vega5"
|
12545
12547
|
]
|
@@ -21748,7 +21750,9 @@ Schema for a single Credential
|
|
21748
21750
|
"aws",
|
21749
21751
|
"azure",
|
21750
21752
|
"gcp",
|
21751
|
-
"http"
|
21753
|
+
"http",
|
21754
|
+
"sendgrid",
|
21755
|
+
"twilio"
|
21752
21756
|
]
|
21753
21757
|
},
|
21754
21758
|
"awsConfig": {
|
@@ -21823,6 +21827,31 @@ Schema for a single Credential
|
|
21823
21827
|
"authMethod",
|
21824
21828
|
"publicValue"
|
21825
21829
|
]
|
21830
|
+
},
|
21831
|
+
"sendgridConfig": {
|
21832
|
+
"type": "object",
|
21833
|
+
"properties": {},
|
21834
|
+
"additionalProperties": false
|
21835
|
+
},
|
21836
|
+
"twilioConfig": {
|
21837
|
+
"type": "object",
|
21838
|
+
"properties": {
|
21839
|
+
"accountSid": {
|
21840
|
+
"type": "string",
|
21841
|
+
"minLength": 4,
|
21842
|
+
"maxLength": 128
|
21843
|
+
},
|
21844
|
+
"apiKeySid": {
|
21845
|
+
"type": "string",
|
21846
|
+
"minLength": 4,
|
21847
|
+
"maxLength": 128
|
21848
|
+
}
|
21849
|
+
},
|
21850
|
+
"additionalProperties": false,
|
21851
|
+
"required": [
|
21852
|
+
"accountSid",
|
21853
|
+
"apiKeySid"
|
21854
|
+
]
|
21826
21855
|
}
|
21827
21856
|
},
|
21828
21857
|
"additionalProperties": false,
|
@@ -30305,6 +30334,38 @@ Schema for a Credential update request
|
|
30305
30334
|
}
|
30306
30335
|
},
|
30307
30336
|
"additionalProperties": false
|
30337
|
+
},
|
30338
|
+
"sendgridConfig": {
|
30339
|
+
"type": "object",
|
30340
|
+
"properties": {
|
30341
|
+
"apiKey": {
|
30342
|
+
"type": "string",
|
30343
|
+
"minLength": 4,
|
30344
|
+
"maxLength": 128
|
30345
|
+
}
|
30346
|
+
},
|
30347
|
+
"additionalProperties": false
|
30348
|
+
},
|
30349
|
+
"twilioConfig": {
|
30350
|
+
"type": "object",
|
30351
|
+
"properties": {
|
30352
|
+
"accountSid": {
|
30353
|
+
"type": "string",
|
30354
|
+
"minLength": 4,
|
30355
|
+
"maxLength": 128
|
30356
|
+
},
|
30357
|
+
"apiKeySid": {
|
30358
|
+
"type": "string",
|
30359
|
+
"minLength": 4,
|
30360
|
+
"maxLength": 128
|
30361
|
+
},
|
30362
|
+
"apiKeySecret": {
|
30363
|
+
"type": "string",
|
30364
|
+
"minLength": 4,
|
30365
|
+
"maxLength": 128
|
30366
|
+
}
|
30367
|
+
},
|
30368
|
+
"additionalProperties": false
|
30308
30369
|
}
|
30309
30370
|
},
|
30310
30371
|
"additionalProperties": false
|
@@ -30353,7 +30414,9 @@ Schema for a Credential creation request
|
|
30353
30414
|
"aws",
|
30354
30415
|
"azure",
|
30355
30416
|
"gcp",
|
30356
|
-
"http"
|
30417
|
+
"http",
|
30418
|
+
"sendgrid",
|
30419
|
+
"twilio"
|
30357
30420
|
]
|
30358
30421
|
},
|
30359
30422
|
"awsConfig": {
|
@@ -30446,6 +30509,46 @@ Schema for a Credential creation request
|
|
30446
30509
|
"authMethod",
|
30447
30510
|
"secretValue"
|
30448
30511
|
]
|
30512
|
+
},
|
30513
|
+
"sendgridConfig": {
|
30514
|
+
"type": "object",
|
30515
|
+
"properties": {
|
30516
|
+
"apiKey": {
|
30517
|
+
"type": "string",
|
30518
|
+
"minLength": 4,
|
30519
|
+
"maxLength": 128
|
30520
|
+
}
|
30521
|
+
},
|
30522
|
+
"additionalProperties": false,
|
30523
|
+
"required": [
|
30524
|
+
"apiKey"
|
30525
|
+
]
|
30526
|
+
},
|
30527
|
+
"twilioConfig": {
|
30528
|
+
"type": "object",
|
30529
|
+
"properties": {
|
30530
|
+
"accountSid": {
|
30531
|
+
"type": "string",
|
30532
|
+
"minLength": 4,
|
30533
|
+
"maxLength": 128
|
30534
|
+
},
|
30535
|
+
"apiKeySid": {
|
30536
|
+
"type": "string",
|
30537
|
+
"minLength": 4,
|
30538
|
+
"maxLength": 128
|
30539
|
+
},
|
30540
|
+
"apiKeySecret": {
|
30541
|
+
"type": "string",
|
30542
|
+
"minLength": 4,
|
30543
|
+
"maxLength": 128
|
30544
|
+
}
|
30545
|
+
},
|
30546
|
+
"additionalProperties": false,
|
30547
|
+
"required": [
|
30548
|
+
"accountSid",
|
30549
|
+
"apiKeySid",
|
30550
|
+
"apiKeySecret"
|
30551
|
+
]
|
30449
30552
|
}
|
30450
30553
|
},
|
30451
30554
|
"additionalProperties": false,
|
@@ -30547,7 +30650,9 @@ Schema for a collection of Credentials
|
|
30547
30650
|
"aws",
|
30548
30651
|
"azure",
|
30549
30652
|
"gcp",
|
30550
|
-
"http"
|
30653
|
+
"http",
|
30654
|
+
"sendgrid",
|
30655
|
+
"twilio"
|
30551
30656
|
]
|
30552
30657
|
},
|
30553
30658
|
"awsConfig": {
|
@@ -30622,6 +30727,31 @@ Schema for a collection of Credentials
|
|
30622
30727
|
"authMethod",
|
30623
30728
|
"publicValue"
|
30624
30729
|
]
|
30730
|
+
},
|
30731
|
+
"sendgridConfig": {
|
30732
|
+
"type": "object",
|
30733
|
+
"properties": {},
|
30734
|
+
"additionalProperties": false
|
30735
|
+
},
|
30736
|
+
"twilioConfig": {
|
30737
|
+
"type": "object",
|
30738
|
+
"properties": {
|
30739
|
+
"accountSid": {
|
30740
|
+
"type": "string",
|
30741
|
+
"minLength": 4,
|
30742
|
+
"maxLength": 128
|
30743
|
+
},
|
30744
|
+
"apiKeySid": {
|
30745
|
+
"type": "string",
|
30746
|
+
"minLength": 4,
|
30747
|
+
"maxLength": 128
|
30748
|
+
}
|
30749
|
+
},
|
30750
|
+
"additionalProperties": false,
|
30751
|
+
"required": [
|
30752
|
+
"accountSid",
|
30753
|
+
"apiKeySid"
|
30754
|
+
]
|
30625
30755
|
}
|
30626
30756
|
},
|
30627
30757
|
"additionalProperties": false,
|
@@ -31794,6 +31924,8 @@ Schema for a single Dashboard
|
|
31794
31924
|
"enum": [
|
31795
31925
|
"vegaLite2",
|
31796
31926
|
"vegaLite3",
|
31927
|
+
"vegaLite4",
|
31928
|
+
"vegaLite5",
|
31797
31929
|
"vega4",
|
31798
31930
|
"vega5"
|
31799
31931
|
]
|
@@ -38015,6 +38147,8 @@ Schema for the body of a Dashboard modification request
|
|
38015
38147
|
"enum": [
|
38016
38148
|
"vegaLite2",
|
38017
38149
|
"vegaLite3",
|
38150
|
+
"vegaLite4",
|
38151
|
+
"vegaLite5",
|
38018
38152
|
"vega4",
|
38019
38153
|
"vega5"
|
38020
38154
|
]
|
@@ -44234,6 +44368,8 @@ Schema for the body of a Dashboard creation request
|
|
44234
44368
|
"enum": [
|
44235
44369
|
"vegaLite2",
|
44236
44370
|
"vegaLite3",
|
44371
|
+
"vegaLite4",
|
44372
|
+
"vegaLite5",
|
44237
44373
|
"vega4",
|
44238
44374
|
"vega5"
|
44239
44375
|
]
|
@@ -50852,6 +50988,8 @@ Schema for a collection of Dashboards
|
|
50852
50988
|
"enum": [
|
50853
50989
|
"vegaLite2",
|
50854
50990
|
"vegaLite3",
|
50991
|
+
"vegaLite4",
|
50992
|
+
"vegaLite5",
|
50855
50993
|
"vega4",
|
50856
50994
|
"vega5"
|
50857
50995
|
]
|
@@ -132455,6 +132593,24 @@ Schema for the body of an Organization owned by an instance
|
|
132455
132593
|
"adminRequired",
|
132456
132594
|
"required"
|
132457
132595
|
]
|
132596
|
+
},
|
132597
|
+
"banner": {
|
132598
|
+
"type": "object",
|
132599
|
+
"properties": {
|
132600
|
+
"message": {
|
132601
|
+
"type": "string",
|
132602
|
+
"maxLength": 2048
|
132603
|
+
},
|
132604
|
+
"level": {
|
132605
|
+
"type": "string",
|
132606
|
+
"enum": [
|
132607
|
+
"info",
|
132608
|
+
"warning",
|
132609
|
+
"critical"
|
132610
|
+
]
|
132611
|
+
}
|
132612
|
+
},
|
132613
|
+
"additionalProperties": false
|
132458
132614
|
}
|
132459
132615
|
},
|
132460
132616
|
"additionalProperties": false,
|
@@ -133112,6 +133268,24 @@ Schema for the body of an Organization modification request within an instance
|
|
133112
133268
|
"adminRequired",
|
133113
133269
|
"required"
|
133114
133270
|
]
|
133271
|
+
},
|
133272
|
+
"banner": {
|
133273
|
+
"type": "object",
|
133274
|
+
"properties": {
|
133275
|
+
"message": {
|
133276
|
+
"type": "string",
|
133277
|
+
"maxLength": 2048
|
133278
|
+
},
|
133279
|
+
"level": {
|
133280
|
+
"type": "string",
|
133281
|
+
"enum": [
|
133282
|
+
"info",
|
133283
|
+
"warning",
|
133284
|
+
"critical"
|
133285
|
+
]
|
133286
|
+
}
|
133287
|
+
},
|
133288
|
+
"additionalProperties": false
|
133115
133289
|
}
|
133116
133290
|
},
|
133117
133291
|
"additionalProperties": false
|
@@ -133519,6 +133693,24 @@ Schema for the body of an Organization creation request within an instance
|
|
133519
133693
|
"adminRequired",
|
133520
133694
|
"required"
|
133521
133695
|
]
|
133696
|
+
},
|
133697
|
+
"banner": {
|
133698
|
+
"type": "object",
|
133699
|
+
"properties": {
|
133700
|
+
"message": {
|
133701
|
+
"type": "string",
|
133702
|
+
"maxLength": 2048
|
133703
|
+
},
|
133704
|
+
"level": {
|
133705
|
+
"type": "string",
|
133706
|
+
"enum": [
|
133707
|
+
"info",
|
133708
|
+
"warning",
|
133709
|
+
"critical"
|
133710
|
+
]
|
133711
|
+
}
|
133712
|
+
},
|
133713
|
+
"additionalProperties": false
|
133522
133714
|
}
|
133523
133715
|
},
|
133524
133716
|
"additionalProperties": false,
|
@@ -134032,6 +134224,24 @@ Schema for a collection of Organizations within an instance
|
|
134032
134224
|
"adminRequired",
|
134033
134225
|
"required"
|
134034
134226
|
]
|
134227
|
+
},
|
134228
|
+
"banner": {
|
134229
|
+
"type": "object",
|
134230
|
+
"properties": {
|
134231
|
+
"message": {
|
134232
|
+
"type": "string",
|
134233
|
+
"maxLength": 2048
|
134234
|
+
},
|
134235
|
+
"level": {
|
134236
|
+
"type": "string",
|
134237
|
+
"enum": [
|
134238
|
+
"info",
|
134239
|
+
"warning",
|
134240
|
+
"critical"
|
134241
|
+
]
|
134242
|
+
}
|
134243
|
+
},
|
134244
|
+
"additionalProperties": false
|
134035
134245
|
}
|
134036
134246
|
},
|
134037
134247
|
"additionalProperties": false,
|
@@ -145427,6 +145637,24 @@ Schema for a single Organization
|
|
145427
145637
|
"adminRequired",
|
145428
145638
|
"required"
|
145429
145639
|
]
|
145640
|
+
},
|
145641
|
+
"banner": {
|
145642
|
+
"type": "object",
|
145643
|
+
"properties": {
|
145644
|
+
"message": {
|
145645
|
+
"type": "string",
|
145646
|
+
"maxLength": 2048
|
145647
|
+
},
|
145648
|
+
"level": {
|
145649
|
+
"type": "string",
|
145650
|
+
"enum": [
|
145651
|
+
"info",
|
145652
|
+
"warning",
|
145653
|
+
"critical"
|
145654
|
+
]
|
145655
|
+
}
|
145656
|
+
},
|
145657
|
+
"additionalProperties": false
|
145430
145658
|
}
|
145431
145659
|
}
|
145432
145660
|
}
|
@@ -147275,6 +147503,24 @@ Schema for a collection of Organizations
|
|
147275
147503
|
"adminRequired",
|
147276
147504
|
"required"
|
147277
147505
|
]
|
147506
|
+
},
|
147507
|
+
"banner": {
|
147508
|
+
"type": "object",
|
147509
|
+
"properties": {
|
147510
|
+
"message": {
|
147511
|
+
"type": "string",
|
147512
|
+
"maxLength": 2048
|
147513
|
+
},
|
147514
|
+
"level": {
|
147515
|
+
"type": "string",
|
147516
|
+
"enum": [
|
147517
|
+
"info",
|
147518
|
+
"warning",
|
147519
|
+
"critical"
|
147520
|
+
]
|
147521
|
+
}
|
147522
|
+
},
|
147523
|
+
"additionalProperties": false
|
147278
147524
|
}
|
147279
147525
|
}
|
147280
147526
|
}
|
@@ -154203,6 +154449,9 @@ Schema for a single Webhook
|
|
154203
154449
|
"basicAuthPassword": {
|
154204
154450
|
"type": "string",
|
154205
154451
|
"maxLength": 255
|
154452
|
+
},
|
154453
|
+
"isWebsocket": {
|
154454
|
+
"type": "boolean"
|
154206
154455
|
}
|
154207
154456
|
}
|
154208
154457
|
}
|
@@ -154218,7 +154467,8 @@ Schema for a single Webhook
|
|
154218
154467
|
"lastUpdated": "2016-06-13T04:00:00.000Z",
|
154219
154468
|
"name": "My Webhook",
|
154220
154469
|
"token": "the_webhook_token",
|
154221
|
-
"responseCode": 200
|
154470
|
+
"responseCode": 200,
|
154471
|
+
"isWebsocket": false
|
154222
154472
|
}
|
154223
154473
|
```
|
154224
154474
|
|
@@ -154273,6 +154523,9 @@ Schema for the body of a Webhook modification request
|
|
154273
154523
|
"basicAuthPassword": {
|
154274
154524
|
"type": "string",
|
154275
154525
|
"maxLength": 255
|
154526
|
+
},
|
154527
|
+
"isWebsocket": {
|
154528
|
+
"type": "boolean"
|
154276
154529
|
}
|
154277
154530
|
},
|
154278
154531
|
"additionalProperties": false
|
@@ -154338,6 +154591,9 @@ Schema for the body of a Webhook creation request
|
|
154338
154591
|
"basicAuthPassword": {
|
154339
154592
|
"type": "string",
|
154340
154593
|
"maxLength": 255
|
154594
|
+
},
|
154595
|
+
"isWebsocket": {
|
154596
|
+
"type": "boolean"
|
154341
154597
|
}
|
154342
154598
|
},
|
154343
154599
|
"required": [
|
@@ -154436,6 +154692,9 @@ Schema for a collection of Webhooks
|
|
154436
154692
|
"basicAuthPassword": {
|
154437
154693
|
"type": "string",
|
154438
154694
|
"maxLength": 255
|
154695
|
+
},
|
154696
|
+
"isWebsocket": {
|
154697
|
+
"type": "boolean"
|
154439
154698
|
}
|
154440
154699
|
}
|
154441
154700
|
}
|
@@ -154491,7 +154750,8 @@ Schema for a collection of Webhooks
|
|
154491
154750
|
"lastUpdated": "2016-06-13T04:00:00.000Z",
|
154492
154751
|
"name": "My Webhook",
|
154493
154752
|
"token": "the_webhook_token",
|
154494
|
-
"responseCode": 200
|
154753
|
+
"responseCode": 200,
|
154754
|
+
"isWebsocket": false
|
154495
154755
|
}
|
154496
154756
|
],
|
154497
154757
|
"count": 1,
|
data/docs/applications.md
CHANGED
@@ -116,7 +116,7 @@ puts result
|
|
116
116
|
#### Authentication
|
117
117
|
The client must be configured with a valid api access token to call this
|
118
118
|
action. The token must include at least one of the following scopes:
|
119
|
-
all.Organization, all.User, applications.*, or applications.periodSummaries.
|
119
|
+
all.Organization, all.Organization.read, all.User, all.User.read, applications.*, or applications.periodSummaries.
|
120
120
|
|
121
121
|
#### Available Parameters
|
122
122
|
|
data/docs/me.md
CHANGED
@@ -403,7 +403,7 @@ puts result
|
|
403
403
|
#### Authentication
|
404
404
|
The client must be configured with a valid api access token to call this
|
405
405
|
action. The token must include at least one of the following scopes:
|
406
|
-
all.User, me.*, or me.invite.
|
406
|
+
all.User, all.User.read, me.*, or me.invite.
|
407
407
|
|
408
408
|
#### Available Parameters
|
409
409
|
|
@@ -440,7 +440,7 @@ puts result
|
|
440
440
|
#### Authentication
|
441
441
|
The client must be configured with a valid api access token to call this
|
442
442
|
action. The token must include at least one of the following scopes:
|
443
|
-
all.User, me.*, or me.invites.
|
443
|
+
all.User, all.User.read, me.*, or me.invites.
|
444
444
|
|
445
445
|
#### Available Parameters
|
446
446
|
|
data/lib/losant_rest/version.rb
CHANGED
@@ -96,7 +96,7 @@ module PlatformRest
|
|
96
96
|
# The client must be configured with a valid api
|
97
97
|
# access token to call this action. The token
|
98
98
|
# must include at least one of the following scopes:
|
99
|
-
# all.Organization, all.User, applications.*, or applications.periodSummaries.
|
99
|
+
# all.Organization, all.Organization.read, all.User, all.User.read, applications.*, or applications.periodSummaries.
|
100
100
|
#
|
101
101
|
# Parameters:
|
102
102
|
# * {string} start - Start of range for resource count queries (ms since epoch)
|
data/lib/platform_rest/client.rb
CHANGED
@@ -27,7 +27,7 @@ module PlatformRest
|
|
27
27
|
#
|
28
28
|
# User API for accessing platform data
|
29
29
|
#
|
30
|
-
# Built For Version 1.26.
|
30
|
+
# Built For Version 1.26.4
|
31
31
|
class Client
|
32
32
|
attr_accessor :auth_token, :url
|
33
33
|
|
@@ -390,7 +390,7 @@ module PlatformRest
|
|
390
390
|
|
391
391
|
headers["Accept"] = "application/json"
|
392
392
|
headers["Content-Type"] = "application/json"
|
393
|
-
headers["Accept-Version"] = "^1.26.
|
393
|
+
headers["Accept-Version"] = "^1.26.4"
|
394
394
|
headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
|
395
395
|
path = self.url + options.fetch(:path, "")
|
396
396
|
|
data/lib/platform_rest/me.rb
CHANGED
@@ -476,7 +476,7 @@ module PlatformRest
|
|
476
476
|
# The client must be configured with a valid api
|
477
477
|
# access token to call this action. The token
|
478
478
|
# must include at least one of the following scopes:
|
479
|
-
# all.User, me.*, or me.invite.
|
479
|
+
# all.User, all.User.read, me.*, or me.invite.
|
480
480
|
#
|
481
481
|
# Parameters:
|
482
482
|
# * {string} inviteId - ID associated with the invitation
|
@@ -520,7 +520,7 @@ module PlatformRest
|
|
520
520
|
# The client must be configured with a valid api
|
521
521
|
# access token to call this action. The token
|
522
522
|
# must include at least one of the following scopes:
|
523
|
-
# all.User, me.*, or me.invites.
|
523
|
+
# all.User, all.User.read, me.*, or me.invites.
|
524
524
|
#
|
525
525
|
# Parameters:
|
526
526
|
# * {string} losantdomain - Domain scope of request (rarely needed)
|
data/schemas/credential.json
CHANGED
@@ -60,7 +60,9 @@
|
|
60
60
|
"aws",
|
61
61
|
"azure",
|
62
62
|
"gcp",
|
63
|
-
"http"
|
63
|
+
"http",
|
64
|
+
"sendgrid",
|
65
|
+
"twilio"
|
64
66
|
]
|
65
67
|
},
|
66
68
|
"awsConfig": {
|
@@ -135,6 +137,31 @@
|
|
135
137
|
"authMethod",
|
136
138
|
"publicValue"
|
137
139
|
]
|
140
|
+
},
|
141
|
+
"sendgridConfig": {
|
142
|
+
"type": "object",
|
143
|
+
"properties": {},
|
144
|
+
"additionalProperties": false
|
145
|
+
},
|
146
|
+
"twilioConfig": {
|
147
|
+
"type": "object",
|
148
|
+
"properties": {
|
149
|
+
"accountSid": {
|
150
|
+
"type": "string",
|
151
|
+
"minLength": 4,
|
152
|
+
"maxLength": 128
|
153
|
+
},
|
154
|
+
"apiKeySid": {
|
155
|
+
"type": "string",
|
156
|
+
"minLength": 4,
|
157
|
+
"maxLength": 128
|
158
|
+
}
|
159
|
+
},
|
160
|
+
"additionalProperties": false,
|
161
|
+
"required": [
|
162
|
+
"accountSid",
|
163
|
+
"apiKeySid"
|
164
|
+
]
|
138
165
|
}
|
139
166
|
},
|
140
167
|
"additionalProperties": false,
|
@@ -88,6 +88,38 @@
|
|
88
88
|
}
|
89
89
|
},
|
90
90
|
"additionalProperties": false
|
91
|
+
},
|
92
|
+
"sendgridConfig": {
|
93
|
+
"type": "object",
|
94
|
+
"properties": {
|
95
|
+
"apiKey": {
|
96
|
+
"type": "string",
|
97
|
+
"minLength": 4,
|
98
|
+
"maxLength": 128
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"additionalProperties": false
|
102
|
+
},
|
103
|
+
"twilioConfig": {
|
104
|
+
"type": "object",
|
105
|
+
"properties": {
|
106
|
+
"accountSid": {
|
107
|
+
"type": "string",
|
108
|
+
"minLength": 4,
|
109
|
+
"maxLength": 128
|
110
|
+
},
|
111
|
+
"apiKeySid": {
|
112
|
+
"type": "string",
|
113
|
+
"minLength": 4,
|
114
|
+
"maxLength": 128
|
115
|
+
},
|
116
|
+
"apiKeySecret": {
|
117
|
+
"type": "string",
|
118
|
+
"minLength": 4,
|
119
|
+
"maxLength": 128
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"additionalProperties": false
|
91
123
|
}
|
92
124
|
},
|
93
125
|
"additionalProperties": false
|
data/schemas/credentialPost.json
CHANGED
@@ -20,7 +20,9 @@
|
|
20
20
|
"aws",
|
21
21
|
"azure",
|
22
22
|
"gcp",
|
23
|
-
"http"
|
23
|
+
"http",
|
24
|
+
"sendgrid",
|
25
|
+
"twilio"
|
24
26
|
]
|
25
27
|
},
|
26
28
|
"awsConfig": {
|
@@ -113,6 +115,46 @@
|
|
113
115
|
"authMethod",
|
114
116
|
"secretValue"
|
115
117
|
]
|
118
|
+
},
|
119
|
+
"sendgridConfig": {
|
120
|
+
"type": "object",
|
121
|
+
"properties": {
|
122
|
+
"apiKey": {
|
123
|
+
"type": "string",
|
124
|
+
"minLength": 4,
|
125
|
+
"maxLength": 128
|
126
|
+
}
|
127
|
+
},
|
128
|
+
"additionalProperties": false,
|
129
|
+
"required": [
|
130
|
+
"apiKey"
|
131
|
+
]
|
132
|
+
},
|
133
|
+
"twilioConfig": {
|
134
|
+
"type": "object",
|
135
|
+
"properties": {
|
136
|
+
"accountSid": {
|
137
|
+
"type": "string",
|
138
|
+
"minLength": 4,
|
139
|
+
"maxLength": 128
|
140
|
+
},
|
141
|
+
"apiKeySid": {
|
142
|
+
"type": "string",
|
143
|
+
"minLength": 4,
|
144
|
+
"maxLength": 128
|
145
|
+
},
|
146
|
+
"apiKeySecret": {
|
147
|
+
"type": "string",
|
148
|
+
"minLength": 4,
|
149
|
+
"maxLength": 128
|
150
|
+
}
|
151
|
+
},
|
152
|
+
"additionalProperties": false,
|
153
|
+
"required": [
|
154
|
+
"accountSid",
|
155
|
+
"apiKeySid",
|
156
|
+
"apiKeySecret"
|
157
|
+
]
|
116
158
|
}
|
117
159
|
},
|
118
160
|
"additionalProperties": false,
|
data/schemas/credentials.json
CHANGED
@@ -67,7 +67,9 @@
|
|
67
67
|
"aws",
|
68
68
|
"azure",
|
69
69
|
"gcp",
|
70
|
-
"http"
|
70
|
+
"http",
|
71
|
+
"sendgrid",
|
72
|
+
"twilio"
|
71
73
|
]
|
72
74
|
},
|
73
75
|
"awsConfig": {
|
@@ -142,6 +144,31 @@
|
|
142
144
|
"authMethod",
|
143
145
|
"publicValue"
|
144
146
|
]
|
147
|
+
},
|
148
|
+
"sendgridConfig": {
|
149
|
+
"type": "object",
|
150
|
+
"properties": {},
|
151
|
+
"additionalProperties": false
|
152
|
+
},
|
153
|
+
"twilioConfig": {
|
154
|
+
"type": "object",
|
155
|
+
"properties": {
|
156
|
+
"accountSid": {
|
157
|
+
"type": "string",
|
158
|
+
"minLength": 4,
|
159
|
+
"maxLength": 128
|
160
|
+
},
|
161
|
+
"apiKeySid": {
|
162
|
+
"type": "string",
|
163
|
+
"minLength": 4,
|
164
|
+
"maxLength": 128
|
165
|
+
}
|
166
|
+
},
|
167
|
+
"additionalProperties": false,
|
168
|
+
"required": [
|
169
|
+
"accountSid",
|
170
|
+
"apiKeySid"
|
171
|
+
]
|
145
172
|
}
|
146
173
|
},
|
147
174
|
"additionalProperties": false,
|
data/schemas/dashboard.json
CHANGED
data/schemas/dashboardPatch.json
CHANGED
data/schemas/dashboardPost.json
CHANGED
data/schemas/dashboards.json
CHANGED
data/schemas/instanceOrg.json
CHANGED
@@ -475,6 +475,24 @@
|
|
475
475
|
"adminRequired",
|
476
476
|
"required"
|
477
477
|
]
|
478
|
+
},
|
479
|
+
"banner": {
|
480
|
+
"type": "object",
|
481
|
+
"properties": {
|
482
|
+
"message": {
|
483
|
+
"type": "string",
|
484
|
+
"maxLength": 2048
|
485
|
+
},
|
486
|
+
"level": {
|
487
|
+
"type": "string",
|
488
|
+
"enum": [
|
489
|
+
"info",
|
490
|
+
"warning",
|
491
|
+
"critical"
|
492
|
+
]
|
493
|
+
}
|
494
|
+
},
|
495
|
+
"additionalProperties": false
|
478
496
|
}
|
479
497
|
},
|
480
498
|
"additionalProperties": false,
|
@@ -213,6 +213,24 @@
|
|
213
213
|
"adminRequired",
|
214
214
|
"required"
|
215
215
|
]
|
216
|
+
},
|
217
|
+
"banner": {
|
218
|
+
"type": "object",
|
219
|
+
"properties": {
|
220
|
+
"message": {
|
221
|
+
"type": "string",
|
222
|
+
"maxLength": 2048
|
223
|
+
},
|
224
|
+
"level": {
|
225
|
+
"type": "string",
|
226
|
+
"enum": [
|
227
|
+
"info",
|
228
|
+
"warning",
|
229
|
+
"critical"
|
230
|
+
]
|
231
|
+
}
|
232
|
+
},
|
233
|
+
"additionalProperties": false
|
216
234
|
}
|
217
235
|
},
|
218
236
|
"additionalProperties": false
|
@@ -379,6 +379,24 @@
|
|
379
379
|
"adminRequired",
|
380
380
|
"required"
|
381
381
|
]
|
382
|
+
},
|
383
|
+
"banner": {
|
384
|
+
"type": "object",
|
385
|
+
"properties": {
|
386
|
+
"message": {
|
387
|
+
"type": "string",
|
388
|
+
"maxLength": 2048
|
389
|
+
},
|
390
|
+
"level": {
|
391
|
+
"type": "string",
|
392
|
+
"enum": [
|
393
|
+
"info",
|
394
|
+
"warning",
|
395
|
+
"critical"
|
396
|
+
]
|
397
|
+
}
|
398
|
+
},
|
399
|
+
"additionalProperties": false
|
382
400
|
}
|
383
401
|
},
|
384
402
|
"additionalProperties": false,
|
data/schemas/instanceOrgs.json
CHANGED
@@ -482,6 +482,24 @@
|
|
482
482
|
"adminRequired",
|
483
483
|
"required"
|
484
484
|
]
|
485
|
+
},
|
486
|
+
"banner": {
|
487
|
+
"type": "object",
|
488
|
+
"properties": {
|
489
|
+
"message": {
|
490
|
+
"type": "string",
|
491
|
+
"maxLength": 2048
|
492
|
+
},
|
493
|
+
"level": {
|
494
|
+
"type": "string",
|
495
|
+
"enum": [
|
496
|
+
"info",
|
497
|
+
"warning",
|
498
|
+
"critical"
|
499
|
+
]
|
500
|
+
}
|
501
|
+
},
|
502
|
+
"additionalProperties": false
|
485
503
|
}
|
486
504
|
},
|
487
505
|
"additionalProperties": false,
|
data/schemas/org.json
CHANGED
@@ -574,6 +574,24 @@
|
|
574
574
|
"adminRequired",
|
575
575
|
"required"
|
576
576
|
]
|
577
|
+
},
|
578
|
+
"banner": {
|
579
|
+
"type": "object",
|
580
|
+
"properties": {
|
581
|
+
"message": {
|
582
|
+
"type": "string",
|
583
|
+
"maxLength": 2048
|
584
|
+
},
|
585
|
+
"level": {
|
586
|
+
"type": "string",
|
587
|
+
"enum": [
|
588
|
+
"info",
|
589
|
+
"warning",
|
590
|
+
"critical"
|
591
|
+
]
|
592
|
+
}
|
593
|
+
},
|
594
|
+
"additionalProperties": false
|
577
595
|
}
|
578
596
|
}
|
579
597
|
}
|
data/schemas/orgs.json
CHANGED
@@ -581,6 +581,24 @@
|
|
581
581
|
"adminRequired",
|
582
582
|
"required"
|
583
583
|
]
|
584
|
+
},
|
585
|
+
"banner": {
|
586
|
+
"type": "object",
|
587
|
+
"properties": {
|
588
|
+
"message": {
|
589
|
+
"type": "string",
|
590
|
+
"maxLength": 2048
|
591
|
+
},
|
592
|
+
"level": {
|
593
|
+
"type": "string",
|
594
|
+
"enum": [
|
595
|
+
"info",
|
596
|
+
"warning",
|
597
|
+
"critical"
|
598
|
+
]
|
599
|
+
}
|
600
|
+
},
|
601
|
+
"additionalProperties": false
|
584
602
|
}
|
585
603
|
}
|
586
604
|
}
|
data/schemas/webhook.json
CHANGED
data/schemas/webhookPatch.json
CHANGED
data/schemas/webhookPost.json
CHANGED
data/schemas/webhooks.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: losant_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.19.
|
4
|
+
version: 1.19.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|