{ "uuid": "36a922f2-feb8-4fce-8aa5-febb56fd9f4c", "lastMigration": 29, "name": "Karnataka Department of Transport, Karnataka", "endpointPrefix": "transportka/v3", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "8660f36f-c870-4dee-8ce9-14dcab750498", "documentation": "Driving License", "method": "post", "endpoint": "drvlc/certificate", "responses": [ { "uuid": "d4c582a3-d233-48e7-ac1b-52e3fd0dd3ca", "body": "", "latency": 0, "statusCode": 200, "label": "The certificate data in response body in PDF, XML or JSON format as requested in format parameter.", "headers": [{ "key": "Content-Type", "value": "application/pdf" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ccca9383-57af-4216-aaa4-49afbfe9711d", "body": "{\n \"error\": \"{{oneOf (array 'missing_parameter' 'invalid_parameter' 'invalid_format' 'invalid_txnid' 'invalid_consentid')}}\",\n \"errorDescription\": \"{{oneOf (array 'Please provide all mandatory parameters' 'Bad request' 'The format parameter is invalid' 'The txnId parameter must be in UUID format' 'The consentId parameter must be in UUID format')}}\"\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cb4d701e-c98c-4dac-87d7-496084c3254a", "body": "{\n \"error\": \"{{oneOf (array 'invalid_authentication' 'invalid_authorization')}}\",\n \"errorDescription\": \"{{oneOf (array 'Authentication failed' 'You are not authorized to use this API')}}\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized access", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3253f137-19b9-4eed-8690-09466672dd38", "body": "{\n \"error\": \"{{oneOf (array 'record_not_found' 'url_not_found')}}\",\n \"errorDescription\": \"{{oneOf (array 'No record found' 'Your API url or path is incorrect')}}\"\n}", "latency": 0, "statusCode": 404, "label": "No record found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1583456f-9383-460b-bea1-ac4840ed5791", "body": "{\n \"error\": \"{{oneOf (array 'internal_server_error')}}\",\n \"errorDescription\": \"{{oneOf (array 'Internal server error')}}\"\n}", "latency": 0, "statusCode": 500, "label": "Internal server 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" }, { "uuid": "21b4c73e-9234-449c-a00f-d4034c03404e", "body": "{\n \"error\": \"{{oneOf (array 'bad_gatewy')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service returned an invalid response')}}\"\n}", "latency": 0, "statusCode": 502, "label": "Bad gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7d6276ba-f6b1-4901-ba4c-b980d87513b8", "body": "{\n \"error\": \"{{oneOf (array 'service_unavailable')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service is temporarily unavailable')}}\"\n}", "latency": 0, "statusCode": 503, "label": "Service unavailable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6d99106d-8f81-430e-b775-225a7e6d0b7a", "body": "{\n \"error\": \"{{oneOf (array 'gateway_timeout')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service did not respond in time')}}\"\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "19f008ba-50be-4539-a947-80eeb4996f66", "documentation": "Registration of Vehicles", "method": "post", "endpoint": "rvcer/certificate", "responses": [ { "uuid": "4f143f19-2063-4742-b9ca-6a8739da731d", "body": "", "latency": 0, "statusCode": 200, "label": "The certificate data in response body in PDF, XML or JSON format as requested in format parameter.", "headers": [{ "key": "Content-Type", "value": "application/pdf" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "28e930ce-1dbc-4056-8d96-a14fff01cde7", "body": "{\n \"error\": \"{{oneOf (array 'missing_parameter' 'invalid_parameter' 'invalid_format' 'invalid_txnid' 'invalid_consentid')}}\",\n \"errorDescription\": \"{{oneOf (array 'Please provide all mandatory parameters' 'Bad request' 'The format parameter is invalid' 'The txnId parameter must be in UUID format' 'The consentId parameter must be in UUID format')}}\"\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5ea9fa34-94cc-47b8-87b5-bb9456918dc2", "body": "{\n \"error\": \"{{oneOf (array 'invalid_authentication' 'invalid_authorization')}}\",\n \"errorDescription\": \"{{oneOf (array 'Authentication failed' 'You are not authorized to use this API')}}\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized access", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "18c96274-1136-48ee-995e-55b7b9327ede", "body": "{\n \"error\": \"{{oneOf (array 'record_not_found' 'url_not_found')}}\",\n \"errorDescription\": \"{{oneOf (array 'No record found' 'Your API url or path is incorrect')}}\"\n}", "latency": 0, "statusCode": 404, "label": "No record found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "78c103f6-20d3-422a-950d-1c010c41ffee", "body": "{\n \"error\": \"{{oneOf (array 'internal_server_error')}}\",\n \"errorDescription\": \"{{oneOf (array 'Internal server error')}}\"\n}", "latency": 0, "statusCode": 500, "label": "Internal server 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" }, { "uuid": "d26dede7-d01c-4a2c-bbdc-c123e3c4154b", "body": "{\n \"error\": \"{{oneOf (array 'bad_gatewy')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service returned an invalid response')}}\"\n}", "latency": 0, "statusCode": 502, "label": "Bad gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "583cfc97-9ae4-442b-ae63-5ee8f5280d1d", "body": "{\n \"error\": \"{{oneOf (array 'service_unavailable')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service is temporarily unavailable')}}\"\n}", "latency": 0, "statusCode": 503, "label": "Service unavailable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c20eb9aa-f30f-4e3a-bec4-1b1d2835c976", "body": "{\n \"error\": \"{{oneOf (array 'gateway_timeout')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service did not respond in time')}}\"\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "8660f36f-c870-4dee-8ce9-14dcab750498" }, { "type": "route", "uuid": "19f008ba-50be-4539-a947-80eeb4996f66" } ] }