{ "uuid": "7841103b-f15c-495e-8645-150061770579", "lastMigration": 19, "name": "IoTSpacesClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "8659894c-703f-4dfa-8ac3-7df20dda0d19", "documentation": "Lists all of the available IoTSpaces service REST API operations.", "method": "get", "endpoint": "providers/Microsoft.IoTSpaces/operations", "responses": [ { "uuid": "602de460-b722-4fb0-8bf4-0fbcf88f5c02", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"display\": {\n \"description\": \"\",\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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "3d4a2629-2b33-42d5-9be4-457f4e400d20", "body": "{\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "DefaultErrorResponse", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "a47fc3fd-4cdc-481a-b692-350e45f34103", "documentation": "Get all the IoTSpaces instances in a subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.IoTSpaces/Graph", "responses": [ { "uuid": "5a10022f-2c4f-4012-b072-3499c46f48aa", "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 IoTSpaces instances in the subscription.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "11953f3d-cf0e-4e60-a6e8-3b73ad01373f", "body": "{\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "DefaultErrorResponse", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "328198ac-106f-44f1-aa6f-95ecbd23b126", "documentation": "Check if an IoTSpaces instance name is available.", "method": "post", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.IoTSpaces/checkNameAvailability", "responses": [ { "uuid": "192c295e-7051-4e5a-aed6-11a1fef57619", "body": "{\n \"message\": \"\",\n \"nameAvailable\": {{faker 'random.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 IoTSpaces service name is available. If the name is not available, the body contains the reason.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "6ee12c00-809e-4420-9afa-48856fcd49f0", "body": "{\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "DefaultErrorResponse", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "cab8623c-7c18-484a-981e-820d36341970", "documentation": "Get all the IoTSpaces instances in a resource group.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.IoTSpaces/Graph", "responses": [ { "uuid": "5a2d82ba-4ae9-45ce-ab97-d10d9add653e", "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 IoTSpaces instances in the resource group.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "e393aec9-1f3d-41fa-a7a5-e9acb21418d2", "body": "{\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "DefaultErrorResponse", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "2c91feb6-64c7-4514-9968-8b38fd8836cf", "documentation": "Delete an IoTSpaces instance.", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.IoTSpaces/Graph/:resourceName", "responses": [ { "uuid": "1d54d72e-7a08-4e6b-b79f-fa4042adab1e", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"tags\": {},\n \"type\": \"\"\n}", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "c0738091-742d-40dd-ba89-6645ac2354a2", "body": "", "latency": 0, "statusCode": 202, "label": "Accepted - Delete request accepted; the operation will complete asynchronously.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "1a9ebdb3-3e76-492c-9b56-f74748f60a48", "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 IoTSpaces 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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "c3630ad1-1ac1-4d5c-8d09-70ad6ccd651e", "body": "{\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "DefaultErrorResponse", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "fa9f4970-d062-4fce-94fc-d8cacf210aa9", "documentation": "Get the metadata of a IoTSpaces instance.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.IoTSpaces/Graph/:resourceName", "responses": [ { "uuid": "b632f672-7062-4aed-943a-abb23fe20270", "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 IoTSpaces instance. Security-related properties are set to null.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "27f50ef4-d78f-421d-b805-66c42e67b8a8", "body": "{\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Default error response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5a239209-e94d-4efa-8015-c4ff01438537", "documentation": "Update the metadata of a IoTSpaces instance.", "method": "patch", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.IoTSpaces/Graph/:resourceName", "responses": [ { "uuid": "cb0a384c-955f-4d1a-b177-9371933ba96c", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "This is returned as a response to the status polling request for the create or update operation. The body contains the resource representation that indicates a transitional provisioning state.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "ef4dc9f8-92fd-4ead-8fe7-f28c016bec9a", "body": "", "latency": 0, "statusCode": 202, "label": "Accepted - Put request accepted; the operation will complete asynchronously.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "a47ec150-cd3d-4da3-bd53-343b75be6278", "body": "{\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "DefaultErrorResponse", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "fad6161b-85a2-442b-ab52-9de9ec3f96e8", "documentation": "Create or update the metadata of an IoTSpaces instance. The usual pattern to modify a property is to retrieve the IoTSpaces instance metadata and security metadata, and then combine them with the modified values in a new body to update the IoTSpaces instance.", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.IoTSpaces/Graph/:resourceName", "responses": [ { "uuid": "4ad7eb7d-6efa-4f83-852f-f266ca3ec9fd", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "This is returned as a response to the status polling request for the create or update operation. The body contains the resource representation that indicates a transitional provisioning state.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "0ba039bd-906a-45fc-8e59-157428b4be15", "body": "", "latency": 0, "statusCode": 202, "label": "Accepted - Put request accepted; the operation will complete asynchronously.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "30c0b948-d3cd-4fcc-93a9-9f244b03b0bf", "body": "{\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "DefaultErrorResponse", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }