Skip to content

Commit 0bd0dcf

Browse files
authored
Add 2023-02-27-preview for DigitalTwins (#21953)
* Add 2023-02-27-preview for DigitalTwins * Update readme.md
1 parent 6c19212 commit 0bd0dcf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3121
-2
lines changed

specification/digitaltwins/data-plane/Microsoft.DigitalTwins/preview/2023-02-27-preview/digitaltwins.json

Lines changed: 1953 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-27-preview",
4+
"id": "bulkimportjob1"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "bulkimportjob1",
10+
"inputBlobUri": "path to input blob",
11+
"outputBlobUri": "path to output blob",
12+
"createdDateTime": "2022-01-01T00:00:00.0000000+00:00",
13+
"lastActionDateTime": "2022-01-01T00:01:00.0000000+00:00",
14+
"finishedDateTime": null,
15+
"purgeDateTime": "2022-01-31T00:01:00.0000000+00:00",
16+
"status": "cancelling"
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"parameters": {
3+
"id": "bulkimportjob1",
4+
"api-version": "2023-02-27-preview"
5+
},
6+
"responses": {
7+
"204": {}
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"id": "bulkimportjob1",
4+
"api-version": "2023-02-27-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "bulkimportjob1",
10+
"inputBlobUri": "path to input blob",
11+
"outputBlobUri": "path to output blob",
12+
"createdDateTime": "2022-01-01T00:00:00.0000000+00:00",
13+
"lastActionDateTime": "2022-01-01T00:01:00.0000000+00:00",
14+
"finishedDateTime": "2022-01-01T00:01:00.0000000+00:00",
15+
"purgeDateTime": "2022-01-31T00:01:00.0000000+00:00",
16+
"status": "succeeded"
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-27-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"id": "bulkimportjob1",
11+
"inputBlobUri": "path to input blob",
12+
"outputBlobUri": "path to output blob",
13+
"createdDateTime": "2022-01-01T00:00:00.0000000+00:00",
14+
"lastActionDateTime": "2022-01-01T00:01:00.0000000+00:00",
15+
"finishedDateTime": "2022-01-01T00:01:00.0000000+00:00",
16+
"purgeDateTime": "2022-01-31T00:01:00.0000000+00:00",
17+
"status": "succeeded"
18+
},
19+
{
20+
"id": "bulkimportjob2",
21+
"inputBlobUri": "path to input blob",
22+
"outputBlobUri": "path to output blob",
23+
"createdDateTime": "2022-01-01T00:00:00.0000000+00:00",
24+
"lastActionDateTime": "2022-01-01T00:01:00.0000000+00:00",
25+
"finishedDateTime": "2022-01-01T00:01:00.0000000+00:00",
26+
"purgeDateTime": "2022-01-31T00:01:00.0000000+00:00",
27+
"status": "succeeded"
28+
}
29+
],
30+
"nextLink": "url-to-next-page"
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-27-preview",
4+
"id": "bulkimportjob1",
5+
"importJob": {
6+
"inputBlobUri": "path to input blob",
7+
"outputBlobUri": "path to output blob"
8+
}
9+
},
10+
"responses": {
11+
"201": {
12+
"body": {
13+
"id": "bulkimportjob1",
14+
"inputBlobUri": "path to input blob",
15+
"outputBlobUri": "path to output blob",
16+
"createdDateTime": "2022-01-01T00:00:00.0000000+00:00",
17+
"lastActionDateTime": "2022-01-01T00:01:00.0000000+00:00",
18+
"finishedDateTime": null,
19+
"purgeDateTime": "2022-01-31T00:01:00.0000000+00:00",
20+
"status": "notstarted"
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-27-preview",
4+
"id": "mySourceTwin",
5+
"relationshipId": "myRelationshipId",
6+
"relationship": {
7+
"$targetId": "myTargetTwin",
8+
"$relationshipName": "myRelationship",
9+
"relationshipProperty1": 1,
10+
"relationshipProperty2": "some value"
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"$relationshipId": "myRelationshipId",
17+
"$sourceId": "mySourceTwin",
18+
"$targetId": "myTargetTwin",
19+
"$relationshipName": "myRelationship",
20+
"relationshipProperty1": 1,
21+
"relationshipProperty2": "some value",
22+
"$etag": "W/\"1553dbf5-0052-4be8-bea8-46269075b503\""
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-27-preview",
4+
"id": "mySourceTwin",
5+
"relationshipId": "myRelationshipId",
6+
"relationship": {
7+
"$targetId": "myTargetTwin",
8+
"$relationshipName": "myRelationship"
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"$relationshipId": "myRelationshipId",
15+
"$sourceId": "mySourceTwin",
16+
"$targetId": "myTargetTwin",
17+
"$relationshipName": "myRelationship",
18+
"$etag": "W/\"1553dbf5-0052-4be8-bea8-46269075b503\""
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-27-preview",
4+
"id": "dtmi:com:example:Sample;1"
5+
},
6+
"responses": {
7+
"204": {}
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-27-preview",
4+
"id": "myTwinId",
5+
"relationshipId": "myRelationshipId"
6+
},
7+
"responses": {
8+
"204": {}
9+
}
10+
}

0 commit comments

Comments
 (0)