Skip to content

Commit 9e038bc

Browse files
authored
Merge pull request #219428 from dominicbetts/central-rest-manifest
IoT Central: add deployment manifest REST API details
2 parents 48719f2 + fb93b69 commit 9e038bc

10 files changed

+733
-117
lines changed

articles/iot-central/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@
224224
href: core/howto-manage-data-export-with-rest-api.md
225225
- name: Manage device templates
226226
href: core/howto-manage-device-templates-with-rest-api.md
227+
- name: Manage deployment manifests
228+
href: core/howto-manage-deployment-manifests-with-rest-api.md
227229
- name: Manage devices
228230
href: core/howto-manage-devices-with-rest-api.md
229231
- name: Control devices

articles/iot-central/core/howto-manage-dashboards-with-rest-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Use the REST API to manage dashboards in Azure IoT Central
33
description: How to use the IoT Central REST API to manage dashboards in an application
4-
author: eross-msft
5-
ms.author: lizross
4+
author: dominicbetts
5+
ms.author: dobett
66
ms.date: 10/06/2022
77
ms.topic: how-to
88
ms.service: iot-central
@@ -54,7 +54,7 @@ PUT https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId
5454
The request body has some required fields:
5555

5656
* `@displayName`: Display name of the dashboard.
57-
* `@favorite`: Is the dashboard in the favorites list.
57+
* `@favorite`: Is the dashboard in the favorites list?
5858
* `group`: Device group ID.
5959
* `Tile` : Configuration specifying tile object, including the layout, display name, and configuration.
6060

articles/iot-central/core/howto-manage-data-export-with-rest-api.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Use the REST API to manage data export in Azure IoT Central
33
description: How to use the IoT Central REST API to manage data export in an application
4-
author: eross-msft
5-
ms.author: lizross
4+
author: dominicbetts
5+
ms.author: dobett
66
ms.date: 06/15/2022
77
ms.topic: how-to
88
ms.service: iot-central
@@ -34,7 +34,7 @@ Each data export definition can send data to one or more destinations. Create th
3434
Use the following request to create or update a destination definition:
3535

3636
```http
37-
PUT https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
37+
PUT https://{your app subdomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
3838
```
3939

4040
* destinationId - Unique ID for the destination.
@@ -53,11 +53,11 @@ The following example shows a request body that creates a blob storage destinati
5353
The request body has some required fields:
5454

5555
* `displayName`: Display name of the destination.
56-
* `type`: Type of destination object which can be one of: `blobstorage@v1`, `dataexplorer@v1`, `eventhubs@v1`, `servicebusqueue@v1`, `servicebustopic@v1`, `webhook@v1`.
56+
* `type`: Type of destination object. One of: `blobstorage@v1`, `dataexplorer@v1`, `eventhubs@v1`, `servicebusqueue@v1`, `servicebustopic@v1`, `webhook@v1`.
5757
* `connectionString`: The connection string for accessing the destination resource.
5858
* `containerName`: For a blob storage destination, the name of the container where data should be written.
5959

60-
The response to this request looks like the following example:
60+
The response to this request looks like the following example:
6161

6262
```json
6363
{
@@ -75,7 +75,7 @@ The response to this request looks like the following example:
7575
Use the following request to retrieve details of a destination from your application:
7676

7777
```http
78-
GET https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
78+
GET https://{your app subdomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
7979
```
8080

8181
The response to this request looks like the following example:
@@ -96,10 +96,10 @@ The response to this request looks like the following example:
9696
Use the following request to retrieve a list of destinations from your application:
9797

9898
```http
99-
GET https://{subdomain}.{baseDomain}/api/dataExport/destinations?api-version=2022-10-31-preview
99+
GET https://{your app subdomain}/api/dataExport/destinations?api-version=2022-10-31-preview
100100
```
101101

102-
The response to this request looks like the following example:
102+
The response to this request looks like the following example:
103103

104104
```json
105105
{
@@ -131,10 +131,10 @@ The response to this request looks like the following example:
131131
### Patch a destination
132132

133133
```http
134-
PATCH https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
134+
PATCH https://{your app subdomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
135135
```
136136

137-
You can use this to perform an incremental update to an export. The sample request body looks like the following example that updates the `displayName` to a destination:
137+
You can use this call to perform an incremental update to an export. The sample request body looks like the following example that updates the `displayName` to a destination:
138138

139139
```json
140140
{
@@ -163,15 +163,15 @@ The response to this request looks like the following example:
163163
Use the following request to delete a destination:
164164

165165
```http
166-
DELETE https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
166+
DELETE https://{your app subdomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
167167
```
168168

169169
### Create or update an export definition
170170

171171
Use the following request to create or update a data export definition:
172172

173173
```http
174-
PUT https://{subdomain}.{baseDomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
174+
PUT https://{your app subdomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
175175
```
176176

177177
The following example shows a request body that creates an export definition for device telemetry:
@@ -203,10 +203,10 @@ The request body has some required fields:
203203

204204
There are some optional fields you can use to add more details to the export.
205205

206-
* `enrichments`: Additional pieces of information to include with each sent message. Data is represented as a set of key/value pairs, where the key is the name of the enrichment that will appear in the output message and the value identifies the data to send.
206+
* `enrichments`: Extra pieces of information to include with each sent message. Data is represented as a set of key/value pairs, where the key is the name of the enrichment that will appear in the output message and the value identifies the data to send.
207207
* `filter`: Query defining which events from the source should be exported.
208208

209-
The response to this request looks like the following example:
209+
The response to this request looks like the following example:
210210

211211
```json
212212
{
@@ -233,7 +233,7 @@ The response to this request looks like the following example:
233233
Use the following request to retrieve details of an export definition from your application:
234234

235235
```http
236-
GET https://{subdomain}.{baseDomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
236+
GET https://{your app subdomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
237237
```
238238

239239
The response to this request looks like the following example:
@@ -254,10 +254,10 @@ The response to this request looks like the following example:
254254
Use the following request to retrieve a list of export definitions from your application:
255255

256256
```http
257-
GET https://{subdomain}.{baseDomain}/api/dataExport/exports?api-version=2022-10-31-preview
257+
GET https://{your app subdomain}/api/dataExport/exports?api-version=2022-10-31-preview
258258
```
259259

260-
The response to this request looks like the following example:
260+
The response to this request looks like the following example:
261261

262262
```json
263263
{
@@ -303,10 +303,10 @@ The response to this request looks like the following example:
303303
### Patch an export definition
304304

305305
```http
306-
PATCH https://{subdomain}.{baseDomain}/dataExport/exports/{exportId}?api-version=2022-10-31-preview
306+
PATCH https://{your app subdomain}/dataExport/exports/{exportId}?api-version=2022-10-31-preview
307307
```
308308

309-
You can use this to perform an incremental update to an export. The sample request body looks like the following example that updates the `enrichments` to an export:
309+
You can use this call to perform an incremental update to an export. The sample request body looks like the following example that updates the `enrichments` to an export:
310310

311311
```json
312312
{
@@ -353,7 +353,7 @@ The response to this request looks like the following example:
353353
Use the following request to delete an export definition:
354354

355355
```http
356-
DELETE https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
356+
DELETE https://{your app subdomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
357357
```
358358

359359
## Next steps

0 commit comments

Comments
 (0)