{ "uuid": "3ed2e6ed-1bd7-4ea9-b644-58b9e0efcf1c", "lastMigration": 29, "name": "NPR Listening Service", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "e90c251b-3059-4f95-a21d-1e4c13cc39ee", "documentation": "Get a set of recommendations for an aggregation independent of the user's listening history", "method": "get", "endpoint": "v2/aggregation/:aggId/recommendations", "responses": [ { "uuid": "9053ea4c-2f4f-4a51-b03e-86481178cde2", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "A list of audio items from the specified aggregation", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c8765950-1241-443c-9bf0-9adb62f6c353", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "6ca5a104-5bba-457a-a2e1-3a51b26ace30", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 404, "label": "The resource with the requested ID could not be found, and the server was unable to complete the request.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "27f8c26d-9def-4afb-bdc0-9a35e9f9523d", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dfe9c04a-e627-4931-ab01-fe849c25a00c", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f41a8c04-7681-4c28-9d54-21ca0b62fed9", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ae4bfcf2-ae4b-4c41-b1f6-9738496eaf2b", "documentation": "Get the list of available channels", "method": "get", "endpoint": "v2/channels", "responses": [ { "uuid": "7ab0c34e-a31e-486e-952e-395c17ef249d", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "A list of channels", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c50280ca-3b2c-43bf-a5e9-58fd41a57e4d", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "014fa90c-3dcc-4cf0-a979-2ca5bb70602c", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "079b3971-5e14-44eb-9697-c2be19ef9795", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "53a322d1-9e17-41ac-ac5b-c916204e726b", "documentation": "Get recent ratings the logged-in user has submitted", "method": "get", "endpoint": "v2/history", "responses": [ { "uuid": "fdf3b3ad-bb25-4ebc-adbc-0457ad514f08", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "A list of audio items (recommendations)", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c1f542da-5825-4d1b-b3b1-062ce391c401", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "c4f0414b-56a5-430f-ab5e-429806983268", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f08b4d55-e9b2-4108-b4f2-261c96041063", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1006ffc7-b228-400d-90c7-31bbf3f39cbc", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cd221d17-2a9c-4ef0-8f4e-424f095ae904", "documentation": "Get a list of recommendations from a category of content from an organization", "method": "get", "endpoint": "v2/organizations/:orgId/categories/:category/recommendations", "responses": [ { "uuid": "a49078ad-8a75-45bd-b90d-0efea7c201bb", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "A list of audio items from a category of content from an organization", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ad2188a6-243f-47aa-8f3a-551e27465ecf", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "def1df80-425c-4ab8-8a5f-7640960c3686", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 404, "label": "The resource with the requested ID could not be found, and the server was unable to complete the request.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c7e55c92-ba73-4a0f-bc2f-6983541a9379", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "12db2f8c-95e9-4b2f-a7de-fc9181bae394", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1fad4db8-4772-43fb-8f45-5c1d903b201f", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ee9c4787-cb82-42f7-81fb-14e24066bee5", "documentation": "Get a variety of details about an organization including various lists of recent audio items", "method": "get", "endpoint": "v2/organizations/:orgId/recommendations", "responses": [ { "uuid": "bca808b6-313d-4bca-a10f-85cb7b2b237f", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "A list of up to four different categories of audio items from a specific organization", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "54ec95af-1c86-43c4-8abf-541ef490f43d", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "70b61316-e16c-40b5-bd54-00f87c5d1a08", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 404, "label": "The resource with the requested ID could not be found, and the server was unable to complete the request.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c0413844-be34-4696-94bb-7e694c4ce6a8", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6853b125-c00d-4781-b309-b9b269362aec", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "31ceab94-b150-43eb-8bcc-991b08637a9d", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fef3dfb5-f354-468c-ab8e-1c3afd010bf6", "documentation": "Retrieve the most recent promo audio heard by the logged-in user", "method": "get", "endpoint": "v2/promo/recommendations", "responses": [ { "uuid": "ef75f01f-5151-4718-8160-4bb1358cae45", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "A list of audio items (recommendations)", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f9c4ca0d-3f58-4482-a6e3-4ad08db7f400", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "5b68a74c-efc4-4ca4-af4a-d1e397cf2419", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e8980eb7-96e3-4c5b-8237-9cd878f02550", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ee6a7263-ec72-4068-afcf-f32ddc68bc62", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a2c1ea0b-a38a-4341-8c29-af3cbd71b256", "documentation": "Collect new ratings for media previously recommended to the logged-in user", "method": "post", "endpoint": "v2/ratings", "responses": [ { "uuid": "f8404dec-85f8-4505-8fda-be50834460ce", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "If the `recommend` param was set to `true`, this returns a list of audio items; otherwise, a blank document is returned.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "dba38b2f-9600-4c15-90a3-c410c313c328", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 400, "label": "A bad request; generally, one or more parameters passed in were incorrect or missing", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9fd3c913-2b71-48fd-b08f-7c278aff53a8", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "ea613e24-e80c-423f-9059-bee7b0975464", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dc443618-6785-4b4a-9da0-3528f28d5814", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "22c97b77-030c-432a-b9dd-762f5754a795", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f0977575-8aa2-493e-90c9-e8a8ef4cb406", "documentation": "Get a list of media for the logged-in user from NPR's recommendation engine", "method": "get", "endpoint": "v2/recommendations", "responses": [ { "uuid": "a9366f00-9235-4221-957e-407d0343d1ae", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "A list of audio items (recommendations)", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "731603c0-0786-4a66-b75e-25893a7b71af", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 400, "label": "A bad request; generally, one or more parameters passed in were incorrect or missing", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7e0d6fe1-3c11-4a0c-876b-fab4cb03aa06", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "4bf18a87-a45e-4672-ad56-24d172efd808", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c7d838d7-6989-4fab-9bb5-0d1ee232b028", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4e2fbd7e-a2e0-42e3-8b0e-33582c292335", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f5c9f32e-8aa6-4530-a038-e9a45963b2a8", "documentation": "Get a list of recent audio and aggregation items associated with search terms", "method": "get", "endpoint": "v2/search/recommendations", "responses": [ { "uuid": "55084ee7-fbd4-4f3e-9104-0cf9dc01a1ad", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 200, "label": "A list of audio and aggregation items matching the search query", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5792da41-8a56-4b7e-a7e2-c91ac00ed29d", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 401, "label": "The client is not authorized to complete this request. Check to ensure a valid access token was passed in the headers.", "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": "7a37091b-97ef-4615-a4e2-8b98ba223c07", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 429, "label": "The client has exceeded the number of daily calls as per their rate limit. For now, this only applies to prototype applications and untrusted clients. Trusted clients will never be rate-limited, nor will any production apps.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "97d15d0e-3d4b-49f4-90dc-12baaf00988b", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" }, { "key": "X-RateLimit-Reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "89db3cdb-647f-4aed-8016-37717d497307", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 503, "label": "The system is undergoing maintenance and we are unable to fulfill this request. Look for a `Retry-After` header to see the predicted time the system will be back up.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Retry-After", "value": "" } ], "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": "e90c251b-3059-4f95-a21d-1e4c13cc39ee" }, { "type": "route", "uuid": "ae4bfcf2-ae4b-4c41-b1f6-9738496eaf2b" }, { "type": "route", "uuid": "53a322d1-9e17-41ac-ac5b-c916204e726b" }, { "type": "route", "uuid": "cd221d17-2a9c-4ef0-8f4e-424f095ae904" }, { "type": "route", "uuid": "ee9c4787-cb82-42f7-81fb-14e24066bee5" }, { "type": "route", "uuid": "fef3dfb5-f354-468c-ab8e-1c3afd010bf6" }, { "type": "route", "uuid": "a2c1ea0b-a38a-4341-8c29-af3cbd71b256" }, { "type": "route", "uuid": "f0977575-8aa2-493e-90c9-e8a8ef4cb406" }, { "type": "route", "uuid": "f5c9f32e-8aa6-4530-a038-e9a45963b2a8" } ] }