losant_rest 1.3.3 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.markdownlint.json +11 -0
  3. data/README.md +139 -231
  4. data/docs/_schemas.md +1036 -393
  5. data/docs/dataTableRows.md +41 -0
  6. data/docs/deviceRecipe.md +1 -0
  7. data/docs/{experienceTemplate.md → experienceDomain.md} +25 -25
  8. data/docs/experienceDomains.md +85 -0
  9. data/docs/experienceView.md +130 -0
  10. data/docs/{experienceTemplates.md → experienceViews.md} +15 -15
  11. data/docs/me.md +36 -0
  12. data/lib/losant_rest.rb +4 -2
  13. data/lib/losant_rest/client.rb +18 -10
  14. data/lib/losant_rest/data_table_rows.rb +48 -0
  15. data/lib/losant_rest/device_recipe.rb +1 -0
  16. data/lib/losant_rest/{experience_template.rb → experience_domain.rb} +26 -26
  17. data/lib/losant_rest/experience_domains.rb +124 -0
  18. data/lib/losant_rest/experience_view.rb +174 -0
  19. data/lib/losant_rest/{experience_templates.rb → experience_views.rb} +16 -16
  20. data/lib/losant_rest/me.rb +44 -0
  21. data/lib/losant_rest/version.rb +1 -1
  22. data/schemas/application.json +34 -2
  23. data/schemas/applicationApiTokenPost.json +14 -7
  24. data/schemas/applicationPatch.json +29 -0
  25. data/schemas/applications.json +34 -2
  26. data/schemas/auditLog.json +2 -1
  27. data/schemas/auditLogFilter.json +2 -1
  28. data/schemas/auditLogs.json +2 -1
  29. data/schemas/changePassword.json +28 -0
  30. data/schemas/dataTableRowsExport.json +36 -0
  31. data/schemas/deviceRecipeBulkCreateEnqueued.json +9 -0
  32. data/schemas/deviceRecipeBulkCreatePost.json +5 -0
  33. data/schemas/experienceDomain.json +41 -0
  34. data/schemas/experienceDomainPatch.json +27 -0
  35. data/schemas/experienceDomainPost.json +30 -0
  36. data/schemas/experienceDomains.json +61 -0
  37. data/schemas/experienceEndpoint.json +11 -0
  38. data/schemas/experienceEndpointPatch.json +11 -0
  39. data/schemas/experienceEndpointPost.json +11 -0
  40. data/schemas/experienceEndpoints.json +11 -0
  41. data/schemas/experienceGroup.json +11 -0
  42. data/schemas/experienceGroupPatch.json +11 -0
  43. data/schemas/experienceGroupPost.json +11 -0
  44. data/schemas/experienceGroups.json +11 -0
  45. data/schemas/{experienceTemplate.json → experienceView.json} +8 -3
  46. data/schemas/{experienceTemplatePatch.json → experienceViewPatch.json} +1 -1
  47. data/schemas/{experienceTemplatePost.json → experienceViewPost.json} +3 -3
  48. data/schemas/{experienceTemplates.json → experienceViews.json} +11 -6
  49. data/schemas/me.json +10 -4
  50. data/schemas/org.json +10 -4
  51. data/schemas/orgs.json +10 -4
  52. data/schemas/solutionUser.json +4 -0
  53. data/schemas/solutionUserPatch.json +4 -0
  54. data/schemas/solutionUserPost.json +4 -0
  55. data/schemas/solutionUsers.json +4 -0
  56. metadata +22 -10
@@ -6,12 +6,53 @@ parameters and the potential responses.
6
6
 
7
7
  ##### Contents
8
8
 
