{ "uuid": "179a7ff3-95ad-4f86-a566-38e4a1241aee", "lastMigration": 29, "name": "Debian Code Search", "endpointPrefix": "api/v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "62b0bbe7-647e-4b00-b79b-54b711b4fd59", "documentation": "Searches through source code", "method": "get", "endpoint": "search", "responses": [ { "uuid": "7bf01a28-2cc0-4e6e-a534-ac1da7de5780", "body": "[\n {\n \"context\": \" i3Font cursor_font = load_font(\\\"cursor\\\", false);\",\n \"context_after\": [\n \" xcb_create_glyph_cursor(\",\n \" xcb_connection,\"\n ],\n \"context_before\": [\n \" } else {\",\n \" cursor = xcb_generate_id(xcb_connection);\"\n ],\n \"line\": 1313,\n \"package\": \"i3-wm_4.18-1\",\n \"path\": \"i3bar/src/xcb.c\"\n }\n]", "latency": 0, "statusCode": 200, "label": "All search results", "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": "f1aba166-237f-4768-acfa-071611575328", "body": "", "latency": 0, "statusCode": 403, "label": "The x-dcs-apikey header was either not set at all, or contained an invalid (no longer valid?) API key. Please see https://codesearch.debian.net/apikeys/ for obtaining a key.", "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": "e5cf1e94-f807-440f-8da5-43c2faf0b3a0", "documentation": "Like /search, but aggregates per package", "method": "get", "endpoint": "searchperpackage", "responses": [ { "uuid": "1dc1d2f0-564c-4ee4-8300-ef628f81e735", "body": "[\n {\n \"package\": \"i3-wm_4.18-1\",\n \"results\": [\n {\n \"context\": \" i3Font cursor_font = load_font(\\\"cursor\\\", false);\",\n \"context_after\": [\n \" xcb_create_glyph_cursor(\",\n \" xcb_connection,\"\n ],\n \"context_before\": [\n \" } else {\",\n \" cursor = xcb_generate_id(xcb_connection);\"\n ],\n \"line\": 1313,\n \"package\": \"i3-wm_4.18-1\",\n \"path\": \"i3bar/src/xcb.c\"\n }\n ]\n }\n]", "latency": 0, "statusCode": 200, "label": "All search results", "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": "93e4cc53-4f1b-48c5-9eeb-59db38ee7bf9", "body": "", "latency": 0, "statusCode": 403, "label": "The x-dcs-apikey header was either not set at all, or contained an invalid (no longer valid?) API key. Please see https://codesearch.debian.net/apikeys/ for obtaining a key.", "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": "62b0bbe7-647e-4b00-b79b-54b711b4fd59" }, { "type": "route", "uuid": "e5cf1e94-f807-440f-8da5-43c2faf0b3a0" } ] }