Skip to content

Commit b4df52e

Browse files
committed
Update preview API version
1 parent 8fb0786 commit b4df52e

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The IoT Central REST API lets you:
4646
Use the following request to create a dashboard.
4747

4848
```http
49-
PUT https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId}?api-version=2022-06-30-preview
49+
PUT https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId}?api-version=2022-10-31-preview
5050
```
5151

5252
`dashboardId` - A unique [DTMI](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md#digital-twin-model-identifier) identifier for the dashboard.
@@ -246,7 +246,7 @@ The response to this request looks like the following example:
246246
Use the following request to retrieve the details of a dashboard by using a dashboard ID.
247247

248248
```http
249-
GET https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId}?api-version=2022-06-30-preview
249+
GET https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId}?api-version=2022-10-31-preview
250250
```
251251

252252
The response to this request looks like the following example:
@@ -296,7 +296,7 @@ The response to this request looks like the following example:
296296
## Update a dashboard
297297

298298
```http
299-
PATCH https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId}?api-version=2022-06-30-preview
299+
PATCH https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId}?api-version=2022-10-31-preview
300300
```
301301

302302
The following example shows a request body that updates the display name of a dashboard and size of the tile:
@@ -392,15 +392,15 @@ The response to this request looks like the following example:
392392
Use the following request to delete a dashboard by using the dashboard ID:
393393

394394
```http
395-
DELETE https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId}?api-version=2022-06-30-preview
395+
DELETE https://{your app subdomain}.azureiotcentral.com/api/dashboards/{dashboardId}?api-version=2022-10-31-preview
396396
```
397397

398398
## List dashboards
399399

400400
Use the following request to retrieve a list of dashboards from your application:
401401

402402
```http
403-
GET https://{your app subdomain}.azureiotcentral.com/api/dashboards?api-version=2022-06-30-preview
403+
GET https://{your app subdomain}.azureiotcentral.com/api/dashboards?api-version=2022-10-31-preview
404404
```
405405

406406
The response to this request looks like the following example:

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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-06-30-preview
37+
PUT https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
3838
```
3939

4040
* destinationId - Unique ID for the destination.
@@ -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-06-30-preview
78+
GET https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
7979
```
8080

8181
The response to this request looks like the following example:
@@ -96,7 +96,7 @@ 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-06-30-preview
99+
GET https://{subdomain}.{baseDomain}/api/dataExport/destinations?api-version=2022-10-31-preview
100100
```
101101

102102
The response to this request looks like the following example:
@@ -131,7 +131,7 @@ 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-06-30-preview
134+
PATCH https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
135135
```
136136

137137
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:
@@ -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-06-30-preview
166+
DELETE https://{subdomain}.{baseDomain}/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-06-30-preview
174+
PUT https://{subdomain}.{baseDomain}/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:
@@ -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-06-30-preview
236+
GET https://{subdomain}.{baseDomain}/api/dataExport/exports/{exportId}?api-version=2022-10-31-preview
237237
```
238238

239239
The response to this request looks like the following example:
@@ -254,7 +254,7 @@ 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-06-30-preview
257+
GET https://{subdomain}.{baseDomain}/api/dataExport/exports?api-version=2022-10-31-preview
258258
```
259259

260260
The response to this request looks like the following example:
@@ -303,7 +303,7 @@ 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-06-30-preview
306+
PATCH https://{subdomain}.{baseDomain}/dataExport/exports/{exportId}?api-version=2022-10-31-preview
307307
```
308308

309309
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:
@@ -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-06-30-preview
356+
DELETE https://{subdomain}.{baseDomain}/api/dataExport/destinations/{destinationId}?api-version=2022-10-31-preview
357357
```
358358

359359
## Next steps

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To learn how to query devices by using the IoT Central UI, see [How to use data
3737
Use the following request to run a query:
3838

3939
```http
40-
POST https://{your app subdomain}.azureiotcentral.com/api/query?api-version=2022-06-30-preview
40+
POST https://{your app subdomain}.azureiotcentral.com/api/query?api-version=2022-10-31-preview
4141
```
4242

4343
The query is in the request body and looks like the following example:

0 commit comments

Comments
 (0)