{ "uuid": "50227bc2-b460-47b7-ae39-a9ece98c45e8", "lastMigration": 29, "name": "Cloud Debugger API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "e3024862-a0a0-49c2-aaf2-09bdef3c58ae", "documentation": "Registers the debuggee with the controller service. All agents attached to the same application must call this method with exactly the same request content to get back the same stable `debuggee_id`. Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method. This protocol allows the controller service to disable debuggees, recover from data loss, or change the `debuggee_id` format. Agents must handle `debuggee_id` value changing upon re-registration.", "method": "post", "endpoint": "v2/controller/debuggees/register", "responses": [ { "uuid": "e59e6030-152c-422b-99ab-8247a82ae86a", "body": "{\n \"agentId\": \"\",\n \"debuggee\": {\n \"agentVersion\": \"\",\n \"canaryMode\": \"{{oneOf (array 'CANARY_MODE_UNSPECIFIED' 'CANARY_MODE_ALWAYS_ENABLED' 'CANARY_MODE_ALWAYS_DISABLED' 'CANARY_MODE_DEFAULT_ENABLED' 'CANARY_MODE_DEFAULT_DISABLED')}}\",\n \"description\": \"\",\n \"extSourceContexts\": [\n {\n \"context\": {\n \"cloudRepo\": {\n \"aliasContext\": {\n \"kind\": \"{{oneOf (array 'ANY' 'FIXED' 'MOVABLE' 'OTHER')}}\",\n \"name\": \"\"\n },\n \"aliasName\": \"\",\n \"repoId\": {\n \"projectRepoId\": {\n \"projectId\": \"\",\n \"repoName\": \"\"\n },\n \"uid\": \"\"\n },\n \"revisionId\": \"\"\n },\n \"cloudWorkspace\": {\n \"snapshotId\": \"\",\n \"workspaceId\": {\n \"name\": \"\",\n \"repoId\": {\n \"projectRepoId\": {\n \"projectId\": \"\",\n \"repoName\": \"\"\n },\n \"uid\": \"\"\n }\n }\n },\n \"gerrit\": {\n \"aliasContext\": {\n \"kind\": \"{{oneOf (array 'ANY' 'FIXED' 'MOVABLE' 'OTHER')}}\",\n \"name\": \"\"\n },\n \"aliasName\": \"\",\n \"gerritProject\": \"\",\n \"hostUri\": \"\",\n \"revisionId\": \"\"\n },\n \"git\": {\n \"revisionId\": \"\",\n \"url\": \"\"\n }\n },\n \"labels\": {}\n }\n ],\n \"id\": \"\",\n \"isDisabled\": {{faker 'datatype.boolean'}},\n \"isInactive\": {{faker 'datatype.boolean'}},\n \"labels\": {},\n \"project\": \"\",\n \"sourceContexts\": [\n {\n \"cloudRepo\": {\n \"aliasContext\": {\n \"kind\": \"{{oneOf (array 'ANY' 'FIXED' 'MOVABLE' 'OTHER')}}\",\n \"name\": \"\"\n },\n \"aliasName\": \"\",\n \"repoId\": {\n \"projectRepoId\": {\n \"projectId\": \"\",\n \"repoName\": \"\"\n },\n \"uid\": \"\"\n },\n \"revisionId\": \"\"\n },\n \"cloudWorkspace\": {\n \"snapshotId\": \"\",\n \"workspaceId\": {\n \"name\": \"\",\n \"repoId\": {\n \"projectRepoId\": {\n \"projectId\": \"\",\n \"repoName\": \"\"\n },\n \"uid\": \"\"\n }\n }\n },\n \"gerrit\": {\n \"aliasContext\": {\n \"kind\": \"{{oneOf (array 'ANY' 'FIXED' 'MOVABLE' 'OTHER')}}\",\n \"name\": \"\"\n },\n \"aliasName\": \"\",\n \"gerritProject\": \"\",\n \"hostUri\": \"\",\n \"revisionId\": \"\"\n },\n \"git\": {\n \"revisionId\": \"\",\n \"url\": \"\"\n }\n }\n ],\n \"status\": {\n \"description\": {\n \"format\": \"\",\n \"parameters\": [\n \"\"\n ]\n },\n \"isError\": {{faker 'datatype.boolean'}},\n \"refersTo\": \"{{oneOf (array 'UNSPECIFIED' 'BREAKPOINT_SOURCE_LOCATION' 'BREAKPOINT_CONDITION' 'BREAKPOINT_EXPRESSION' 'BREAKPOINT_AGE' 'BREAKPOINT_CANARY_FAILED' 'VARIABLE_NAME' 'VARIABLE_VALUE')}}\"\n },\n \"uniquifier\": \"\"\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": "080fb1a5-c21f-4fc7-be16-33958168554b", "documentation": "Returns the list of all active breakpoints for the debuggee. The breakpoint specification (`location`, `condition`, and `expressions` fields) is semantically immutable, although the field values may change. For example, an agent may update the location line number to reflect the actual line where the breakpoint was set, but this doesn't change the breakpoint semantics. This means that an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember the breakpoints that are completed until the controller removes them from the active list to avoid setting those breakpoints again.", "method": "get", "endpoint": "v2/controller/debuggees/:debuggeeId/breakpoints", "responses": [ { "uuid": "39afa556-6590-47f3-87ec-0416305b9edc", "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": "5d39e527-34eb-4cea-80bd-ee5dca68e323", "documentation": "Updates the breakpoint state or mutable fields. The entire Breakpoint message must be sent back to the controller service. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the `location`, `condition` and `expressions` fields should not alter the breakpoint semantics. These may only make changes such as canonicalizing a value or snapping the location to the correct line of code.", "method": "put", "endpoint": "v2/controller/debuggees/:debuggeeId/breakpoints/:id", "responses": [ { "uuid": "5301cc5b-64de-4150-88d7-06214cdf4c67", "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": "f60ff481-c6c0-4feb-b48e-7d52b5632489", "documentation": "Lists all the debuggees that the user has access to.", "method": "get", "endpoint": "v2/debugger/debuggees", "responses": [ { "uuid": "ab35aba2-651d-43b5-8cac-697bfcbe517e", "body": "{\n \"debuggees\": [\n {\n \"agentVersion\": \"\",\n \"canaryMode\": \"{{oneOf (array 'CANARY_MODE_UNSPECIFIED' 'CANARY_MODE_ALWAYS_ENABLED' 'CANARY_MODE_ALWAYS_DISABLED' 'CANARY_MODE_DEFAULT_ENABLED' 'CANARY_MODE_DEFAULT_DISABLED')}}\",\n \"description\": \"\",\n \"extSourceContexts\": [\n {\n \"context\": {\n \"cloudRepo\": {\n \"aliasContext\": {\n \"kind\": \"{{oneOf (array 'ANY' 'FIXED' 'MOVABLE' 'OTHER')}}\",\n \"name\": \"\"\n },\n \"aliasName\": \"\",\n \"repoId\": {\n \"projectRepoId\": {\n \"projectId\": \"\",\n \"repoName\": \"\"\n },\n \"uid\": \"\"\n },\n \"revisionId\": \"\"\n },\n \"cloudWorkspace\": {\n \"snapshotId\": \"\",\n \"workspaceId\": {\n \"name\": \"\",\n \"repoId\": {\n \"projectRepoId\": {\n \"projectId\": \"\",\n \"repoName\": \"\"\n },\n \"uid\": \"\"\n }\n }\n },\n \"gerrit\": {\n \"aliasContext\": {\n \"kind\": \"{{oneOf (array 'ANY' 'FIXED' 'MOVABLE' 'OTHER')}}\",\n \"name\": \"\"\n },\n \"aliasName\": \"\",\n \"gerritProject\": \"\",\n \"hostUri\": \"\",\n \"revisionId\": \"\"\n },\n \"git\": {\n \"revisionId\": \"\",\n \"url\": \"\"\n }\n },\n \"labels\": {}\n }\n ],\n \"id\": \"\",\n \"isDisabled\": {{faker 'datatype.boolean'}},\n \"isInactive\": {{faker 'datatype.boolean'}},\n \"labels\": {},\n \"project\": \"\",\n \"sourceContexts\": [\n {\n \"cloudRepo\": {\n \"aliasContext\": {\n \"kind\": \"{{oneOf (array 'ANY' 'FIXED' 'MOVABLE' 'OTHER')}}\",\n \"name\": \"\"\n },\n \"aliasName\": \"\",\n \"repoId\": {\n \"projectRepoId\": {\n \"projectId\": \"\",\n \"repoName\": \"\"\n },\n \"uid\": \"\"\n },\n \"revisionId\": \"\"\n },\n \"cloudWorkspace\": {\n \"snapshotId\": \"\",\n \"workspaceId\": {\n \"name\": \"\",\n \"repoId\": {\n \"projectRepoId\": {\n \"projectId\": \"\",\n \"repoName\": \"\"\n },\n \"uid\": \"\"\n }\n }\n },\n \"gerrit\": {\n \"aliasContext\": {\n \"kind\": \"{{oneOf (array 'ANY' 'FIXED' 'MOVABLE' 'OTHER')}}\",\n \"name\": \"\"\n },\n \"aliasName\": \"\",\n \"gerritProject\": \"\",\n \"hostUri\": \"\",\n \"revisionId\": \"\"\n },\n \"git\": {\n \"revisionId\": \"\",\n \"url\": \"\"\n }\n }\n ],\n \"status\": {\n \"description\": {\n \"format\": \"\",\n \"parameters\": [\n \"\"\n ]\n },\n \"isError\": {{faker 'datatype.boolean'}},\n \"refersTo\": \"{{oneOf (array 'UNSPECIFIED' 'BREAKPOINT_SOURCE_LOCATION' 'BREAKPOINT_CONDITION' 'BREAKPOINT_EXPRESSION' 'BREAKPOINT_AGE' 'BREAKPOINT_CANARY_FAILED' 'VARIABLE_NAME' 'VARIABLE_VALUE')}}\"\n },\n \"uniquifier\": \"\"\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": "bcbec09e-e65f-4933-a8f5-4fc8bce7f890", "documentation": "Lists all breakpoints for the debuggee.", "method": "get", "endpoint": "v2/debugger/debuggees/:debuggeeId/breakpoints", "responses": [ { "uuid": "115aba4c-44fd-40a9-a68a-28fb0a2423f5", "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": "baa5378e-4bb5-4008-a90d-d672381e4d13", "documentation": "Sets the breakpoint to the debuggee.", "method": "post", "endpoint": "v2/debugger/debuggees/:debuggeeId/breakpoints/set", "responses": [ { "uuid": "69ad89f7-5442-46aa-8299-ccc3ea085f3d", "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": "ad99891d-6a8d-481e-8817-8312d70f2f99", "documentation": "Deletes the breakpoint from the debuggee.", "method": "delete", "endpoint": "v2/debugger/debuggees/:debuggeeId/breakpoints/:breakpointId", "responses": [ { "uuid": "87ccad42-6420-4808-8de5-a7ce6d0f3b23", "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": "ddf46c9b-132c-4440-8e0d-683a1a9fd0b2", "documentation": "Gets breakpoint information.", "method": "get", "endpoint": "v2/debugger/debuggees/:debuggeeId/breakpoints/:breakpointId", "responses": [ { "uuid": "9c554e54-d3f8-458c-b58a-78508ede5901", "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" } ], "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": "e3024862-a0a0-49c2-aaf2-09bdef3c58ae" }, { "type": "route", "uuid": "080fb1a5-c21f-4fc7-be16-33958168554b" }, { "type": "route", "uuid": "5d39e527-34eb-4cea-80bd-ee5dca68e323" }, { "type": "route", "uuid": "f60ff481-c6c0-4feb-b48e-7d52b5632489" }, { "type": "route", "uuid": "bcbec09e-e65f-4933-a8f5-4fc8bce7f890" }, { "type": "route", "uuid": "baa5378e-4bb5-4008-a90d-d672381e4d13" }, { "type": "route", "uuid": "ad99891d-6a8d-481e-8817-8312d70f2f99" }, { "type": "route", "uuid": "ddf46c9b-132c-4440-8e0d-683a1a9fd0b2" } ] }