{ "uuid": "6ece5cbe-d838-4320-8df7-e4e7c13b7c39", "lastMigration": 19, "name": "HP Staff Selection Commission - HPSSC - Himachal Pradesh, Himachal Pradesh", "endpointPrefix": "hpsssb/v3", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "3eb0e900-0f8e-4c59-b8d5-995995f63932", "documentation": "Admit Card", "method": "post", "endpoint": "adcrd/certificate", "responses": [ { "uuid": "a90553fe-e8e9-4230-bcfb-caa6e5c2bfec", "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": "4db3fe4e-2704-4e3f-ac10-b32d7ccc3188", "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": "d267824a-6798-4867-bbeb-ab8ab46e30d8", "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": "5cecb99f-b890-44f0-8418-c08227f8924c", "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": "78b35500-84da-4b43-8646-81720834f04e", "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": "33e84b3f-9724-446f-91fb-b9c53f743785", "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": "c062b7e0-3295-4737-9997-3b337e6aa6b8", "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": "58b8b78e-d344-4246-be3a-49c04a596f3c", "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": "" } ] }