{ "uuid": "d3b79923-00a4-4fc3-aa4e-24e417028865", "lastMigration": 29, "name": "Hubhopper Partner Integration API(s) - Production", "endpointPrefix": "partner", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "a136198f-c4eb-400e-8fc6-6d8f8bafeeae", "documentation": "Get the list of all content categories.", "method": "get", "endpoint": "categories", "responses": [ { "uuid": "cddf6b2b-9f15-4d98-a24e-26db61b9618b", "body": "{\n \"categories\": [\n {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\",\n \"url\": \"\"\n }\n ],\n \"noOfPages\": {{faker 'number.int' max=99999}},\n \"page\": {{faker 'number.int' max=99999}},\n \"pageSize\": {{faker 'number.int' max=99999}},\n \"total\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "200 response", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Access-Control-Allow-Origin", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ab2a47ad-a335-421b-b807-02b317bc3850", "body": "", "latency": 0, "statusCode": 404, "label": "404 response", "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": "977f5c42-c405-41df-a26f-458445e0bbcb", "body": "", "latency": 0, "statusCode": 500, "label": "500 response", "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": "8d971635-ec36-4b59-926f-4c96c3894ac6", "documentation": "Get specific content category.", "method": "get", "endpoint": "categories/:categoryId", "responses": [ { "uuid": "6bdb42e1-2c06-422b-8a52-bbafea128488", "body": "{\n \"category\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\",\n \"url\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "200 response", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Access-Control-Allow-Origin", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "62d7f2ce-8145-48bd-9c93-77c769e3ea7a", "body": "", "latency": 0, "statusCode": 404, "label": "404 response", "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": "e2ee78af-ad5c-489e-89c7-27ca1ef0ab51", "body": "", "latency": 0, "statusCode": 500, "label": "500 response", "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": "7230ba01-a260-4b7a-9dbb-ae68ec2adba8", "documentation": "Get a list of all podcasts under a category.", "method": "get", "endpoint": "categories/:categoryId/podcasts", "responses": [ { "uuid": "d9a895db-ddab-45eb-8d96-219523e2ae4b", "body": "{\n \"noOfPages\": {{faker 'number.int' max=99999}},\n \"page\": {{faker 'number.int' max=99999}},\n \"pageSize\": {{faker 'number.int' max=99999}},\n \"podcasts\": [\n {\n \"author\": \"\",\n \"category\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\"\n },\n \"categoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"episodes\": {{faker 'number.int' max=99999}},\n \"featured\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\"\n },\n \"featuredId\": {{faker 'number.int' max=99999}},\n \"image\": \"\",\n \"keywords\": \"\",\n \"latestEpisodeTime\": \"\",\n \"podcastId\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"url\": \"\"\n }\n ],\n \"total\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "200 response", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Access-Control-Allow-Origin", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9768877e-1342-435d-bccc-bb5585d8d672", "body": "", "latency": 0, "statusCode": 404, "label": "404 response", "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": "405075e5-5bc1-4e1c-a6f7-50fd24badafc", "body": "", "latency": 0, "statusCode": 500, "label": "500 response", "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": "6c5b62ec-528f-47e0-9d1f-307abc658922", "documentation": "Get the list of all podcasts.", "method": "get", "endpoint": "podcasts", "responses": [ { "uuid": "014ee7c1-0145-4cce-a7ef-c3a501505e36", "body": "{\n \"noOfPages\": {{faker 'number.int' max=99999}},\n \"page\": {{faker 'number.int' max=99999}},\n \"pageSize\": {{faker 'number.int' max=99999}},\n \"podcasts\": [\n {\n \"author\": \"\",\n \"category\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\"\n },\n \"categoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"episodes\": {{faker 'number.int' max=99999}},\n \"featured\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\"\n },\n \"featuredId\": {{faker 'number.int' max=99999}},\n \"image\": \"\",\n \"keywords\": \"\",\n \"latestEpisodeTime\": \"\",\n \"podcastId\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"url\": \"\"\n }\n ],\n \"total\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "200 response", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Access-Control-Allow-Origin", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6b6a288d-7824-4ac6-ba1e-7dc32bb1e678", "body": "", "latency": 0, "statusCode": 404, "label": "404 response", "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": "b3c08d7d-7863-470f-a120-2a59d35985d9", "body": "", "latency": 0, "statusCode": 500, "label": "500 response", "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": "0ce4c369-07a9-447a-b098-224aa3f76f34", "documentation": "Get a single Podcast.", "method": "get", "endpoint": "podcasts/:podcastId", "responses": [ { "uuid": "2c36805d-036d-4e44-bcdb-be403317fc80", "body": "{\n \"podcast\": {\n \"author\": \"\",\n \"category\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\"\n },\n \"categoryId\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"episodes\": {{faker 'number.int' max=99999}},\n \"featured\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\"\n },\n \"featuredId\": {{faker 'number.int' max=99999}},\n \"image\": \"\",\n \"keywords\": \"\",\n \"latest_episode_time\": \"\",\n \"podcastId\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"url\": \"\",\n \"website\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "200 response", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Access-Control-Allow-Origin", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8cad21c5-ec57-4bea-a4a4-a6209daee5d2", "body": "{\n \"message\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "404 response", "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": "61986ff5-bacd-449a-87a8-4a92ddd5e75d", "body": "", "latency": 0, "statusCode": 500, "label": "500 response", "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": "3b676091-2955-4455-9b19-bf3298236572", "documentation": "Get a list of all episodes under a podcast.", "method": "get", "endpoint": "podcasts/:podcastId/episodes", "responses": [ { "uuid": "31dfedaa-02aa-44eb-92a3-35ab05dac7a2", "body": "{\n \"episodes\": [\n {\n \"author\": \"\",\n \"description\": \"\",\n \"episodeId\": {{faker 'number.int' max=99999}},\n \"episodeUrl\": \"\",\n \"image\": \"\",\n \"isNew\": {{faker 'datatype.boolean'}},\n \"play\": {\n \"duration\": \"\",\n \"durationInSec\": {{faker 'number.int' max=99999}},\n \"size\": \"\",\n \"type\": \"\",\n \"url\": \"\"\n },\n \"podcastId\": {{faker 'number.int' max=99999}},\n \"podcastUrl\": \"\",\n \"publishTime\": \"\",\n \"publishedOn\": {{faker 'number.int' max=99999}},\n \"title\": \"\"\n }\n ],\n \"noOfPages\": {{faker 'number.int' max=99999}},\n \"page\": {{faker 'number.int' max=99999}},\n \"pageSize\": {{faker 'number.int' max=99999}},\n \"total\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "200 response", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Access-Control-Allow-Origin", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5a361664-6b9e-463e-9322-499eff3480ff", "body": "", "latency": 0, "statusCode": 404, "label": "404 response", "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": "c788d6c2-8d75-43e5-9c8e-de515a131110", "body": "", "latency": 0, "statusCode": 500, "label": "500 response", "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": "3ca51114-f22a-4b1d-ad19-bbc9e46b0e36", "documentation": "", "method": "get", "endpoint": "util/languages", "responses": [ { "uuid": "b00b6b2d-82cf-4c0e-b84f-eee89987fd6c", "body": "{\n \"languages\": [\n {\n \"code\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"name\": \"\"\n }\n ],\n \"noOfPages\": {{faker 'number.int' max=99999}},\n \"page\": {{faker 'number.int' max=99999}},\n \"pageSize\": {{faker 'number.int' max=99999}},\n \"total\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "200 response", "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": "f61d3273-23b6-4a95-b09f-ccbfbf8a646e", "body": "", "latency": 0, "statusCode": 204, "label": "204 response", "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": "6bcb8d97-a403-49fb-826f-91ac5e283ae2", "body": "", "latency": 0, "statusCode": 401, "label": "401 response", "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": "63f8e232-e6a8-4bc5-8138-4be0560a3599", "body": "", "latency": 0, "statusCode": 404, "label": "404 response", "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": "f5a7493e-229a-4faa-b369-cfff848a920c", "body": "", "latency": 0, "statusCode": 500, "label": "500 response", "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": "a136198f-c4eb-400e-8fc6-6d8f8bafeeae" }, { "type": "route", "uuid": "8d971635-ec36-4b59-926f-4c96c3894ac6" }, { "type": "route", "uuid": "7230ba01-a260-4b7a-9dbb-ae68ec2adba8" }, { "type": "route", "uuid": "6c5b62ec-528f-47e0-9d1f-307abc658922" }, { "type": "route", "uuid": "0ce4c369-07a9-447a-b098-224aa3f76f34" }, { "type": "route", "uuid": "3b676091-2955-4455-9b19-bf3298236572" }, { "type": "route", "uuid": "3ca51114-f22a-4b1d-ad19-bbc9e46b0e36" } ] }