{ "uuid": "5f7a2c16-3585-46fb-bfd7-39fbcc6b48f7", "lastMigration": 29, "name": "Customer Lockbox", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "c23b33bd-33d0-425d-b977-55d08265da25", "documentation": "Lists all the available REST API operations.", "method": "get", "endpoint": "providers/Microsoft.CustomerLockbox/operations", "responses": [ { "uuid": "44e6835e-5752-4fd8-a8ca-85769a89c3fb", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"display\": {\n \"description\": \"\",\n \"operation\": \"\",\n \"provider\": \"\",\n \"resource\": \"\"\n },\n \"isDataAction\": \"\",\n \"name\": \"\",\n \"origin\": \"\",\n \"properties\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK. Successfully retrieved operation list.", "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": "4568feb3-0cf1-4f77-b06d-391ecaff81fc", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {\n \"currentStatus\": \"{{oneOf (array 'Initializing' 'Pending' 'Approving' 'Denying' 'Approved' 'Denied' 'Expired' 'Revoking' 'Revoked' 'Error' 'Unknown' 'Completed' 'Completing')}}\"\n },\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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": "fb67f674-cd8c-4097-95ed-ababcc4f365d", "documentation": "Lists all of the Lockbox requests in the given subscription.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.CustomerLockbox/requests", "responses": [ { "uuid": "7bbe5396-983c-4c0d-9b11-6b378ac4b98a", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdDateTime\": \"{{faker 'date.recent' 365}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"expirationDateTime\": \"{{faker 'date.recent' 365}}\",\n \"justification\": \"\",\n \"requestId\": \"\",\n \"requestedResourceIds\": [\n \"\"\n ],\n \"resourceType\": \"\",\n \"status\": \"{{oneOf (array 'Initializing' 'Pending' 'Approving' 'Denying' 'Approved' 'Denied' 'Expired' 'Revoking' 'Revoked' 'Error' 'Unknown' 'Completed' 'Completing')}}\",\n \"subscriptionId\": \"\",\n \"supportCaseUrl\": \"\",\n \"supportRequest\": \"\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successfully listed the Lockbox requests under the given 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": "769748c9-acc9-4b1d-8d9f-ab6ad265559c", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {\n \"currentStatus\": \"{{oneOf (array 'Initializing' 'Pending' 'Approving' 'Denying' 'Approved' 'Denied' 'Expired' 'Revoking' 'Revoked' 'Error' 'Unknown' 'Completed' 'Completing')}}\"\n },\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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": "daa09176-6263-4f18-a775-be465228c1d1", "documentation": "Get Customer Lockbox request", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.CustomerLockbox/requests/:requestId", "responses": [ { "uuid": "ecbc080d-e03c-4b06-8354-15c5dba9c555", "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"createdDateTime\": \"{{faker 'date.recent' 365}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"expirationDateTime\": \"{{faker 'date.recent' 365}}\",\n \"justification\": \"\",\n \"requestId\": \"\",\n \"requestedResourceIds\": [\n \"\"\n ],\n \"resourceType\": \"\",\n \"status\": \"{{oneOf (array 'Initializing' 'Pending' 'Approving' 'Denying' 'Approved' 'Denied' 'Expired' 'Revoking' 'Revoked' 'Error' 'Unknown' 'Completed' 'Completing')}}\",\n \"subscriptionId\": \"\",\n \"supportCaseUrl\": \"\",\n \"supportRequest\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Retrieval of Customer Lockbox request successful.", "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": "f750024a-6d07-43b2-9fcc-5606f288549d", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {\n \"currentStatus\": \"{{oneOf (array 'Initializing' 'Pending' 'Approving' 'Denying' 'Approved' 'Denied' 'Expired' 'Revoking' 'Revoked' 'Error' 'Unknown' 'Completed' 'Completing')}}\"\n },\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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": "7f892954-68a0-411e-ae69-70def6f46726", "documentation": "Update Customer Lockbox request approval status API", "method": "post", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.CustomerLockbox/requests/:requestId/UpdateApproval", "responses": [ { "uuid": "27d7d3d7-ba4c-40e3-a98e-14551ec1089e", "body": "{\n \"decision\": \"{{oneOf (array 'Approve' 'Deny')}}\",\n \"reason\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Update of Request Status successful", "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": "48376b95-2b22-4ec4-a267-776ffaca76a8", "body": "{\n \"error\": {\n \"additionalInfo\": [\n {\n \"info\": {\n \"currentStatus\": \"{{oneOf (array 'Initializing' 'Pending' 'Approving' 'Denying' 'Approved' 'Denied' 'Expired' 'Revoking' 'Revoked' 'Error' 'Unknown' 'Completed' 'Completing')}}\"\n },\n \"type\": \"\"\n }\n ],\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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": "c23b33bd-33d0-425d-b977-55d08265da25" }, { "type": "route", "uuid": "fb67f674-cd8c-4097-95ed-ababcc4f365d" }, { "type": "route", "uuid": "daa09176-6263-4f18-a775-be465228c1d1" }, { "type": "route", "uuid": "7f892954-68a0-411e-ae69-70def6f46726" } ] }