{ "uuid": "edfdfcb0-6a47-4847-902b-cb2741bbb686", "lastMigration": 19, "name": "Transport Department, Gujarat", "endpointPrefix": "transportgj/v3", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "873f93f4-7daf-4947-98d4-9373e7361827", "documentation": "Driving License", "method": "post", "endpoint": "drvlc/certificate", "responses": [ { "uuid": "d7b92eaf-58ba-410b-a668-cec3f4fc0df9", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "c3c99d5c-e1fa-4590-bdd2-f4b589a6bf3e", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "708169bb-eb31-4aff-9aca-d67611da5afe", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "5b677d7a-6b36-4879-bc1c-b4fbb86b0212", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "401ca344-09fc-41d5-a965-1cbe30b03109", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "05686782-6f82-4f52-a5dd-ee9d104d0088", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "72119168-f299-4a41-8da7-42b3e206fe3d", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "985bef02-1814-4b93-ac41-6faf2106d6ed", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "a342a42f-d392-4ab3-93d2-f84dc534b3d3", "documentation": "Registration of Vehicles", "method": "post", "endpoint": "rvcer/certificate", "responses": [ { "uuid": "a0bcd76b-2562-4928-9d67-2fc7a06066dc", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "12488b54-f2b3-44f5-b40d-5bcd5553e6d5", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "eb377a91-e216-4fd0-8384-4ecb542bf684", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "e17003fc-e39c-425e-8725-ac8df760a3e1", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "a27155c1-c3c8-4a8b-b1a3-fdf06e8a2c0c", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "e6c9029d-a2d0-4a16-9e79-ef040aba076e", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "084a280d-2a25-4ae8-99b4-10fc1add17af", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "aadfb2ff-5d69-4920-89a0-130317fd7794", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }