-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Do not merge] IoTCentral - Add ARM endpoint, update model responses/…
…inputs to align with expected values (#4015) * Fix error model received from ARM * Change model names to be specific to method, add validation to parameter, and send the type of query being requested * Add endpoint to check subdomain availability * Update models to align with expected responses * Fix build errors * Add required field to definitions * Revert model name change. * Remove typo * Update spec file examples * add x-ms-client-flatten to errorSchema * Test default required field for .net SDK * test enum default * revert test changes
- Loading branch information
1 parent
4a92c16
commit 17fe887
Showing
10 changed files
with
268 additions
and
33 deletions.
There are no files selected for viewing
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
32 changes: 32 additions & 0 deletions
32
...ager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.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,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2018-09-01", | ||
"operationInputs": { | ||
"name": "myIoTCentralApp", | ||
"type": "IoTApps" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Returns information about resource subdomain availability", | ||
"headers": { | ||
"code": "200" | ||
}, | ||
"body": { | ||
"nameAvailable": true | ||
} | ||
}, | ||
"default": { | ||
"description": "Error message returned for an unexpected response", | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "Error code", | ||
"message": "Error message", | ||
"target": "Error target" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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
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
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.