{ "uuid": "36f53a48-026b-4858-9b4c-791fe868e3ad", "lastMigration": 29, "name": "Service Directory API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "a517eaac-2841-4234-9b1b-1b133f6584f2", "documentation": "Deletes an endpoint.", "method": "delete", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "470f7f00-63d1-48b2-adaa-4fda51e9c1e0", "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": "ef3f2adf-a1f8-4453-a0b5-a19d8ee4d990", "documentation": "Gets an endpoint.", "method": "get", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "fb2b0a80-67fa-40d9-a70f-9f862658d0fc", "body": "{\n \"address\": \"\",\n \"createTime\": \"\",\n \"metadata\": {},\n \"name\": \"\",\n \"network\": \"\",\n \"port\": {{faker 'number.int' max=99999}},\n \"updateTime\": \"\"\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": "2ef111bf-010e-4863-8f77-ae591c9db9d9", "documentation": "Updates an endpoint.", "method": "patch", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "a759abd3-ed2b-4597-b58a-1b597415f4f1", "body": "{\n \"address\": \"\",\n \"createTime\": \"\",\n \"metadata\": {},\n \"name\": \"\",\n \"network\": \"\",\n \"port\": {{faker 'number.int' max=99999}},\n \"updateTime\": \"\"\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": "fea2dbd1-2b73-40a3-855e-4de13fa1a704", "documentation": "Lists information about the supported locations for this service.", "method": "get", "endpoint": "v1beta1/:name/locations", "responses": [ { "uuid": "e49eebc8-13f2-49aa-b746-08fa5f9d92cf", "body": "{\n \"locations\": [\n {\n \"displayName\": \"\",\n \"labels\": {},\n \"locationId\": \"\",\n \"metadata\": {},\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\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": "d4c0bbc6-e497-44b4-be9e-f574f4bd2b2e", "documentation": "Returns a service and its associated endpoints. Resolving a service is not considered an active developer method.", "method": "post", "endpoint": "v1beta1/:name:resolve", "responses": [ { "uuid": "44f7c606-9d5a-42ac-b02b-e65a94c2aec6", "body": "{\n \"service\": {\n \"createTime\": \"\",\n \"endpoints\": [\n {\n \"address\": \"\",\n \"createTime\": \"\",\n \"metadata\": {},\n \"name\": \"\",\n \"network\": \"\",\n \"port\": {{faker 'number.int' max=99999}},\n \"updateTime\": \"\"\n }\n ],\n \"metadata\": {},\n \"name\": \"\",\n \"updateTime\": \"\"\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" }, { "uuid": "a96fe20f-47aa-4ad7-b05c-5ccd525365ee", "documentation": "Lists all endpoints.", "method": "get", "endpoint": "v1beta1/:parent/endpoints", "responses": [ { "uuid": "4fb4d33b-787c-4d88-a4b7-d9fff7dbaca9", "body": "{\n \"endpoints\": [\n {\n \"address\": \"\",\n \"createTime\": \"\",\n \"metadata\": {},\n \"name\": \"\",\n \"network\": \"\",\n \"port\": {{faker 'number.int' max=99999}},\n \"updateTime\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\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": "4a315238-e89e-4191-8855-93fbadc22ea7", "documentation": "Creates an endpoint, and returns the new endpoint.", "method": "post", "endpoint": "v1beta1/:parent/endpoints", "responses": [ { "uuid": "091ecabf-8c04-4319-9aa8-4dced31c6368", "body": "{\n \"address\": \"\",\n \"createTime\": \"\",\n \"metadata\": {},\n \"name\": \"\",\n \"network\": \"\",\n \"port\": {{faker 'number.int' max=99999}},\n \"updateTime\": \"\"\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": "09a46e49-8756-45b1-973d-5e94c134833c", "documentation": "Lists all namespaces.", "method": "get", "endpoint": "v1beta1/:parent/namespaces", "responses": [ { "uuid": "a9c6b40b-b5f0-46be-8172-ea7819786ba7", "body": "{\n \"namespaces\": [\n {\n \"createTime\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"updateTime\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\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": "5f60ce7c-1659-4d4b-8a61-8bf95c6f686c", "documentation": "Creates a namespace, and returns the new namespace.", "method": "post", "endpoint": "v1beta1/:parent/namespaces", "responses": [ { "uuid": "bdbdc31d-73c2-4eb1-a612-43facdaf50db", "body": "{\n \"createTime\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"updateTime\": \"\"\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": "b5413e06-b6ab-4a99-b330-cd73cc4b0ed1", "documentation": "Lists all services belonging to a namespace.", "method": "get", "endpoint": "v1beta1/:parent/services", "responses": [ { "uuid": "01607a6c-3264-43f3-b73b-4b6e04ad2ffd", "body": "{\n \"nextPageToken\": \"\",\n \"services\": [\n {\n \"createTime\": \"\",\n \"endpoints\": [\n {\n \"address\": \"\",\n \"createTime\": \"\",\n \"metadata\": {},\n \"name\": \"\",\n \"network\": \"\",\n \"port\": {{faker 'number.int' max=99999}},\n \"updateTime\": \"\"\n }\n ],\n \"metadata\": {},\n \"name\": \"\",\n \"updateTime\": \"\"\n }\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" }, { "uuid": "cc205794-0ba5-48d1-a869-4b0efcf6cafd", "documentation": "Creates a service, and returns the new service.", "method": "post", "endpoint": "v1beta1/:parent/services", "responses": [ { "uuid": "4785c053-e3db-4f40-903c-5ba7e16230a7", "body": "{\n \"createTime\": \"\",\n \"endpoints\": [\n {\n \"address\": \"\",\n \"createTime\": \"\",\n \"metadata\": {},\n \"name\": \"\",\n \"network\": \"\",\n \"port\": {{faker 'number.int' max=99999}},\n \"updateTime\": \"\"\n }\n ],\n \"metadata\": {},\n \"name\": \"\",\n \"updateTime\": \"\"\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": "cb8482ce-f82f-4687-b7c8-d6a4a326b0bc", "documentation": "Gets the IAM Policy for a resource", "method": "post", "endpoint": "v1beta1/:resource:getIamPolicy", "responses": [ { "uuid": "e07f6412-2fbe-4909-8256-04071540bdf8", "body": "{\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\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": "3eb098d7-1ef2-4059-886b-94e3500e0b6e", "documentation": "Sets the IAM Policy for a resource", "method": "post", "endpoint": "v1beta1/:resource:setIamPolicy", "responses": [ { "uuid": "3b3ac5ac-d233-437f-aa47-12751f421c36", "body": "{\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\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": "e8102ed6-f464-4a03-bb67-105ae99b4851", "documentation": "Tests IAM permissions for a resource (namespace, service or service workload only).", "method": "post", "endpoint": "v1beta1/:resource:testIamPermissions", "responses": [ { "uuid": "d3b45b0e-3146-46b1-a80f-3821b7911ece", "body": "{\n \"permissions\": [\n \"\"\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": "a517eaac-2841-4234-9b1b-1b133f6584f2" }, { "type": "route", "uuid": "ef3f2adf-a1f8-4453-a0b5-a19d8ee4d990" }, { "type": "route", "uuid": "2ef111bf-010e-4863-8f77-ae591c9db9d9" }, { "type": "route", "uuid": "fea2dbd1-2b73-40a3-855e-4de13fa1a704" }, { "type": "route", "uuid": "d4c0bbc6-e497-44b4-be9e-f574f4bd2b2e" }, { "type": "route", "uuid": "a96fe20f-47aa-4ad7-b05c-5ccd525365ee" }, { "type": "route", "uuid": "4a315238-e89e-4191-8855-93fbadc22ea7" }, { "type": "route", "uuid": "09a46e49-8756-45b1-973d-5e94c134833c" }, { "type": "route", "uuid": "5f60ce7c-1659-4d4b-8a61-8bf95c6f686c" }, { "type": "route", "uuid": "b5413e06-b6ab-4a99-b330-cd73cc4b0ed1" }, { "type": "route", "uuid": "cc205794-0ba5-48d1-a869-4b0efcf6cafd" }, { "type": "route", "uuid": "cb8482ce-f82f-4687-b7c8-d6a4a326b0bc" }, { "type": "route", "uuid": "3eb098d7-1ef2-4059-886b-94e3500e0b6e" }, { "type": "route", "uuid": "e8102ed6-f464-4a03-bb67-105ae99b4851" } ] }