{ "uuid": "a2f64f34-0d35-4a84-a4dd-d59de4a14892", "lastMigration": 19, "name": "Bhagavad Gita API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "1d6f8cef-7249-438d-b119-970dabf60ca6", "documentation": "Get all the 18 Chapters of the Bhagavad Gita.", "method": "get", "endpoint": "api/v1/chapters", "responses": [ { "uuid": "a9055b7c-aa7d-4c0d-92fc-2807494127e3", "body": "{\n \"chapter_number\": {{faker 'random.number'}},\n \"chapter_summary\": \"\",\n \"name\": \"\",\n \"name_meaning\": \"\",\n \"name_translation\": \"\",\n \"name_transliterated\": \"\",\n \"verses_count\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "Success: Everything worked as expected.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "476af0d6-7fce-4d9b-8013-2defdcece760", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request: The request was unacceptable due to wrong parameter(s).", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "bd697860-9e6f-4b70-a2fc-3b3796d43b3b", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access_token used.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "2a9d0570-3002-45ac-88d9-320e23aeedff", "body": "", "latency": 0, "statusCode": 402, "label": "Request Failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "99afa78a-4904-4c77-b71f-6ae8a0739779", "body": "", "latency": 0, "statusCode": 500, "label": "Server Error: Something went wrong on our end.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "c933f0c0-fb2a-4b6b-8385-63ab90b6db7c", "documentation": "Get a specific chapter from the Bhagavad Gita.", "method": "get", "endpoint": "api/v1/chapters/:chapter_number", "responses": [ { "uuid": "431ff60b-6459-4ab5-b09a-422113029713", "body": "{\n \"chapter_number\": {{faker 'random.number'}},\n \"chapter_summary\": \"\",\n \"name\": \"\",\n \"name_meaning\": \"\",\n \"name_translation\": \"\",\n \"name_transliterated\": \"\",\n \"verses_count\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "Success: Everything worked as expected.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "ce7557a2-21b9-47d3-8a29-ad26eae4e2dd", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request: The request was unacceptable due to wrong parameter(s).", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "699e0ebd-c4f9-43f6-ba9a-ef76117e16dc", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access_token used.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "b7e46b5e-cf37-4b9c-bcce-c7fc9b12400e", "body": "", "latency": 0, "statusCode": 402, "label": "Request Failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "8ab9bcd4-9298-47b0-b65c-b0ee2bb4b242", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found: The chapter number you are looking for could not be found.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "a7da9708-6bf7-4858-971d-d1263b99e6b5", "body": "", "latency": 0, "statusCode": 500, "label": "Server Error: Something went wrong on our end.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "2b17765f-f944-4cee-a7e5-ae4c01896297", "documentation": "Get all the Verses from a Chapter.", "method": "get", "endpoint": "api/v1/chapters/:chapter_number/verses", "responses": [ { "uuid": "524032c7-903c-495a-a2f8-e3cd64137049", "body": "{\n \"meaning\": \"\",\n \"text\": \"\",\n \"transliteration\": \"\",\n \"verse_number\": \"\",\n \"word_meanings\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success: Everything worked as expected.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "80145417-6246-453b-8cc1-c432167e26bb", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request: The request was unacceptable due to wrong parameter(s).", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "7b0104a3-d48a-4b2d-b9af-7aebe6974ac7", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access_token used.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "b6858f44-5500-41e6-9d5d-282661213b5a", "body": "", "latency": 0, "statusCode": 402, "label": "Request Failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "87cb0d0d-6e10-424b-a831-882ec77b3e33", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found: The chapter number you are looking for could not be found.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "eef83fff-414f-481a-99cf-17ac2e4984a4", "body": "", "latency": 0, "statusCode": 500, "label": "Server Error: Something went wrong on our end.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "777e4549-c475-4be8-b1bf-e3e1f8a0ab00", "documentation": "Get a particular verse from a chapter.", "method": "get", "endpoint": "api/v1/chapters/:chapter_number/verses/:verse_number", "responses": [ { "uuid": "4ddf9fe7-efc3-4592-b887-700b41ec69f4", "body": "{\n \"meaning\": \"\",\n \"text\": \"\",\n \"transliteration\": \"\",\n \"verse_number\": \"\",\n \"word_meanings\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success: Everything worked as expected.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "1ad7cd62-1242-416f-9758-0c65f68452bf", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request: The request was unacceptable due to wrong parameter(s).", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "39a8abc4-8430-4ad3-a905-c4a638378b58", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access_token used.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "40a38b16-12b3-4c2a-9b77-82f0a61c1c1c", "body": "", "latency": 0, "statusCode": 402, "label": "Request Failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "e2a7501c-6a17-43e5-9a17-8f5da7356763", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found: The chapter/verse number you are looking for could not be found.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "41614345-ced7-4b5f-83a7-d51c101959f1", "body": "", "latency": 0, "statusCode": 500, "label": "Server Error: Something went wrong on our end.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "6dbdbd1b-73f9-4275-8219-a7b3b5093d38", "documentation": "Get all the Verses.", "method": "get", "endpoint": "api/v1/verses", "responses": [ { "uuid": "1361cc6d-314a-4168-a6a4-429a2a7df54e", "body": "{\n \"meaning\": \"\",\n \"text\": \"\",\n \"transliteration\": \"\",\n \"verse_number\": \"\",\n \"word_meanings\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success: Everything worked as expected.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "ba3bf005-b721-45e8-95ce-3b5d4a855886", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request: The request was unacceptable due to wrong parameter(s).", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "3c96fb79-a444-400d-a4ca-eda73188abbb", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Inavlid access_token used.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "9da43d60-5be7-4a06-a4b6-4b9329436710", "body": "", "latency": 0, "statusCode": 402, "label": "Request Failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "412303d8-4636-4487-b153-ce5a1dbbeeea", "body": "", "latency": 0, "statusCode": 500, "label": "Server Error: Something went wrong on our end.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "f6a15f3b-c35d-4d05-a2b5-e7496720dc35", "documentation": "Send client credentials and get an access token.", "method": "post", "endpoint": "auth/oauth/token", "responses": [ { "uuid": "a988c905-83d1-49a3-86ce-9e2108a5eeef", "body": "", "latency": 0, "statusCode": 200, "label": "Success: Everything worked as expected.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "bb31f5d9-b90f-405e-9814-a5f79f94ac79", "body": "", "latency": 0, "statusCode": 400, "label": "Bad Request: The request was unacceptable due to wrong parameter(s).", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "11662a6e-726d-487a-8597-7f03e535ac94", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access_token used.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "915746bd-6d39-4def-891d-0930c0f456dc", "body": "", "latency": 0, "statusCode": 402, "label": "Request Failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "82db45fa-1bee-42ee-8233-66629700334a", "body": "", "latency": 0, "statusCode": 500, "label": "Server Error: Something went wrong on our end.", "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": "" } ] }