{ "uuid": "fdae47eb-dd1e-4b2a-82d3-b17f683af8c4", "lastMigration": 29, "name": "Cloud OS Login API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "53962448-8b7a-4746-aef6-ce9d2777ea2f", "documentation": "Deletes an SSH public key.", "method": "delete", "endpoint": "v1beta/:name", "responses": [ { "uuid": "76b027ed-8698-44f9-b62a-beec3c40b568", "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": "7c2244ac-39e2-40d4-853f-db66bdc19283", "documentation": "Retrieves an SSH public key.", "method": "get", "endpoint": "v1beta/:name", "responses": [ { "uuid": "c5a86e55-0910-446a-b09c-15f7626b2e94", "body": "{\n \"expirationTimeUsec\": \"\",\n \"fingerprint\": \"\",\n \"key\": \"\",\n \"name\": \"\"\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": "792958fe-744b-44b8-9cd1-d7eace14a7f2", "documentation": "Updates an SSH public key and returns the profile information. This method supports patch semantics.", "method": "patch", "endpoint": "v1beta/:name", "responses": [ { "uuid": "7d41e223-fad2-4f84-9b65-62f5f54b3fa0", "body": "{\n \"expirationTimeUsec\": \"\",\n \"fingerprint\": \"\",\n \"key\": \"\",\n \"name\": \"\"\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": "8069745c-c0c4-4ae7-95f3-486a323c3b0a", "documentation": "Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.", "method": "get", "endpoint": "v1beta/:name/loginProfile", "responses": [ { "uuid": "affeea65-584a-49ff-a6d2-f525acab210e", "body": "{\n \"name\": \"\",\n \"posixAccounts\": [\n {\n \"accountId\": \"\",\n \"gecos\": \"\",\n \"gid\": \"\",\n \"homeDirectory\": \"\",\n \"name\": \"\",\n \"operatingSystemType\": \"{{oneOf (array 'OPERATING_SYSTEM_TYPE_UNSPECIFIED' 'LINUX' 'WINDOWS')}}\",\n \"primary\": {{faker 'datatype.boolean'}},\n \"shell\": \"\",\n \"systemId\": \"\",\n \"uid\": \"\",\n \"username\": \"\"\n }\n ],\n \"securityKeys\": [\n {\n \"privateKey\": \"\",\n \"publicKey\": \"\",\n \"universalTwoFactor\": {\n \"appId\": \"\"\n },\n \"webAuthn\": {\n \"rpId\": \"\"\n }\n }\n ],\n \"sshPublicKeys\": {}\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": "7727f725-f2dd-4704-a33c-2e0903aae493", "documentation": "Create an SSH public key", "method": "post", "endpoint": "v1beta/:parent/sshPublicKeys", "responses": [ { "uuid": "e31c3c39-de06-4d73-bff8-aa4aea90f20b", "body": "{\n \"expirationTimeUsec\": \"\",\n \"fingerprint\": \"\",\n \"key\": \"\",\n \"name\": \"\"\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": "db4fceca-c5f8-44bb-b028-b33588f14377", "documentation": "Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.", "method": "post", "endpoint": "v1beta/:parent:importSshPublicKey", "responses": [ { "uuid": "49691c05-ee15-459d-af0b-68221314216f", "body": "{\n \"details\": \"\",\n \"loginProfile\": {\n \"name\": \"\",\n \"posixAccounts\": [\n {\n \"accountId\": \"\",\n \"gecos\": \"\",\n \"gid\": \"\",\n \"homeDirectory\": \"\",\n \"name\": \"\",\n \"operatingSystemType\": \"{{oneOf (array 'OPERATING_SYSTEM_TYPE_UNSPECIFIED' 'LINUX' 'WINDOWS')}}\",\n \"primary\": {{faker 'datatype.boolean'}},\n \"shell\": \"\",\n \"systemId\": \"\",\n \"uid\": \"\",\n \"username\": \"\"\n }\n ],\n \"securityKeys\": [\n {\n \"privateKey\": \"\",\n \"publicKey\": \"\",\n \"universalTwoFactor\": {\n \"appId\": \"\"\n },\n \"webAuthn\": {\n \"rpId\": \"\"\n }\n }\n ],\n \"sshPublicKeys\": {}\n }\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": "53962448-8b7a-4746-aef6-ce9d2777ea2f" }, { "type": "route", "uuid": "7c2244ac-39e2-40d4-853f-db66bdc19283" }, { "type": "route", "uuid": "792958fe-744b-44b8-9cd1-d7eace14a7f2" }, { "type": "route", "uuid": "8069745c-c0c4-4ae7-95f3-486a323c3b0a" }, { "type": "route", "uuid": "7727f725-f2dd-4704-a33c-2e0903aae493" }, { "type": "route", "uuid": "db4fceca-c5f8-44bb-b028-b33588f14377" } ] }