losant_rest 1.7.1 → 1.7.2
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 +713 -12
- data/docs/device.md +1 -0
- data/docs/devices.md +1 -0
- data/lib/losant_rest/client.rb +2 -2
- data/lib/losant_rest/device.rb +2 -0
- data/lib/losant_rest/devices.rb +2 -0
- data/lib/losant_rest/version.rb +1 -1
- data/schemas/applicationApiTokenPost.json +13 -0
- data/schemas/changePassword.json +4 -0
- data/schemas/dashboard.json +28 -3
- data/schemas/dashboardPatch.json +28 -3
- data/schemas/dashboardPost.json +28 -3
- data/schemas/dashboards.json +28 -3
- data/schemas/deviceCredentials.json +30 -0
- data/schemas/githubLogin.json +275 -0
- data/schemas/solutionUserCredentials.json +4 -0
- data/schemas/userCredentials.json +275 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0598d8a3e604187f2297a846c074c4cb7194fd3a'
|
4
|
+
data.tar.gz: 2486154683e3a3b6cba28e2946ede26d7d94ecbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84a5555e94b8259168d965bef00aa1434b9814d241524fb7783dc507690a4fb164e08a33b53cf73e18be52f959668881e7af5ba48997bd77f8b4ee3d0f7161a5
|
7
|
+
data.tar.gz: 93879885577887e8dbab98dd4b680a4f069389140abe7f3d447041be54dfe23671cafe205ca334e9d103a2218676ee56ba115e5c6c6aa5f60521accbc91dcc3c
|
data/docs/_schemas.md
CHANGED
@@ -637,6 +637,7 @@ Schema for the body of an Application API Token creation request
|
|
637
637
|
},
|
638
638
|
"scope": {
|
639
639
|
"type": "array",
|
640
|
+
"uniqueItems": true,
|
640
641
|
"items": {
|
641
642
|
"type": "string",
|
642
643
|
"enum": [
|
@@ -652,6 +653,8 @@ Schema for the body of an Application API Token creation request
|
|
652
653
|
"data.*",
|
653
654
|
"dataTable.*",
|
654
655
|
"dataTables.*",
|
656
|
+
"dataTableRow.*",
|
657
|
+
"dataTableRows.*",
|
655
658
|
"device.*",
|
656
659
|
"deviceRecipe.*",
|
657
660
|
"deviceRecipes.*",
|
@@ -682,6 +685,7 @@ Schema for the body of an Application API Token creation request
|
|
682
685
|
"webhooks.*",
|
683
686
|
"application.archiveData",
|
684
687
|
"application.backfillArchiveData",
|
688
|
+
"application.debug",
|
685
689
|
"application.delete",
|
686
690
|
"application.get",
|
687
691
|
"application.patch",
|
@@ -715,6 +719,7 @@ Schema for the body of an Application API Token creation request
|
|
715
719
|
"dataTables.get",
|
716
720
|
"dataTables.post",
|
717
721
|
"device.commandStream",
|
722
|
+
"device.debug",
|
718
723
|
"device.delete",
|
719
724
|
"device.export",
|
720
725
|
"device.get",
|
@@ -734,6 +739,7 @@ Schema for the body of an Application API Token creation request
|
|
734
739
|
"deviceRecipe.patch",
|
735
740
|
"deviceRecipes.get",
|
736
741
|
"deviceRecipes.post",
|
742
|
+
"devices.detailedSummary",
|
737
743
|
"devices.export",
|
738
744
|
"devices.get",
|
739
745
|
"devices.post",
|
@@ -764,16 +770,21 @@ Schema for the body of an Application API Token creation request
|
|
764
770
|
"experienceGroup.delete",
|
765
771
|
"experienceGroup.get",
|
766
772
|
"experienceGroup.patch",
|
773
|
+
"experienceGroups.detailedSummary",
|
767
774
|
"experienceGroups.get",
|
768
775
|
"experienceGroups.post",
|
769
776
|
"experienceUser.delete",
|
770
777
|
"experienceUser.get",
|
771
778
|
"experienceUser.patch",
|
779
|
+
"experienceUsers.detailedSummary",
|
772
780
|
"experienceUsers.get",
|
773
781
|
"experienceUsers.post",
|
782
|
+
"experienceView.debug",
|
774
783
|
"experienceView.delete",
|
775
784
|
"experienceView.get",
|
776
785
|
"experienceView.patch",
|
786
|
+
"experienceViews.debug",
|
787
|
+
"experienceViews.detailedSummary",
|
777
788
|
"experienceViews.get",
|
778
789
|
"experienceViews.post",
|
779
790
|
"file.get",
|
@@ -782,6 +793,7 @@ Schema for the body of an Application API Token creation request
|
|
782
793
|
"file.delete",
|
783
794
|
"files.get",
|
784
795
|
"files.post",
|
796
|
+
"flow.debug",
|
785
797
|
"flow.delete",
|
786
798
|
"flow.clearStorageEntries",
|
787
799
|
"flow.get",
|
@@ -791,6 +803,7 @@ Schema for the body of an Application API Token creation request
|
|
791
803
|
"flow.pressVirtualButton",
|
792
804
|
"flow.setStorageEntry",
|
793
805
|
"flows.get",
|
806
|
+
"flows.import",
|
794
807
|
"flows.post",
|
795
808
|
"flowVersion.delete",
|
796
809
|
"flowVersion.get",
|
@@ -2667,6 +2680,10 @@ Schema for the body of a request to change the current user's password
|
|
2667
2680
|
},
|
2668
2681
|
"invalidateExistingTokens": {
|
2669
2682
|
"type": "boolean"
|
2683
|
+
},
|
2684
|
+
"tokenTTL": {
|
2685
|
+
"type": "integer",
|
2686
|
+
"minimum": 0
|
2670
2687
|
}
|
2671
2688
|
},
|
2672
2689
|
"required": [
|
@@ -2838,7 +2855,8 @@ Schema for a single Dashboard
|
|
2838
2855
|
"max": 14
|
2839
2856
|
},
|
2840
2857
|
"cron": {
|
2841
|
-
"type": "string"
|
2858
|
+
"type": "string",
|
2859
|
+
"max": 255
|
2842
2860
|
},
|
2843
2861
|
"toEmail": {
|
2844
2862
|
"type": "array",
|
@@ -2878,10 +2896,34 @@ Schema for a single Dashboard
|
|
2878
2896
|
"type": "object",
|
2879
2897
|
"properties": {
|
2880
2898
|
"id": {
|
2881
|
-
"type": "string"
|
2899
|
+
"type": "string",
|
2900
|
+
"maxLength": 255
|
2882
2901
|
},
|
2883
2902
|
"blockType": {
|
2884
|
-
"type": "string"
|
2903
|
+
"type": "string",
|
2904
|
+
"enum": [
|
2905
|
+
"application-list",
|
2906
|
+
"bar",
|
2907
|
+
"custom-chart",
|
2908
|
+
"dashboard-list",
|
2909
|
+
"data-table",
|
2910
|
+
"device-list",
|
2911
|
+
"device-log",
|
2912
|
+
"device-state-table",
|
2913
|
+
"event-list",
|
2914
|
+
"gauge",
|
2915
|
+
"graph",
|
2916
|
+
"heatmap",
|
2917
|
+
"iframe",
|
2918
|
+
"indicator",
|
2919
|
+
"input",
|
2920
|
+
"map",
|
2921
|
+
"open-event-indicator",
|
2922
|
+
"pie",
|
2923
|
+
"position-chart",
|
2924
|
+
"section-header",
|
2925
|
+
"workflow-list"
|
2926
|
+
]
|
2885
2927
|
},
|
2886
2928
|
"title": {
|
2887
2929
|
"type": "string",
|
@@ -3141,10 +3183,34 @@ Schema for the body of a Dashboard modification request
|
|
3141
3183
|
"type": "object",
|
3142
3184
|
"properties": {
|
3143
3185
|
"id": {
|
3144
|
-
"type": "string"
|
3186
|
+
"type": "string",
|
3187
|
+
"maxLength": 255
|
3145
3188
|
},
|
3146
3189
|
"blockType": {
|
3147
|
-
"type": "string"
|
3190
|
+
"type": "string",
|
3191
|
+
"enum": [
|
3192
|
+
"application-list",
|
3193
|
+
"bar",
|
3194
|
+
"custom-chart",
|
3195
|
+
"dashboard-list",
|
3196
|
+
"data-table",
|
3197
|
+
"device-list",
|
3198
|
+
"device-log",
|
3199
|
+
"device-state-table",
|
3200
|
+
"event-list",
|
3201
|
+
"gauge",
|
3202
|
+
"graph",
|
3203
|
+
"heatmap",
|
3204
|
+
"iframe",
|
3205
|
+
"indicator",
|
3206
|
+
"input",
|
3207
|
+
"map",
|
3208
|
+
"open-event-indicator",
|
3209
|
+
"pie",
|
3210
|
+
"position-chart",
|
3211
|
+
"section-header",
|
3212
|
+
"workflow-list"
|
3213
|
+
]
|
3148
3214
|
},
|
3149
3215
|
"title": {
|
3150
3216
|
"type": "string",
|
@@ -3200,7 +3266,8 @@ Schema for the body of a Dashboard modification request
|
|
3200
3266
|
"max": 14
|
3201
3267
|
},
|
3202
3268
|
"cron": {
|
3203
|
-
"type": "string"
|
3269
|
+
"type": "string",
|
3270
|
+
"max": 255
|
3204
3271
|
},
|
3205
3272
|
"toEmail": {
|
3206
3273
|
"type": "array",
|
@@ -3415,10 +3482,34 @@ Schema for the body of a Dashboard creation request
|
|
3415
3482
|
"type": "object",
|
3416
3483
|
"properties": {
|
3417
3484
|
"id": {
|
3418
|
-
"type": "string"
|
3485
|
+
"type": "string",
|
3486
|
+
"maxLength": 255
|
3419
3487
|
},
|
3420
3488
|
"blockType": {
|
3421
|
-
"type": "string"
|
3489
|
+
"type": "string",
|
3490
|
+
"enum": [
|
3491
|
+
"application-list",
|
3492
|
+
"bar",
|
3493
|
+
"custom-chart",
|
3494
|
+
"dashboard-list",
|
3495
|
+
"data-table",
|
3496
|
+
"device-list",
|
3497
|
+
"device-log",
|
3498
|
+
"device-state-table",
|
3499
|
+
"event-list",
|
3500
|
+
"gauge",
|
3501
|
+
"graph",
|
3502
|
+
"heatmap",
|
3503
|
+
"iframe",
|
3504
|
+
"indicator",
|
3505
|
+
"input",
|
3506
|
+
"map",
|
3507
|
+
"open-event-indicator",
|
3508
|
+
"pie",
|
3509
|
+
"position-chart",
|
3510
|
+
"section-header",
|
3511
|
+
"workflow-list"
|
3512
|
+
]
|
3422
3513
|
},
|
3423
3514
|
"title": {
|
3424
3515
|
"type": "string",
|
@@ -3490,7 +3581,8 @@ Schema for the body of a Dashboard creation request
|
|
3490
3581
|
"max": 14
|
3491
3582
|
},
|
3492
3583
|
"cron": {
|
3493
|
-
"type": "string"
|
3584
|
+
"type": "string",
|
3585
|
+
"max": 255
|
3494
3586
|
},
|
3495
3587
|
"toEmail": {
|
3496
3588
|
"type": "array",
|
@@ -3752,7 +3844,8 @@ Schema for a collection of Dashboards
|
|
3752
3844
|
"max": 14
|
3753
3845
|
},
|
3754
3846
|
"cron": {
|
3755
|
-
"type": "string"
|
3847
|
+
"type": "string",
|
3848
|
+
"max": 255
|
3756
3849
|
},
|
3757
3850
|
"toEmail": {
|
3758
3851
|
"type": "array",
|
@@ -3792,10 +3885,34 @@ Schema for a collection of Dashboards
|
|
3792
3885
|
"type": "object",
|
3793
3886
|
"properties": {
|
3794
3887
|
"id": {
|
3795
|
-
"type": "string"
|
3888
|
+
"type": "string",
|
3889
|
+
"maxLength": 255
|
3796
3890
|
},
|
3797
3891
|
"blockType": {
|
3798
|
-
"type": "string"
|
3892
|
+
"type": "string",
|
3893
|
+
"enum": [
|
3894
|
+
"application-list",
|
3895
|
+
"bar",
|
3896
|
+
"custom-chart",
|
3897
|
+
"dashboard-list",
|
3898
|
+
"data-table",
|
3899
|
+
"device-list",
|
3900
|
+
"device-log",
|
3901
|
+
"device-state-table",
|
3902
|
+
"event-list",
|
3903
|
+
"gauge",
|
3904
|
+
"graph",
|
3905
|
+
"heatmap",
|
3906
|
+
"iframe",
|
3907
|
+
"indicator",
|
3908
|
+
"input",
|
3909
|
+
"map",
|
3910
|
+
"open-event-indicator",
|
3911
|
+
"pie",
|
3912
|
+
"position-chart",
|
3913
|
+
"section-header",
|
3914
|
+
"workflow-list"
|
3915
|
+
]
|
3799
3916
|
},
|
3800
3917
|
"title": {
|
3801
3918
|
"type": "string",
|
@@ -5414,6 +5531,36 @@ Schema for the body of a Device authentication request
|
|
5414
5531
|
},
|
5415
5532
|
"secret": {
|
5416
5533
|
"type": "string"
|
5534
|
+
},
|
5535
|
+
"tokenTTL": {
|
5536
|
+
"type": "integer",
|
5537
|
+
"minimum": 0
|
5538
|
+
},
|
5539
|
+
"requestedScopes": {
|
5540
|
+
"type": "array",
|
5541
|
+
"uniqueItems": true,
|
5542
|
+
"items": {
|
5543
|
+
"type": "string",
|
5544
|
+
"enum": [
|
5545
|
+
"all.Device",
|
5546
|
+
"all.Device.read",
|
5547
|
+
"data.timeSeriesQuery",
|
5548
|
+
"data.lastValueQuery",
|
5549
|
+
"device.commandStream",
|
5550
|
+
"device.get",
|
5551
|
+
"device.getCompositeState",
|
5552
|
+
"device.getState",
|
5553
|
+
"device.stateStream",
|
5554
|
+
"device.getLogEntries",
|
5555
|
+
"device.getCommand",
|
5556
|
+
"device.debug",
|
5557
|
+
"device.sendState",
|
5558
|
+
"device.sendCommand",
|
5559
|
+
"device.setConnectionStatus",
|
5560
|
+
"devices.get",
|
5561
|
+
"devices.sendCommand"
|
5562
|
+
]
|
5563
|
+
}
|
5417
5564
|
}
|
5418
5565
|
},
|
5419
5566
|
"required": [
|
@@ -16854,6 +17001,281 @@ Schema for the body of a Github login request
|
|
16854
17001
|
"accessToken": {
|
16855
17002
|
"type": "string",
|
16856
17003
|
"minLength": 1
|
17004
|
+
},
|
17005
|
+
"requestedScopes": {
|
17006
|
+
"type": "array",
|
17007
|
+
"uniqueItems": true,
|
17008
|
+
"items": {
|
17009
|
+
"oneOf": [
|
17010
|
+
{
|
17011
|
+
"oneOf": [
|
17012
|
+
{
|
17013
|
+
"type": "string",
|
17014
|
+
"enum": [
|
17015
|
+
"all.Application",
|
17016
|
+
"all.Application.read",
|
17017
|
+
"all.Device",
|
17018
|
+
"all.Device.read",
|
17019
|
+
"application.*",
|
17020
|
+
"applicationApiToken.*",
|
17021
|
+
"applicationApiTokens.*",
|
17022
|
+
"applicationKey.*",
|
17023
|
+
"applicationKeys.*",
|
17024
|
+
"data.*",
|
17025
|
+
"dataTable.*",
|
17026
|
+
"dataTables.*",
|
17027
|
+
"dataTableRow.*",
|
17028
|
+
"dataTableRows.*",
|
17029
|
+
"device.*",
|
17030
|
+
"deviceRecipe.*",
|
17031
|
+
"deviceRecipes.*",
|
17032
|
+
"devices.*",
|
17033
|
+
"edgeDeployments.*",
|
17034
|
+
"event.*",
|
17035
|
+
"events.*",
|
17036
|
+
"experience.*",
|
17037
|
+
"experienceDomain.*",
|
17038
|
+
"experienceDomains.*",
|
17039
|
+
"experienceEndpoint.*",
|
17040
|
+
"experienceEndpoints.*",
|
17041
|
+
"experienceGroup.*",
|
17042
|
+
"experienceGroups.*",
|
17043
|
+
"experienceUser.*",
|
17044
|
+
"experienceUsers.*",
|
17045
|
+
"experienceView.*",
|
17046
|
+
"experienceViews.*",
|
17047
|
+
"integration.*",
|
17048
|
+
"integrations.*",
|
17049
|
+
"file.*",
|
17050
|
+
"files.*",
|
17051
|
+
"flow.*",
|
17052
|
+
"flows.*",
|
17053
|
+
"flowVersion.*",
|
17054
|
+
"flowVersions.*",
|
17055
|
+
"webhook.*",
|
17056
|
+
"webhooks.*",
|
17057
|
+
"application.archiveData",
|
17058
|
+
"application.backfillArchiveData",
|
17059
|
+
"application.debug",
|
17060
|
+
"application.delete",
|
17061
|
+
"application.get",
|
17062
|
+
"application.patch",
|
17063
|
+
"application.payloadCounts",
|
17064
|
+
"applicationApiToken.delete",
|
17065
|
+
"applicationApiToken.get",
|
17066
|
+
"applicationApiToken.patch",
|
17067
|
+
"applicationApiTokens.get",
|
17068
|
+
"applicationApiTokens.post",
|
17069
|
+
"applicationKey.delete",
|
17070
|
+
"applicationKey.get",
|
17071
|
+
"applicationKey.patch",
|
17072
|
+
"applicationKeys.get",
|
17073
|
+
"applicationKeys.post",
|
17074
|
+
"data.lastValueQuery",
|
17075
|
+
"data.timeSeriesQuery",
|
17076
|
+
"dataTable.addColumn",
|
17077
|
+
"dataTable.delete",
|
17078
|
+
"dataTable.get",
|
17079
|
+
"dataTable.patch",
|
17080
|
+
"dataTable.removeColumn",
|
17081
|
+
"dataTableRow.delete",
|
17082
|
+
"dataTableRow.get",
|
17083
|
+
"dataTableRow.patch",
|
17084
|
+
"dataTableRows.get",
|
17085
|
+
"dataTableRows.post",
|
17086
|
+
"dataTableRows.query",
|
17087
|
+
"dataTableRows.export",
|
17088
|
+
"dataTableRows.delete",
|
17089
|
+
"dataTableRows.truncate",
|
17090
|
+
"dataTables.get",
|
17091
|
+
"dataTables.post",
|
17092
|
+
"device.commandStream",
|
17093
|
+
"device.debug",
|
17094
|
+
"device.delete",
|
17095
|
+
"device.export",
|
17096
|
+
"device.get",
|
17097
|
+
"device.getCommand",
|
17098
|
+
"device.getCompositeState",
|
17099
|
+
"device.getLogEntries",
|
17100
|
+
"device.getState",
|
17101
|
+
"device.patch",
|
17102
|
+
"device.removeData",
|
17103
|
+
"device.sendCommand",
|
17104
|
+
"device.sendState",
|
17105
|
+
"device.setConnectionStatus",
|
17106
|
+
"device.stateStream",
|
17107
|
+
"deviceRecipe.bulkCreate",
|
17108
|
+
"deviceRecipe.delete",
|
17109
|
+
"deviceRecipe.get",
|
17110
|
+
"deviceRecipe.patch",
|
17111
|
+
"deviceRecipes.get",
|
17112
|
+
"deviceRecipes.post",
|
17113
|
+
"devices.detailedSummary",
|
17114
|
+
"devices.export",
|
17115
|
+
"devices.get",
|
17116
|
+
"devices.post",
|
17117
|
+
"devices.sendCommand",
|
17118
|
+
"edgeDeployments.get",
|
17119
|
+
"edgeDeployments.release",
|
17120
|
+
"edgeDeployments.remove",
|
17121
|
+
"edgeDeployments.replace",
|
17122
|
+
"event.delete",
|
17123
|
+
"event.get",
|
17124
|
+
"event.patch",
|
17125
|
+
"events.get",
|
17126
|
+
"events.mostRecentBySeverity",
|
17127
|
+
"events.patch",
|
17128
|
+
"events.post",
|
17129
|
+
"experience.delete",
|
17130
|
+
"experienceDomain.delete",
|
17131
|
+
"experienceDomain.get",
|
17132
|
+
"experienceDomain.patch",
|
17133
|
+
"experienceDomains.get",
|
17134
|
+
"experienceDomains.post",
|
17135
|
+
"experienceEndpoint.delete",
|
17136
|
+
"experienceEndpoint.get",
|
17137
|
+
"experienceEndpoint.patch",
|
17138
|
+
"experienceEndpoints.get",
|
17139
|
+
"experienceEndpoints.post",
|
17140
|
+
"experienceEndpoints.stats",
|
17141
|
+
"experienceGroup.delete",
|
17142
|
+
"experienceGroup.get",
|
17143
|
+
"experienceGroup.patch",
|
17144
|
+
"experienceGroups.detailedSummary",
|
17145
|
+
"experienceGroups.get",
|
17146
|
+
"experienceGroups.post",
|
17147
|
+
"experienceUser.delete",
|
17148
|
+
"experienceUser.get",
|
17149
|
+
"experienceUser.patch",
|
17150
|
+
"experienceUsers.detailedSummary",
|
17151
|
+
"experienceUsers.get",
|
17152
|
+
"experienceUsers.post",
|
17153
|
+
"experienceView.debug",
|
17154
|
+
"experienceView.delete",
|
17155
|
+
"experienceView.get",
|
17156
|
+
"experienceView.patch",
|
17157
|
+
"experienceViews.debug",
|
17158
|
+
"experienceViews.detailedSummary",
|
17159
|
+
"experienceViews.get",
|
17160
|
+
"experienceViews.post",
|
17161
|
+
"file.get",
|
17162
|
+
"file.patch",
|
17163
|
+
"file.move",
|
17164
|
+
"file.delete",
|
17165
|
+
"files.get",
|
17166
|
+
"files.post",
|
17167
|
+
"flow.debug",
|
17168
|
+
"flow.delete",
|
17169
|
+
"flow.clearStorageEntries",
|
17170
|
+
"flow.get",
|
17171
|
+
"flow.getStorageEntries",
|
17172
|
+
"flow.log",
|
17173
|
+
"flow.patch",
|
17174
|
+
"flow.pressVirtualButton",
|
17175
|
+
"flow.setStorageEntry",
|
17176
|
+
"flows.get",
|
17177
|
+
"flows.import",
|
17178
|
+
"flows.post",
|
17179
|
+
"flowVersion.delete",
|
17180
|
+
"flowVersion.get",
|
17181
|
+
"flowVersion.log",
|
17182
|
+
"flowVersion.patch",
|
17183
|
+
"flowVersions.get",
|
17184
|
+
"flowVersions.post",
|
17185
|
+
"integration.delete",
|
17186
|
+
"integration.get",
|
17187
|
+
"integration.patch",
|
17188
|
+
"integrations.get",
|
17189
|
+
"integrations.post",
|
17190
|
+
"webhook.delete",
|
17191
|
+
"webhook.get",
|
17192
|
+
"webhook.patch",
|
17193
|
+
"webhooks.get",
|
17194
|
+
"webhooks.post"
|
17195
|
+
]
|
17196
|
+
},
|
17197
|
+
{
|
17198
|
+
"type": "string",
|
17199
|
+
"enum": [
|
17200
|
+
"all.Organization",
|
17201
|
+
"all.Organization.read",
|
17202
|
+
"applications.*",
|
17203
|
+
"auditLog.*",
|
17204
|
+
"auditLogs.*",
|
17205
|
+
"dashboard.*",
|
17206
|
+
"dashboards.*",
|
17207
|
+
"org.*",
|
17208
|
+
"solution.*",
|
17209
|
+
"solutions.*",
|
17210
|
+
"solutionUser.*",
|
17211
|
+
"solutionUsers.*",
|
17212
|
+
"applications.get",
|
17213
|
+
"applications.post",
|
17214
|
+
"auditLog.get",
|
17215
|
+
"auditLogs.get",
|
17216
|
+
"dashboard.patch",
|
17217
|
+
"dashboard.delete",
|
17218
|
+
"dashboards.get",
|
17219
|
+
"dashboards.post",
|
17220
|
+
"org.get",
|
17221
|
+
"org.patch",
|
17222
|
+
"org.delete",
|
17223
|
+
"org.pendingInvites",
|
17224
|
+
"org.inviteMember",
|
17225
|
+
"org.revokeInvite",
|
17226
|
+
"org.modifyMember",
|
17227
|
+
"org.removeMember",
|
17228
|
+
"org.payloadCounts",
|
17229
|
+
"org.invoices",
|
17230
|
+
"org.currentCard",
|
17231
|
+
"org.chargeDetails",
|
17232
|
+
"org.transferResources",
|
17233
|
+
"solutionUser.get",
|
17234
|
+
"solutionUser.patch",
|
17235
|
+
"solutionUser.delete",
|
17236
|
+
"solutionUsers.get",
|
17237
|
+
"solutionUsers.post",
|
17238
|
+
"solution.get",
|
17239
|
+
"solution.patch",
|
17240
|
+
"solution.delete",
|
17241
|
+
"solutions.get",
|
17242
|
+
"solutions.post"
|
17243
|
+
]
|
17244
|
+
}
|
17245
|
+
]
|
17246
|
+
},
|
17247
|
+
{
|
17248
|
+
"type": "string",
|
17249
|
+
"enum": [
|
17250
|
+
"all.User",
|
17251
|
+
"all.User.read",
|
17252
|
+
"me.*",
|
17253
|
+
"orgs.*",
|
17254
|
+
"me.get",
|
17255
|
+
"me.patch",
|
17256
|
+
"me.delete",
|
17257
|
+
"me.verifyEmail",
|
17258
|
+
"me.changePassword",
|
17259
|
+
"me.enableTwoFactorAuth",
|
17260
|
+
"me.disableTwoFactorAuth",
|
17261
|
+
"me.disconnectGithub",
|
17262
|
+
"me.connectGithub",
|
17263
|
+
"me.disconnectTwitter",
|
17264
|
+
"me.connectTwitter",
|
17265
|
+
"me.addRecentItem",
|
17266
|
+
"me.fetchRecentItems",
|
17267
|
+
"me.payloadCounts",
|
17268
|
+
"me.transferResources",
|
17269
|
+
"orgs.get",
|
17270
|
+
"orgs.post"
|
17271
|
+
]
|
17272
|
+
}
|
17273
|
+
]
|
17274
|
+
}
|
17275
|
+
},
|
17276
|
+
"tokenTTL": {
|
17277
|
+
"type": "integer",
|
17278
|
+
"minimum": 0
|
16857
17279
|
}
|
16858
17280
|
},
|
16859
17281
|
"required": [
|
@@ -20820,6 +21242,10 @@ Schema for the body of a Solution User authentication request
|
|
20820
21242
|
"twoFactorCode": {
|
20821
21243
|
"type": "string",
|
20822
21244
|
"maxLength": 2048
|
21245
|
+
},
|
21246
|
+
"tokenTTL": {
|
21247
|
+
"type": "integer",
|
21248
|
+
"minimum": 0
|
20823
21249
|
}
|
20824
21250
|
},
|
20825
21251
|
"required": [
|
@@ -21708,6 +22134,281 @@ Schema for the body of a User authentication request
|
|
21708
22134
|
"twoFactorCode": {
|
21709
22135
|
"type": "string",
|
21710
22136
|
"maxLength": 2048
|
22137
|
+
},
|
22138
|
+
"requestedScopes": {
|
22139
|
+
"type": "array",
|
22140
|
+
"uniqueItems": true,
|
22141
|
+
"items": {
|
22142
|
+
"oneOf": [
|
22143
|
+
{
|
22144
|
+
"oneOf": [
|
22145
|
+
{
|
22146
|
+
"type": "string",
|
22147
|
+
"enum": [
|
22148
|
+
"all.Application",
|
22149
|
+
"all.Application.read",
|
22150
|
+
"all.Device",
|
22151
|
+
"all.Device.read",
|
22152
|
+
"application.*",
|
22153
|
+
"applicationApiToken.*",
|
22154
|
+
"applicationApiTokens.*",
|
22155
|
+
"applicationKey.*",
|
22156
|
+
"applicationKeys.*",
|
22157
|
+
"data.*",
|
22158
|
+
"dataTable.*",
|
22159
|
+
"dataTables.*",
|
22160
|
+
"dataTableRow.*",
|
22161
|
+
"dataTableRows.*",
|
22162
|
+
"device.*",
|
22163
|
+
"deviceRecipe.*",
|
22164
|
+
"deviceRecipes.*",
|
22165
|
+
"devices.*",
|
22166
|
+
"edgeDeployments.*",
|
22167
|
+
"event.*",
|
22168
|
+
"events.*",
|
22169
|
+
"experience.*",
|
22170
|
+
"experienceDomain.*",
|
22171
|
+
"experienceDomains.*",
|
22172
|
+
"experienceEndpoint.*",
|
22173
|
+
"experienceEndpoints.*",
|
22174
|
+
"experienceGroup.*",
|
22175
|
+
"experienceGroups.*",
|
22176
|
+
"experienceUser.*",
|
22177
|
+
"experienceUsers.*",
|
22178
|
+
"experienceView.*",
|
22179
|
+
"experienceViews.*",
|
22180
|
+
"integration.*",
|
22181
|
+
"integrations.*",
|
22182
|
+
"file.*",
|
22183
|
+
"files.*",
|
22184
|
+
"flow.*",
|
22185
|
+
"flows.*",
|
22186
|
+
"flowVersion.*",
|
22187
|
+
"flowVersions.*",
|
22188
|
+
"webhook.*",
|
22189
|
+
"webhooks.*",
|
22190
|
+
"application.archiveData",
|
22191
|
+
"application.backfillArchiveData",
|
22192
|
+
"application.debug",
|
22193
|
+
"application.delete",
|
22194
|
+
"application.get",
|
22195
|
+
"application.patch",
|
22196
|
+
"application.payloadCounts",
|
22197
|
+
"applicationApiToken.delete",
|
22198
|
+
"applicationApiToken.get",
|
22199
|
+
"applicationApiToken.patch",
|
22200
|
+
"applicationApiTokens.get",
|
22201
|
+
"applicationApiTokens.post",
|
22202
|
+
"applicationKey.delete",
|
22203
|
+
"applicationKey.get",
|
22204
|
+
"applicationKey.patch",
|
22205
|
+
"applicationKeys.get",
|
22206
|
+
"applicationKeys.post",
|
22207
|
+
"data.lastValueQuery",
|
22208
|
+
"data.timeSeriesQuery",
|
22209
|
+
"dataTable.addColumn",
|
22210
|
+
"dataTable.delete",
|
22211
|
+
"dataTable.get",
|
22212
|
+
"dataTable.patch",
|
22213
|
+
"dataTable.removeColumn",
|
22214
|
+
"dataTableRow.delete",
|
22215
|
+
"dataTableRow.get",
|
22216
|
+
"dataTableRow.patch",
|
22217
|
+
"dataTableRows.get",
|
22218
|
+
"dataTableRows.post",
|
22219
|
+
"dataTableRows.query",
|
22220
|
+
"dataTableRows.export",
|
22221
|
+
"dataTableRows.delete",
|
22222
|
+
"dataTableRows.truncate",
|
22223
|
+
"dataTables.get",
|
22224
|
+
"dataTables.post",
|
22225
|
+
"device.commandStream",
|
22226
|
+
"device.debug",
|
22227
|
+
"device.delete",
|
22228
|
+
"device.export",
|
22229
|
+
"device.get",
|
22230
|
+
"device.getCommand",
|
22231
|
+
"device.getCompositeState",
|
22232
|
+
"device.getLogEntries",
|
22233
|
+
"device.getState",
|
22234
|
+
"device.patch",
|
22235
|
+
"device.removeData",
|
22236
|
+
"device.sendCommand",
|
22237
|
+
"device.sendState",
|
22238
|
+
"device.setConnectionStatus",
|
22239
|
+
"device.stateStream",
|
22240
|
+
"deviceRecipe.bulkCreate",
|
22241
|
+
"deviceRecipe.delete",
|
22242
|
+
"deviceRecipe.get",
|
22243
|
+
"deviceRecipe.patch",
|
22244
|
+
"deviceRecipes.get",
|
22245
|
+
"deviceRecipes.post",
|
22246
|
+
"devices.detailedSummary",
|
22247
|
+
"devices.export",
|
22248
|
+
"devices.get",
|
22249
|
+
"devices.post",
|
22250
|
+
"devices.sendCommand",
|
22251
|
+
"edgeDeployments.get",
|
22252
|
+
"edgeDeployments.release",
|
22253
|
+
"edgeDeployments.remove",
|
22254
|
+
"edgeDeployments.replace",
|
22255
|
+
"event.delete",
|
22256
|
+
"event.get",
|
22257
|
+
"event.patch",
|
22258
|
+
"events.get",
|
22259
|
+
"events.mostRecentBySeverity",
|
22260
|
+
"events.patch",
|
22261
|
+
"events.post",
|
22262
|
+
"experience.delete",
|
22263
|
+
"experienceDomain.delete",
|
22264
|
+
"experienceDomain.get",
|
22265
|
+
"experienceDomain.patch",
|
22266
|
+
"experienceDomains.get",
|
22267
|
+
"experienceDomains.post",
|
22268
|
+
"experienceEndpoint.delete",
|
22269
|
+
"experienceEndpoint.get",
|
22270
|
+
"experienceEndpoint.patch",
|
22271
|
+
"experienceEndpoints.get",
|
22272
|
+
"experienceEndpoints.post",
|
22273
|
+
"experienceEndpoints.stats",
|
22274
|
+
"experienceGroup.delete",
|
22275
|
+
"experienceGroup.get",
|
22276
|
+
"experienceGroup.patch",
|
22277
|
+
"experienceGroups.detailedSummary",
|
22278
|
+
"experienceGroups.get",
|
22279
|
+
"experienceGroups.post",
|
22280
|
+
"experienceUser.delete",
|
22281
|
+
"experienceUser.get",
|
22282
|
+
"experienceUser.patch",
|
22283
|
+
"experienceUsers.detailedSummary",
|
22284
|
+
"experienceUsers.get",
|
22285
|
+
"experienceUsers.post",
|
22286
|
+
"experienceView.debug",
|
22287
|
+
"experienceView.delete",
|
22288
|
+
"experienceView.get",
|
22289
|
+
"experienceView.patch",
|
22290
|
+
"experienceViews.debug",
|
22291
|
+
"experienceViews.detailedSummary",
|
22292
|
+
"experienceViews.get",
|
22293
|
+
"experienceViews.post",
|
22294
|
+
"file.get",
|
22295
|
+
"file.patch",
|
22296
|
+
"file.move",
|
22297
|
+
"file.delete",
|
22298
|
+
"files.get",
|
22299
|
+
"files.post",
|
22300
|
+
"flow.debug",
|
22301
|
+
"flow.delete",
|
22302
|
+
"flow.clearStorageEntries",
|
22303
|
+
"flow.get",
|
22304
|
+
"flow.getStorageEntries",
|
22305
|
+
"flow.log",
|
22306
|
+
"flow.patch",
|
22307
|
+
"flow.pressVirtualButton",
|
22308
|
+
"flow.setStorageEntry",
|
22309
|
+
"flows.get",
|
22310
|
+
"flows.import",
|
22311
|
+
"flows.post",
|
22312
|
+
"flowVersion.delete",
|
22313
|
+
"flowVersion.get",
|
22314
|
+
"flowVersion.log",
|
22315
|
+
"flowVersion.patch",
|
22316
|
+
"flowVersions.get",
|
22317
|
+
"flowVersions.post",
|
22318
|
+
"integration.delete",
|
22319
|
+
"integration.get",
|
22320
|
+
"integration.patch",
|
22321
|
+
"integrations.get",
|
22322
|
+
"integrations.post",
|
22323
|
+
"webhook.delete",
|
22324
|
+
"webhook.get",
|
22325
|
+
"webhook.patch",
|
22326
|
+
"webhooks.get",
|
22327
|
+
"webhooks.post"
|
22328
|
+
]
|
22329
|
+
},
|
22330
|
+
{
|
22331
|
+
"type": "string",
|
22332
|
+
"enum": [
|
22333
|
+
"all.Organization",
|
22334
|
+
"all.Organization.read",
|
22335
|
+
"applications.*",
|
22336
|
+
"auditLog.*",
|
22337
|
+
"auditLogs.*",
|
22338
|
+
"dashboard.*",
|
22339
|
+
"dashboards.*",
|
22340
|
+
"org.*",
|
22341
|
+
"solution.*",
|
22342
|
+
"solutions.*",
|
22343
|
+
"solutionUser.*",
|
22344
|
+
"solutionUsers.*",
|
22345
|
+
"applications.get",
|
22346
|
+
"applications.post",
|
22347
|
+
"auditLog.get",
|
22348
|
+
"auditLogs.get",
|
22349
|
+
"dashboard.patch",
|
22350
|
+
"dashboard.delete",
|
22351
|
+
"dashboards.get",
|
22352
|
+
"dashboards.post",
|
22353
|
+
"org.get",
|
22354
|
+
"org.patch",
|
22355
|
+
"org.delete",
|
22356
|
+
"org.pendingInvites",
|
22357
|
+
"org.inviteMember",
|
22358
|
+
"org.revokeInvite",
|
22359
|
+
"org.modifyMember",
|
22360
|
+
"org.removeMember",
|
22361
|
+
"org.payloadCounts",
|
22362
|
+
"org.invoices",
|
22363
|
+
"org.currentCard",
|
22364
|
+
"org.chargeDetails",
|
22365
|
+
"org.transferResources",
|
22366
|
+
"solutionUser.get",
|
22367
|
+
"solutionUser.patch",
|
22368
|
+
"solutionUser.delete",
|
22369
|
+
"solutionUsers.get",
|
22370
|
+
"solutionUsers.post",
|
22371
|
+
"solution.get",
|
22372
|
+
"solution.patch",
|
22373
|
+
"solution.delete",
|
22374
|
+
"solutions.get",
|
22375
|
+
"solutions.post"
|
22376
|
+
]
|
22377
|
+
}
|
22378
|
+
]
|
22379
|
+
},
|
22380
|
+
{
|
22381
|
+
"type": "string",
|
22382
|
+
"enum": [
|
22383
|
+
"all.User",
|
22384
|
+
"all.User.read",
|
22385
|
+
"me.*",
|
22386
|
+
"orgs.*",
|
22387
|
+
"me.get",
|
22388
|
+
"me.patch",
|
22389
|
+
"me.delete",
|
22390
|
+
"me.verifyEmail",
|
22391
|
+
"me.changePassword",
|
22392
|
+
"me.enableTwoFactorAuth",
|
22393
|
+
"me.disableTwoFactorAuth",
|
22394
|
+
"me.disconnectGithub",
|
22395
|
+
"me.connectGithub",
|
22396
|
+
"me.disconnectTwitter",
|
22397
|
+
"me.connectTwitter",
|
22398
|
+
"me.addRecentItem",
|
22399
|
+
"me.fetchRecentItems",
|
22400
|
+
"me.payloadCounts",
|
22401
|
+
"me.transferResources",
|
22402
|
+
"orgs.get",
|
22403
|
+
"orgs.post"
|
22404
|
+
]
|
22405
|
+
}
|
22406
|
+
]
|
22407
|
+
}
|
22408
|
+
},
|
22409
|
+
"tokenTTL": {
|
22410
|
+
"type": "integer",
|
22411
|
+
"minimum": 0
|
21711
22412
|
}
|
21712
22413
|
},
|
21713
22414
|
"required": [
|