{ "uuid": "9631380b-c169-420f-8bba-dfd08a8f0297", "lastMigration": 29, "name": "SearchLy API v1", "endpointPrefix": "api/v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "dd8b76b6-56a8-40ad-bc8a-176b0aaf0eb7", "documentation": "API endpoint to search similarity using content", "method": "post", "endpoint": "similarity/by_content", "responses": [ { "uuid": "7234f001-d7de-4f1c-b9ab-e70e40994219", "body": "{\n \"error\": {{faker 'datatype.boolean'}},\n \"message\": \"\",\n \"response\": {\n \"similarity_list\": [\n {\n \"artist_name\": \"\",\n \"artist_url\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"index_id\": {{faker 'number.int' max=99999}},\n \"lyrics\": \"\",\n \"percentage\": {{faker 'number.float'}},\n \"song_name\": \"\",\n \"song_url\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "Standard SearchLy API v1 JSON response. You should check the `error` attribute to determine if there was an error.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7734e44d-197a-4395-a7a1-a4362823a331", "body": "", "latency": 0, "statusCode": 200, "label": "Unexpected error.", "headers": [{ "key": "Content-Type", "value": "application/text" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e7cfe148-ed57-4e42-a6c7-3466cba9e07f", "documentation": "API endpoint to search similarity using a song identifier", "method": "get", "endpoint": "similarity/by_song", "responses": [ { "uuid": "6afc3de9-f446-41e7-8d29-c24b2ff4c30b", "body": "{\n \"error\": {{faker 'datatype.boolean'}},\n \"message\": \"\",\n \"response\": {\n \"similarity_list\": [\n {\n \"artist_name\": \"\",\n \"artist_url\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"index_id\": {{faker 'number.int' max=99999}},\n \"lyrics\": \"\",\n \"percentage\": {{faker 'number.float'}},\n \"song_name\": \"\",\n \"song_url\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "Standard SearchLy API v1 JSON response. You should check the `error` attribute to determine if there was an error.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c6dc4324-e20b-4b12-accf-3c8705776c41", "body": "", "latency": 0, "statusCode": 200, "label": "Unexpected error.", "headers": [{ "key": "Content-Type", "value": "application/text" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6f469401-878b-4066-b4b8-d42225a113e3", "documentation": "API endpoint to search songs from the database given a query", "method": "get", "endpoint": "song/search", "responses": [ { "uuid": "c4d6af89-f023-43ee-83b5-531ddd5e3541", "body": "{\n \"error\": {{faker 'datatype.boolean'}},\n \"message\": \"\",\n \"response\": {\n \"results\": [\n {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "Standard SearchLy API v1 JSON response. You should check the `error` attribute to determine if there was an error.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ab80acd9-07f5-406f-899d-dd8bbf0dd490", "body": "", "latency": 0, "statusCode": 200, "label": "Unexpected error.", "headers": [{ "key": "Content-Type", "value": "application/text" }], "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": "dd8b76b6-56a8-40ad-bc8a-176b0aaf0eb7" }, { "type": "route", "uuid": "e7cfe148-ed57-4e42-a6c7-3466cba9e07f" }, { "type": "route", "uuid": "6f469401-878b-4066-b4b8-d42225a113e3" } ] }