{ "uuid": "13ed20c0-8501-4c89-86ef-a0ff5e3d5fa3", "lastMigration": 29, "name": "iotDpsClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "e3b14c7e-9c95-4d94-93d7-1bfa0e7c8830", "documentation": "Lists all of the available Microsoft.Devices REST API operations.", "method": "get", "endpoint": "providers/Microsoft.Devices/operations", "responses": [ { "uuid": "9b027ecf-160d-4d9e-bb45-fca0f9a24be2", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"display\": {\n \"operation\": \"\",\n \"provider\": \"\",\n \"resource\": \"\"\n },\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK. The request has succeeded.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d5737aec-ba13-458a-a93f-d00e8f6d3326", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "99c5c820-bbdb-4534-97cb-04f3e6ce63ca", "documentation": "Check if a provisioning service name is available.", "method": "post", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability", "responses": [ { "uuid": "a37585e4-b4dc-4b95-bbfd-469cc0594950", "body": "{\n \"message\": \"\",\n \"nameAvailable\": {{faker 'datatype.boolean'}},\n \"reason\": \"{{oneOf (array 'Invalid' 'AlreadyExists')}}\"\n}", "latency": 0, "statusCode": 200, "label": "This is a synchronous operation. The body contains a JSON-serialized response that specifies whether the provisioning service name is available. If the name is not available, the body contains the reason.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c51f0659-6cb8-4b1e-a148-4df5ec37e61d", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9c303585-e3a4-4adc-9210-f59ff743e259", "documentation": "Get all the provisioning services in a subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Devices/provisioningServices", "responses": [ { "uuid": "f74b8346-4fb9-4d71-85c4-95792318218a", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the provisioning services in the subscription.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "000eeb21-f274-4a3e-8c05-645c966ec133", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6eb9d949-df26-4d67-95ce-33659a3eb518", "documentation": "Get a list of all provisioning services in the given resource group.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices", "responses": [ { "uuid": "13f660fd-8280-4c9e-9637-f188c66cbb62", "body": "", "latency": 0, "statusCode": 200, "label": "List of provisioning services in the resource group.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "aa22ad57-4867-4b80-8e46-6e58ecfb795a", "body": "", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "890bfeda-d81b-4ea8-adc3-7733bb91f95b", "documentation": "Delete the Provisioning Service", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName", "responses": [ { "uuid": "4001d7c5-2a13-4305-9bae-6228340da3ab", "body": "", "latency": 0, "statusCode": 200, "label": "This is returned as a response to the status polling request for the delete operation. The body contains the resource representation that indicates a transitional provisioning state.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "12cd79c1-8736-4007-a478-9c77faa7b464", "body": "", "latency": 0, "statusCode": 202, "label": "The provisioning service resource provider always returns a 202 Accepted status code with valid Location and Retry-After headers. The resource provider also sets the Azure-AsyncOperation header with a URL that points to the operation resource for this operation. Subsequent GET attempts on the resource after a DELETE operation return a resource representation that indicates a transitional provisioning state (such as Terminating). To retrieve the status of the operation, a client can either poll the URL returned in the Location header after the Retry-After interval, get the provisioning service status directly, or query the operation resource.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2a8dfe4e-3f5d-4397-a914-e450a604ab4f", "body": "", "latency": 0, "statusCode": 204, "label": "Once the long running delete operation completes successfully, a 204 No Content status code is returned when the status polling request finds the provisioning service metadata in the service and the status of the delete operation is set to a completed state.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "05796693-ab68-495a-b0a6-5133ee39f044", "body": "", "latency": 0, "statusCode": 404, "label": "After the long running delete operation completes successfully, a 404 Not Found is returned when the status polling request no longer finds the provisioning service metadata in the service.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6e3d8cb7-1790-4b5a-9b07-19d8445ea68b", "body": "", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fde06a5b-667f-4a1f-909c-c3ce1c2f6bda", "documentation": "Get the non-security related metadata of the provisioning service.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName", "responses": [ { "uuid": "a5911caa-09af-496e-9f92-ae8ff88b9c9d", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Provisioning service description with no keys is included in the response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c191c337-5ed4-456e-8846-c830a81a7863", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "37d17b2b-7926-4b22-b76c-d4b732c2e348", "documentation": "Update an existing provisioning service's tags.", "method": "patch", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName", "responses": [ { "uuid": "fb24c00d-9839-4320-9d5d-93abb1a810c6", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Provisioning Service was successfully updated", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "79508a27-90ee-4640-b516-170e79e2ecaa", "documentation": "Create or update the metadata of the provisioning service.", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName", "responses": [ { "uuid": "f901c29f-112a-4491-85b0-1ced5fca2732", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The body contains all the non-security properties of the provisioning service. Security-related properties are set to null.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "20b54afa-3186-4ebe-a57f-01026f012af5", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "This is a long running operation. The operation returns a 201 if the validation is complete. The response includes an Azure-AsyncOperation header that contains a status URL. Clients are expected to poll the status URL for the status of the operation. If successful, the operation returns HTTP status code of 201 (OK).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "24a0600e-a79c-4f6d-ae60-3210da110fc5", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2ae87a48-48cf-4e51-9f95-46c1eb79718d", "documentation": "Get all the certificates tied to the provisioning service.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/certificates", "responses": [ { "uuid": "2a0bedf7-726f-4183-8531-61fc6eda6d76", "body": "", "latency": 0, "statusCode": 200, "label": "List of certificate descriptions in a JSON-serialized array.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a43eab2d-a9f7-4b0b-829c-9e97889aac04", "body": "", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3230ff9a-70e7-48cf-82d2-d536cfaa8a34", "documentation": "Delete the Provisioning Service Certificate.", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/certificates/:certificateName", "responses": [ { "uuid": "c1cf9a66-4b87-46cc-b975-badf32042645", "body": "", "latency": 0, "statusCode": 200, "label": "OK.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ea108327-56a8-41d9-ae41-fe7905668510", "body": "", "latency": 0, "statusCode": 204, "label": "No content.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "579652cc-ffd0-4ab5-90ce-a147487a53dc", "body": "", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cccdff25-5e9d-4abf-85e4-73e3fc6b1261", "documentation": "Get the certificate from the provisioning service.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/certificates/:certificateName", "responses": [ { "uuid": "01cad1f4-d174-486c-894a-7c083c2683f7", "body": "", "latency": 0, "statusCode": 200, "label": "Metadata for the specified certificate.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4e61ea54-367c-454d-8a9c-50ff5c778775", "body": "", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9db07087-78be-4e8e-814d-feedbaddc1ca", "documentation": "Upload the certificate to the provisioning service.", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/certificates/:certificateName", "responses": [ { "uuid": "ace6e31e-a402-427f-b0aa-39b12876579a", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"created\": \"\",\n \"expiry\": \"\",\n \"isVerified\": {{faker 'datatype.boolean'}},\n \"subject\": \"\",\n \"thumbprint\": \"\",\n \"updated\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "If certificate already exist and update was successful, the operation returns HTTP status code of 201 (OK).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "28445d6d-1ae8-467a-9b86-f8188641e083", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "14f35889-5105-444c-b06e-4f857e69cf75", "documentation": "Generate verification code for Proof of Possession.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/certificates/:certificateName/generateVerificationCode", "responses": [ { "uuid": "f27b7e30-3fa6-445f-9e50-b5e1d149a871", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"created\": \"\",\n \"expiry\": \"\",\n \"isVerified\": {{faker 'datatype.boolean'}},\n \"subject\": \"\",\n \"thumbprint\": \"\",\n \"updated\": \"\",\n \"verificationCode\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Generated verification code for that certificate is returned.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cbe853c4-4c3f-4984-aa20-4237ca3f9777", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "51198df2-dd53-4181-9a58-bfe449b05fb7", "documentation": "Verify certificate's private key possession.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/certificates/:certificateName/verify", "responses": [ { "uuid": "98a9eebf-e995-4ec2-8e07-e3de3634df47", "body": "{\n \"etag\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"created\": \"\",\n \"expiry\": \"\",\n \"isVerified\": {{faker 'datatype.boolean'}},\n \"subject\": \"\",\n \"thumbprint\": \"\",\n \"updated\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c060c502-42c4-4e3f-b227-c8c87c8ea0af", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "631aa223-e0a5-4c6d-924d-598db650ccfc", "documentation": "Get a shared access policy by name from a provisioning service.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/keys/:keyName/listkeys", "responses": [ { "uuid": "354e5a71-7521-4a8a-951d-f3cafd04d092", "body": "{\n \"keyName\": \"\",\n \"primaryKey\": \"\",\n \"rights\": \"{{oneOf (array 'ServiceConfig' 'EnrollmentRead' 'EnrollmentWrite' 'DeviceConnect' 'RegistrationStatusRead' 'RegistrationStatusWrite')}}\",\n \"secondaryKey\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "This is a synchronous operation. The body contains a JSON-serialized shared access policy, including keys, that you can use to access one or more provisioning service endpoints.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1b9411a7-4f26-4b85-a7d1-6ad22461b018", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "19e06b9b-ec06-40cf-a8bb-072fb8cd7a67", "documentation": "Get the security metadata for a provisioning service.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/listkeys", "responses": [ { "uuid": "c37600ae-079f-407d-ba53-1e521146a6e7", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"keyName\": \"\",\n \"primaryKey\": \"\",\n \"rights\": \"{{oneOf (array 'ServiceConfig' 'EnrollmentRead' 'EnrollmentWrite' 'DeviceConnect' 'RegistrationStatusRead' 'RegistrationStatusWrite')}}\",\n \"secondaryKey\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "This is a synchronous operation. The body contains a JSON-serialized array of shared access policies, including keys, that you can use to access the provisioning service endpoints.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fe096a29-0999-43d5-802d-2731f46e4053", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "24a7bcae-db02-4126-a07b-d12374cc934e", "documentation": "Gets the status of a long running operation, such as create, update or delete a provisioning service.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/operationresults/:operationId", "responses": [ { "uuid": "b6677d86-67ff-43a8-8409-0ae0b35425bd", "body": "", "latency": 0, "statusCode": 200, "label": "The status of the long running operation.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "431fd924-005a-424c-b058-cfcb94cad9cd", "body": "", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "28338682-b0d0-44a8-9376-daaec32a831e", "documentation": "Get the list of valid SKUs for a provisioning service.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Devices/provisioningServices/:provisioningServiceName/skus", "responses": [ { "uuid": "776fe191-b9f6-4843-8381-1c74c4ef9ede", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"name\": \"{{oneOf (array 'S1')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "This is a synchronous operation. The body contains a JSON-serialized array of the valid SKUs for this provisioning service.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7e44e825-5be8-413c-a059-c871edf584ea", "body": "{\n \"code\": \"\",\n \"details\": \"\",\n \"httpStatusCode\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "e3b14c7e-9c95-4d94-93d7-1bfa0e7c8830" }, { "type": "route", "uuid": "99c5c820-bbdb-4534-97cb-04f3e6ce63ca" }, { "type": "route", "uuid": "9c303585-e3a4-4adc-9210-f59ff743e259" }, { "type": "route", "uuid": "6eb9d949-df26-4d67-95ce-33659a3eb518" }, { "type": "route", "uuid": "890bfeda-d81b-4ea8-adc3-7733bb91f95b" }, { "type": "route", "uuid": "fde06a5b-667f-4a1f-909c-c3ce1c2f6bda" }, { "type": "route", "uuid": "37d17b2b-7926-4b22-b76c-d4b732c2e348" }, { "type": "route", "uuid": "79508a27-90ee-4640-b516-170e79e2ecaa" }, { "type": "route", "uuid": "2ae87a48-48cf-4e51-9f95-46c1eb79718d" }, { "type": "route", "uuid": "3230ff9a-70e7-48cf-82d2-d536cfaa8a34" }, { "type": "route", "uuid": "cccdff25-5e9d-4abf-85e4-73e3fc6b1261" }, { "type": "route", "uuid": "9db07087-78be-4e8e-814d-feedbaddc1ca" }, { "type": "route", "uuid": "14f35889-5105-444c-b06e-4f857e69cf75" }, { "type": "route", "uuid": "51198df2-dd53-4181-9a58-bfe449b05fb7" }, { "type": "route", "uuid": "631aa223-e0a5-4c6d-924d-598db650ccfc" }, { "type": "route", "uuid": "19e06b9b-ec06-40cf-a8bb-072fb8cd7a67" }, { "type": "route", "uuid": "24a7bcae-db02-4126-a07b-d12374cc934e" }, { "type": "route", "uuid": "28338682-b0d0-44a8-9376-daaec32a831e" } ] }