{ "uuid": "f0f4e644-2869-4a0e-b4f8-6c5123c1fb71", "lastMigration": 29, "name": "CodeScan API", "endpointPrefix": "api", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "f4a6fec7-c3f0-4ab5-bc62-801c6b8fe5aa", "documentation": "Get the status of a job", "method": "get", "endpoint": "job", "responses": [ { "uuid": "157ec874-c8c8-4aac-a1df-b8656c5652fe", "body": "{\n \"alert\": \"\",\n \"alertDescription\": \"\",\n \"analysisMode\": \"\",\n \"commit\": \"\",\n \"created\": \"\",\n \"emailReportTo\": \"\",\n \"finished\": \"\",\n \"jobId\": \"\",\n \"projectBranch\": \"\",\n \"projectKey\": \"\",\n \"started\": \"\",\n \"status\": \"\",\n \"url\": \"\",\n \"version\": \"\",\n \"warnings\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Profile information for a user", "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": "79ed08af-c274-422c-ac12-d2ba0c8e0750", "body": "{\n \"error\": {{faker 'number.int' max=99999}},\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "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": "572122ef-4bfd-4e35-ae97-14495deb8ac0", "documentation": "Queues a job", "method": "post", "endpoint": "job", "responses": [ { "uuid": "03c1df73-e4d2-4a59-be30-aeb072e9b517", "body": "{\n \"alert\": \"\",\n \"alertDescription\": \"\",\n \"analysisMode\": \"\",\n \"commit\": \"\",\n \"created\": \"\",\n \"emailReportTo\": \"\",\n \"finished\": \"\",\n \"jobId\": \"\",\n \"projectBranch\": \"\",\n \"projectKey\": \"\",\n \"started\": \"\",\n \"status\": \"\",\n \"url\": \"\",\n \"version\": \"\",\n \"warnings\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Profile information for a user", "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": "c2e3cde5-d19b-43a8-b4a5-9e2a5597b7da", "body": "{\n \"error\": {{faker 'number.int' max=99999}},\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "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": "f4a6fec7-c3f0-4ab5-bc62-801c6b8fe5aa" }, { "type": "route", "uuid": "572122ef-4bfd-4e35-ae97-14495deb8ac0" } ] }