{ "uuid": "06a0853a-c467-4829-b61f-1f577f7aef45", "lastMigration": 29, "name": "Cloud Shell API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "3f93ee32-7753-456d-8901-f2cefec71509", "documentation": "Adds a public SSH key to an environment, allowing clients with the corresponding private key to connect to that environment via SSH. If a key with the same content already exists, this will error with ALREADY_EXISTS.", "method": "post", "endpoint": "v1/:environment:addPublicKey", "responses": [ { "uuid": "10ce5735-4dd9-441f-add6-9055776b91f1", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful 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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "32122157-fb19-4d27-9308-59a4b7e8153a", "documentation": "Removes a public SSH key from an environment. Clients will no longer be able to connect to the environment using the corresponding private key. If a key with the same content is not present, this will error with NOT_FOUND.", "method": "post", "endpoint": "v1/:environment:removePublicKey", "responses": [ { "uuid": "9dedbe0f-55de-4ec7-b2ad-05c254bff321", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful 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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "297502d2-cf2e-4a07-b3ef-8efe2873f7a4", "documentation": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", "method": "delete", "endpoint": "v1/:name", "responses": [ { "uuid": "8d087c34-d794-4928-ab97-13547bf430d9", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful 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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "068d2720-80f3-4a8f-a191-f0643206441c", "documentation": "Gets an environment. Returns NOT_FOUND if the environment does not exist.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "e8b69cb4-a610-4712-afd3-6bcf4eca7f4b", "body": "{\n \"dockerImage\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"publicKeys\": [\n \"\"\n ],\n \"sshHost\": \"\",\n \"sshPort\": {{faker 'number.int' max=99999}},\n \"sshUsername\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'SUSPENDED' 'PENDING' 'RUNNING' 'DELETING')}}\",\n \"webHost\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful 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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d1189111-888d-494a-ab4d-9d09f507f240", "documentation": "Sends OAuth credentials to a running environment on behalf of a user. When this completes, the environment will be authorized to run various Google Cloud command line tools without requiring the user to manually authenticate.", "method": "post", "endpoint": "v1/:name:authorize", "responses": [ { "uuid": "94d25588-d73d-4643-83dc-c4de4f5d29a0", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful 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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70b07d44-dd6d-4c4b-8957-7a1cc4d64021", "documentation": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", "method": "post", "endpoint": "v1/:name:cancel", "responses": [ { "uuid": "71fa18d6-8da6-4131-a5da-66a4291f96cb", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful 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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "acbca893-f095-4f2e-8d6d-7d243f2d4c61", "documentation": "Starts an existing environment, allowing clients to connect to it. The returned operation will contain an instance of StartEnvironmentMetadata in its metadata field. Users can wait for the environment to start by polling this operation via GetOperation. Once the environment has finished starting and is ready to accept connections, the operation will contain a StartEnvironmentResponse in its response field.", "method": "post", "endpoint": "v1/:name:start", "responses": [ { "uuid": "6c960d26-7407-4481-a35c-544b5c3f93e3", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful 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" } ], "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": "3f93ee32-7753-456d-8901-f2cefec71509" }, { "type": "route", "uuid": "32122157-fb19-4d27-9308-59a4b7e8153a" }, { "type": "route", "uuid": "297502d2-cf2e-4a07-b3ef-8efe2873f7a4" }, { "type": "route", "uuid": "068d2720-80f3-4a8f-a191-f0643206441c" }, { "type": "route", "uuid": "d1189111-888d-494a-ab4d-9d09f507f240" }, { "type": "route", "uuid": "70b07d44-dd6d-4c4b-8957-7a1cc4d64021" }, { "type": "route", "uuid": "acbca893-f095-4f2e-8d6d-7d243f2d4c61" } ] }