9
+ * [Export](#export)
9
10
  * [Get](#get)
10
11
  * [Post](#post)
11
12
  * [Query](#query)
12
13
 
13
14
  <br/>
14
15
 
16
+ ## Export
17
+
18
+ Request an export of the data table&#x27;s data
19
+
20
+ ```ruby
21
+ result = client.data_table_rows.export(
22
+ applicationId: my_application_id,
23
+ dataTableId: my_data_table_id)
24
+
25
+ puts result
26
+ ```
27
+
28
+ #### Authentication
29
+ The client must be configured with a valid api access token to call this
30
+ action. The token must include at least one of the following scopes:
31
+ all.Application, all.Organization, all.User, dataTableRows.*, or dataTableRows.export.
32
+
33
+ #### Available Parameters
34
+
35
+ | Name | Type | Required | Description | Default | Example |
36
+ | ---- | ---- | -------- | ----------- | ------- | ------- |
37
+ | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
38
+ | dataTableId | string | Y | ID associated with the data table | | 575ed78e7ae143cd83dc4aab |
39
+ | exportData | [Data Table Export](_schemas.md#data-table-export) | N | Object containing export specifications | | [Data Table Export Example](_schemas.md#data-table-export-example) |
40
+
41
+ #### Successful Responses
42
+
43
+ | Code | Type | Description |
44
+ | ---- | ---- | ----------- |
45
+ | 200 | [Success](_schemas.md#success) | If request was successfully queued |
46
+
47
+ #### Error Responses
48
+
49
+ | Code | Type | Description |
50
+ | ---- | ---- | ----------- |
51
+ | 400 | [Error](_schemas.md#error) | Error if malformed request |
52
+ | 404 | [Error](_schemas.md#error) | Error if data table was not found |
53
+
54
+ <br/>
55
+
15
56
  ## Get
16
57
 
17
58
  Returns the rows for a data table
data/docs/deviceRecipe.md CHANGED
@@ -44,6 +44,7 @@ all.Application, all.Organization, all.User, deviceRecipe.*, or deviceRecipe.bul
44
44
  | Code | Type | Description |
45
45
  | ---- | ---- | ----------- |
46
46
  | 201 | [Device Recipe Bulk Create](_schemas.md#device-recipe-bulk-create) | If devices were successfully created |
47
+ | 202 | [Device Recipe Bulk Create Enqueue](_schemas.md#device-recipe-bulk-create-enqueue) | If devices were enqueued to be created |
47
48
 
48
49
  #### Error Responses
49
50
 
@@ -1,7 +1,7 @@
1
- # Experience Template Actions
1
+ # Experience Domain Actions
2
2
 
3
3
  Details on the various actions that can be performed on the
4
- Experience Template resource, including the expected
4
+ Experience Domain resource, including the expected
5
5
  parameters and the potential responses.
6
6
 
7
7
  ##### Contents
@@ -14,12 +14,12 @@ parameters and the potential responses.
14
14
 
15
15
  ## Delete
16
16
 
17
- Deletes an experience template
17
+ Deletes an experience domain
18
18
 
19
19
  ```ruby
20
- result = client.experience_template.delete(
20
+ result = client.experience_domain.delete(
21
21
  applicationId: my_application_id,
22
- experienceTemplateId: my_experience_template_id)
22
+ experienceDomainId: my_experience_domain_id)
23
23
 
24
24
  puts result
25
25
  ```
@@ -27,38 +27,38 @@ puts result
27
27
  #### Authentication
28
28
  The client must be configured with a valid api access token to call this
29
29
  action. The token must include at least one of the following scopes:
30
- all.Application, all.Organization, all.User, experienceTemplate.*, or experienceTemplate.delete.
30
+ all.Application, all.Organization, all.User, experienceDomain.*, or experienceDomain.delete.
31
31
 
32
32
  #### Available Parameters
33
33
 
34
34
  | Name | Type | Required | Description | Default | Example |
35
35
  | ---- | ---- | -------- | ----------- | ------- | ------- |
36
36
  | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
37
- | experienceTemplateId | string | Y | ID associated with the experience template | | 575ed78e7ae143cd83dc4aab |
37
+ | experienceDomainId | string | Y | ID associated with the experience domain | | 575ed78e7ae143cd83dc4aab |
38
38
 
39
39
  #### Successful Responses
40
40
 
41
41
  | Code | Type | Description |
42
42
  | ---- | ---- | ----------- |
43
- | 200 | [Success](_schemas.md#success) | If experience template was successfully deleted |
43
+ | 200 | [Success](_schemas.md#success) | If experience domain was successfully deleted |
44
44
 
45
45
  #### Error Responses
46
46
 
47
47
  | Code | Type | Description |
48
48
  | ---- | ---- | ----------- |
49
49
  | 400 | [Error](_schemas.md#error) | Error if malformed request |
50
- | 404 | [Error](_schemas.md#error) | Error if experience template was not found |
50
+ | 404 | [Error](_schemas.md#error) | Error if experience domain was not found |
51
51
 
52
52
  <br/>
53
53
 
54
54
  ## Get
55
55
 
56
- Retrieves information on an experience template
56
+ Retrieves information on an experience domain
57
57
 
58
58
  ```ruby
59
- result = client.experience_template.get(
59
+ result = client.experience_domain.get(
60
60
  applicationId: my_application_id,
61
- experienceTemplateId: my_experience_template_id)
61
+ experienceDomainId: my_experience_domain_id)
62
62
 
63
63
  puts result
64
64
  ```
@@ -66,39 +66,39 @@ puts result
66
66
  #### Authentication
67
67
  The client must be configured with a valid api access token to call this
68
68
  action. The token must include at least one of the following scopes:
69
- all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, experienceTemplate.*, or experienceTemplate.get.
69
+ all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, experienceDomain.*, or experienceDomain.get.
70
70
 
71
71
  #### Available Parameters
72
72
 
73
73
  | Name | Type | Required | Description | Default | Example |
74
74
  | ---- | ---- | -------- | ----------- | ------- | ------- |
75
75
  | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
76
- | experienceTemplateId | string | Y | ID associated with the experience template | | 575ed78e7ae143cd83dc4aab |
76
+ | experienceDomainId | string | Y | ID associated with the experience domain | | 575ed78e7ae143cd83dc4aab |
77
77
 
78
78
  #### Successful Responses
79
79
 
80
80
  | Code | Type | Description |
81
81
  | ---- | ---- | ----------- |
82
- | 200 | [Experience Template](_schemas.md#experience-template) | Experience template information |
82
+ | 200 | [Experience Domain](_schemas.md#experience-domain) | Experience domain information |
83
83
 
84
84
  #### Error Responses
85
85
 
86
86
  | Code | Type | Description |
87
87
  | ---- | ---- | ----------- |
88
88
  | 400 | [Error](_schemas.md#error) | Error if malformed request |
89
- | 404 | [Error](_schemas.md#error) | Error if experience template was not found |
89
+ | 404 | [Error](_schemas.md#error) | Error if experience domain was not found |
90
90
 
91
91
  <br/>
92
92
 
93
93
  ## Patch
94
94
 
95
- Updates information about an experience template
95
+ Updates information about an experience domain
96
96
 
97
97
  ```ruby
98
- result = client.experience_template.patch(
98
+ result = client.experience_domain.patch(
99
99
  applicationId: my_application_id,
100
- experienceTemplateId: my_experience_template_id,
101
- experienceTemplate: my_experience_template)
100
+ experienceDomainId: my_experience_domain_id,
101
+ experienceDomain: my_experience_domain)
102
102
 
103
103
  puts result
104
104
  ```
@@ -106,25 +106,25 @@ puts result
106
106
  #### Authentication
107
107
  The client must be configured with a valid api access token to call this
108
108
  action. The token must include at least one of the following scopes:
109
- all.Application, all.Organization, all.User, experienceTemplate.*, or experienceTemplate.patch.
109
+ all.Application, all.Organization, all.User, experienceDomain.*, or experienceDomain.patch.
110
110
 
111
111
  #### Available Parameters
112
112
 
113
113
  | Name | Type | Required | Description | Default | Example |
114
114
  | ---- | ---- | -------- | ----------- | ------- | ------- |
115
115
  | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
116
- | experienceTemplateId | string | Y | ID associated with the experience template | | 575ed78e7ae143cd83dc4aab |
117
- | experienceTemplate | [Experience Template Patch](_schemas.md#experience-template-patch) | Y | Object containing new properties of the experience template | | [Experience Template Patch Example](_schemas.md#experience-template-patch-example) |
116
+ | experienceDomainId | string | Y | ID associated with the experience domain | | 575ed78e7ae143cd83dc4aab |
117
+ | experienceDomain | [Experience Domain Patch](_schemas.md#experience-domain-patch) | Y | Object containing new properties of the experience domain | | [Experience Domain Patch Example](_schemas.md#experience-domain-patch-example) |
118
118
 
119
119
  #### Successful Responses
120
120
 
121
121
  | Code | Type | Description |
122
122
  | ---- | ---- | ----------- |
123
- | 200 | [Experience Template](_schemas.md#experience-template) | Updated experience template information |
123
+ | 200 | [Experience Domain](_schemas.md#experience-domain) | Updated experience domain information |
124
124
 
125
125
  #### Error Responses
126
126
 
127
127
  | Code | Type | Description |
128
128
  | ---- | ---- | ----------- |
129
129
  | 400 | [Error](_schemas.md#error) | Error if malformed request |
130
- | 404 | [Error](_schemas.md#error) | Error if experience template was not found |
130
+ | 404 | [Error](_schemas.md#error) | Error if experience domain was not found |
@@ -0,0 +1,85 @@
1
+ # Experience Domains Actions
2
+
3
+ Details on the various actions that can be performed on the
4
+ Experience Domains resource, including the expected
5
+ parameters and the potential responses.
6
+
7
+ ##### Contents
8
+
9
+ * [Get](#get)
10
+ * [Post](#post)
11
+
12
+ <br/>
13
+
14
+ ## Get
15
+
16
+ Returns the experience domains for an application
17
+
18
+ ```ruby
19
+ result = client.experience_domains.get(applicationId: my_application_id)
20
+
21
+ puts result
22
+ ```
23
+
24
+ #### Authentication
25
+ The client must be configured with a valid api access token to call this
26
+ action. The token must include at least one of the following scopes:
27
+ all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, experienceDomains.*, or experienceDomains.get.
28
+
29
+ #### Available Parameters
30
+
31
+ | Name | Type | Required | Description | Default | Example |
32
+ | ---- | ---- | -------- | ----------- | ------- | ------- |
33
+ | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
34
+
35
+ #### Successful Responses
36
+
37
+ | Code | Type | Description |
38
+ | ---- | ---- | ----------- |
39
+ | 200 | [Experience Domains](_schemas.md#experience-domains) | Collection of experience domains |
40
+
41
+ #### Error Responses
42
+
43
+ | Code | Type | Description |
44
+ | ---- | ---- | ----------- |
45
+ | 400 | [Error](_schemas.md#error) | Error if malformed request |
46
+ | 404 | [Error](_schemas.md#error) | Error if application was not found |
47
+
48
+ <br/>
49
+
50
+ ## Post
51
+
52
+ Create a new experience domain for an application
53
+
54
+ ```ruby
55
+ result = client.experience_domains.post(
56
+ applicationId: my_application_id,
57
+ experienceDomain: my_experience_domain)
58
+
59
+ puts result
60
+ ```
61
+
62
+ #### Authentication
63
+ The client must be configured with a valid api access token to call this
64
+ action. The token must include at least one of the following scopes:
65
+ all.Application, all.Organization, all.User, experienceDomains.*, or experienceDomains.post.
66
+
67
+ #### Available Parameters
68
+
69
+ | Name | Type | Required | Description | Default | Example |
70
+ | ---- | ---- | -------- | ----------- | ------- | ------- |
71
+ | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
72
+ | experienceDomain | [Experience Domain Post](_schemas.md#experience-domain-post) | Y | New experience domain information | | [Experience Domain Post Example](_schemas.md#experience-domain-post-example) |
73
+
74
+ #### Successful Responses
75
+
76
+ | Code | Type | Description |
77
+ | ---- | ---- | ----------- |
78
+ | 201 | [Experience Domain](_schemas.md#experience-domain) | Successfully created experience domain |
79
+
80
+ #### Error Responses
81
+
82
+ | Code | Type | Description |
83
+ | ---- | ---- | ----------- |
84
+ | 400 | [Error](_schemas.md#error) | Error if malformed request |
85
+ | 404 | [Error](_schemas.md#error) | Error if application was not found |
@@ -0,0 +1,130 @@
1
+ # Experience View Actions
2
+
3
+ Details on the various actions that can be performed on the
4
+ Experience View resource, including the expected
5
+ parameters and the potential responses.
6
+
7
+ ##### Contents
8
+
9
+ * [Delete](#delete)
10
+ * [Get](#get)
11
+ * [Patch](#patch)
12
+
13
+ <br/>
14
+
15
+ ## Delete
16
+
17
+ Deletes an experience view
18
+
19
+ ```ruby
20
+ result = client.experience_view.delete(
21
+ applicationId: my_application_id,
22
+ experienceViewId: my_experience_view_id)
23
+
24
+ puts result
25
+ ```
26
+
27
+ #### Authentication
28
+ The client must be configured with a valid api access token to call this
29
+ action. The token must include at least one of the following scopes:
30
+ all.Application, all.Organization, all.User, experienceView.*, or experienceView.delete.
31
+
32
+ #### Available Parameters
33
+
34
+ | Name | Type | Required | Description | Default | Example |
35
+ | ---- | ---- | -------- | ----------- | ------- | ------- |
36
+ | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
37
+ | experienceViewId | string | Y | ID associated with the experience view | | 575ed78e7ae143cd83dc4aab |
38
+
39
+ #### Successful Responses
40
+
41
+ | Code | Type | Description |
42
+ | ---- | ---- | ----------- |
43
+ | 200 | [Success](_schemas.md#success) | If experience view was successfully deleted |
44
+
45
+ #### Error Responses
46
+
47
+ | Code | Type | Description |
48
+ | ---- | ---- | ----------- |
49
+ | 400 | [Error](_schemas.md#error) | Error if malformed request |
50
+ | 404 | [Error](_schemas.md#error) | Error if experience view was not found |
51
+
52
+ <br/>
53
+
54
+ ## Get
55
+
56
+ Retrieves information on an experience view
57
+
58
+ ```ruby
59
+ result = client.experience_view.get(
60
+ applicationId: my_application_id,
61
+ experienceViewId: my_experience_view_id)
62
+
63
+ puts result
64
+ ```
65
+
66
+ #### Authentication
67
+ The client must be configured with a valid api access token to call this
68
+ action. The token must include at least one of the following scopes:
69
+ all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, experienceView.*, or experienceView.get.
70
+
71
+ #### Available Parameters
72
+
73
+ | Name | Type | Required | Description | Default | Example |
74
+ | ---- | ---- | -------- | ----------- | ------- | ------- |
75
+ | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
76
+ | experienceViewId | string | Y | ID associated with the experience view | | 575ed78e7ae143cd83dc4aab |
77
+
78
+ #### Successful Responses
79
+
80
+ | Code | Type | Description |
81
+ | ---- | ---- | ----------- |
82
+ | 200 | [Experience View](_schemas.md#experience-view) | Experience view information |
83
+
84
+ #### Error Responses
85
+
86
+ | Code | Type | Description |
87
+ | ---- | ---- | ----------- |
88
+ | 400 | [Error](_schemas.md#error) | Error if malformed request |
89
+ | 404 | [Error](_schemas.md#error) | Error if experience view was not found |
90
+
91
+ <br/>
92
+
93
+ ## Patch
94
+
95
+ Updates information about an experience view
96
+
97
+ ```ruby
98
+ result = client.experience_view.patch(
99
+ applicationId: my_application_id,
100
+ experienceViewId: my_experience_view_id,
101
+ experienceView: my_experience_view)
102
+
103
+ puts result
104
+ ```
105
+
106
+ #### Authentication
107
+ The client must be configured with a valid api access token to call this
108
+ action. The token must include at least one of the following scopes:
109
+ all.Application, all.Organization, all.User, experienceView.*, or experienceView.patch.
110
+
111
+ #### Available Parameters
112
+
113
+ | Name | Type | Required | Description | Default | Example |
114
+ | ---- | ---- | -------- | ----------- | ------- | ------- |
115
+ | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
116
+ | experienceViewId | string | Y | ID associated with the experience view | | 575ed78e7ae143cd83dc4aab |
117
+ | experienceView | [Experience View Patch](_schemas.md#experience-view-patch) | Y | Object containing new properties of the experience view | | [Experience View Patch Example](_schemas.md#experience-view-patch-example) |
118
+
119
+ #### Successful Responses
120
+
121
+ | Code | Type | Description |
122
+ | ---- | ---- | ----------- |
123
+ | 200 | [Experience View](_schemas.md#experience-view) | Updated experience view information |
124
+
125
+ #### Error Responses
126
+
127
+ | Code | Type | Description |
128
+ | ---- | ---- | ----------- |
129
+ | 400 | [Error](_schemas.md#error) | Error if malformed request |
130
+ | 404 | [Error](_schemas.md#error) | Error if experience view was not found |
@@ -1,7 +1,7 @@
1
- # Experience Templates Actions
1
+ # Experience Views Actions
2
2
 
3
3
  Details on the various actions that can be performed on the
4
- Experience Templates resource, including the expected
4
+ Experience Views resource, including the expected
5
5
  parameters and the potential responses.
6
6
 
7
7
  ##### Contents
@@ -13,10 +13,10 @@ parameters and the potential responses.
13
13
 
14
14
  ## Get
15
15
 
16
- Returns the experience templates for an application
16
+ Returns the experience views for an application
17
17
 
18
18
  ```ruby
19
- result = client.experience_templates.get(applicationId: my_application_id)
19
+ result = client.experience_views.get(applicationId: my_application_id)
20
20
 
21
21
  puts result
22
22
  ```
@@ -24,26 +24,26 @@ puts result
24
24
  #### Authentication
25
25
  The client must be configured with a valid api access token to call this
26
26
  action. The token must include at least one of the following scopes:
27
- all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, experienceTemplates.*, or experienceTemplates.get.
27
+ all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, experienceViews.*, or experienceViews.get.
28
28
 
29
29
  #### Available Parameters
30
30
 
31
31
  | Name | Type | Required | Description | Default | Example |
32
32
  | ---- | ---- | -------- | ----------- | ------- | ------- |
33
33
  | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
34
- | sortField | string | N | Field to sort the results by. Accepted values are: id, creationDate, name | name | name |
34
+ | sortField | string | N | Field to sort the results by. Accepted values are: id, creationDate, name, lastUpdated | name | name |
35
35
  | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | asc | asc |
36
36
  | page | string | N | Which page of results to return | 0 | 0 |
37
37
  | perPage | string | N | How many items to return per page | 1000 | 10 |
38
38
  | filterField | string | N | Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name | | name |
39
- | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*template |
40
- | templateType | string | N | Filter templates to those only of the given type. Accepted values are: page, layout, component | | page |
39
+ | filter | string | N | Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. | | my*view |
40
+ | viewType | string | N | Filter views to those only of the given type. Accepted values are: page, layout, component | | page |
41
41
 
42
42
  #### Successful Responses
43
43
 
44
44
  | Code | Type | Description |
45
45
  | ---- | ---- | ----------- |
46
- | 200 | [Experience Templates](_schemas.md#experience-templates) | Collection of experience templates |
46
+ | 200 | [Experience Views](_schemas.md#experience-views) | Collection of experience views |
47
47
 
48
48
  #### Error Responses
49
49
 
@@ -56,12 +56,12 @@ all.Application, all.Application.read, all.Organization, all.Organization.read,
56
56
 
57
57
  ## Post
58
58
 
59
- Create a new experience template for an application
59
+ Create a new experience view for an application
60
60
 
61
61
  ```ruby
62
- result = client.experience_templates.post(
62
+ result = client.experience_views.post(
63
63
  applicationId: my_application_id,
64
- experienceTemplate: my_experience_template)
64
+ experienceView: my_experience_view)
65
65
 
66
66
  puts result
67
67
  ```
@@ -69,20 +69,20 @@ puts result
69
69
  #### Authentication
70
70
  The client must be configured with a valid api access token to call this
71
71
  action. The token must include at least one of the following scopes:
72
- all.Application, all.Organization, all.User, experienceTemplates.*, or experienceTemplates.post.
72
+ all.Application, all.Organization, all.User, experienceViews.*, or experienceViews.post.
73
73
 
74
74
  #### Available Parameters
75
75
 
76
76
  | Name | Type | Required | Description | Default | Example |
77
77
  | ---- | ---- | -------- | ----------- | ------- | ------- |
78
78
  | applicationId | string | Y | ID associated with the application | | 575ec8687ae143cd83dc4a97 |
79
- | experienceTemplate | [Experience Template Post](_schemas.md#experience-template-post) | Y | New experience template information | | [Experience Template Post Example](_schemas.md#experience-template-post-example) |
79
+ | experienceView | [Experience View Post](_schemas.md#experience-view-post) | Y | New experience view information | | [Experience View Post Example](_schemas.md#experience-view-post-example) |
80
80
 
81
81
  #### Successful Responses
82
82
 
83
83
  | Code | Type | Description |
84
84
  | ---- | ---- | ----------- |
85
- | 201 | [Experience Template](_schemas.md#experience-template) | Successfully created experience template |
85
+ | 201 | [Experience View](_schemas.md#experience-view) | Successfully created experience view |
86
86
 
87
87
  #### Error Responses
88
88