forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Individual enrollments updates (Azure#8563)
* Individual enrollments updates * fixing swagger * Making small tweaks * Removed solution model in example * Prettier check * Made suggested changes * Missing bracket * Adding names to x-ms-enums
- Loading branch information
Showing
8 changed files
with
747 additions
and
410 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_attestations_delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"title": "Delete device attestation", | ||
"description": "Deletes the attestation for a device.", | ||
"parameters": { | ||
"centralDnsSuffixInPath": "azureiotcentral.com", | ||
"subdomain": "appsubdomain", | ||
"device_id": "Checkout4" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ne/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_attestations_get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"title": "Get device attestation", | ||
"description": "Gets the attestation for a device.", | ||
"parameters": { | ||
"centralDnsSuffixInPath": "azureiotcentral.com", | ||
"subdomain": "appsubdomain", | ||
"device_id": "CheckoutThermostat" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"type": "X509Attestation", | ||
"x509": { | ||
"clientCertificates": { | ||
"primary": { | ||
"info": { | ||
"sha1Thumbprint": "<thumbprint>" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ne/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_attestations_set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"title": "Set device attestation", | ||
"description": "Creates or updates the attestation for a device.", | ||
"parameters": { | ||
"centralDnsSuffixInPath": "azureiotcentral.com", | ||
"subdomain": "appsubdomain", | ||
"device_id": "CheckoutThermostat", | ||
"body": { | ||
"type": "X509Attestation", | ||
"x509": { | ||
"clientCertificates": { | ||
"primary": { | ||
"certificate": "<string representation of the certificate>" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"type": "X509Attestation", | ||
"x509": { | ||
"clientCertificates": { | ||
"primary": { | ||
"info": { | ||
"sha1Thumbprint": "<thumbprint>" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.