{ "uuid": "9e3f9862-a32c-4658-89e9-e39c39559d52", "lastMigration": 29, "name": "Transport Department, Punjab", "endpointPrefix": "transportpb/v3", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "c9db4e04-65a1-401c-9e42-36003a30415d", "documentation": "Driving License", "method": "post", "endpoint": "drvlc/certificate", "responses": [ { "uuid": "970499bb-7e5d-4f39-97a7-0b9b89e2b04d", "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": "7dacf137-0f89-4737-919e-c5d2213d902c", "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": "3b2eb5b8-3ac4-4557-ba53-58798b956104", "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": "55734120-a6d5-483d-8fa8-5facba50bb04", "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": "48f19ce0-9e00-4c8d-9a9f-532a5d161886", "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": "b1bff643-a508-4d01-bb9f-9d44f8fac9b9", "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": "6d17001c-9786-46a4-96ed-1aa7dd030244", "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": "d8442764-335d-4330-8514-4535e67257c9", "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": "b9f71f6f-10ff-44ce-922d-b4d7911893c3", "documentation": "Registration of Vehicles", "method": "post", "endpoint": "rvcer/certificate", "responses": [ { "uuid": "574bfe12-e62c-48d7-865f-f3ae1bf6dc25", "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": "5a97e8a2-9a19-44a1-bf7f-6ee63e4ce264", "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": "44406500-d122-402b-ab1e-2701855202e6", "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": "d35f1493-582c-4ece-8731-e39e0c5073af", "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": "3cf068a3-9c12-4953-8adf-3a3f1eecd617", "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": "087d2cfd-3309-4c49-b72b-797f50dd9986", "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": "3d481680-04ae-46c4-8104-d7e81e17fca5", "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": "c98d2e77-425d-4456-b256-4537d78f6222", "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": "c9db4e04-65a1-401c-9e42-36003a30415d" }, { "type": "route", "uuid": "b9f71f6f-10ff-44ce-922d-b4d7911893c3" } ] }