{ "uuid": "ef915f41-80a8-4d70-aaf9-427c9c90b53a", "lastMigration": 29, "name": "NPR Identity Service", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "fa6c99a3-ffaf-47fb-9eae-dd26e7e0e899", "documentation": "Update the following status of the logged-in user for a particular aggregation", "method": "post", "endpoint": "v2/following", "responses": [ { "uuid": "675fac36-266f-4948-9882-a0127f4bc5dc", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 201, "label": "The request was successful", "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": "2a3c7832-4550-4d31-a4fa-51e2e024122e", "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": "07c7e6c0-64dd-4918-8ac9-548a9d1dd2a3", "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": "040c1c6e-eebd-4648-b3cb-3376e68cb93a", "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": "398f769e-3b8f-4acf-b261-56bad8dc4674", "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": "ff462b1c-3289-47e6-a8fe-3a9d0249e70a", "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": "98357508-b493-4d47-8038-9eed315f8301", "documentation": "Update the logged-in user's favorite station(s)", "method": "put", "endpoint": "v2/stations", "responses": [ { "uuid": "102c9748-baf7-4c2f-b562-c38ffdced072", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 201, "label": "The request was successful", "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": "67da555c-9e62-47ab-8664-7a6e2b2bf6fa", "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": "23255e7c-fc83-4671-8c44-6bb3b122378f", "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": "dde7fd6a-b5f8-4b45-adc2-213e966fed32", "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": "875be551-9da7-487c-8998-7407beb1cf0b", "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": "9ec881e7-5cfb-4d90-a448-cc01cdda2558", "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": "9bceb531-c13f-41d4-b3a4-595050c555e5", "documentation": "Get the latest state information about the logged-in user", "method": "get", "endpoint": "v2/user", "responses": [ { "uuid": "f85bc7cb-3a98-40ae-ac41-fc3a1847db53", "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": "The request was successful", "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": "af34824b-b017-4b9b-9489-b5e96c139d73", "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": "ca988eda-f4f4-4317-8e71-0e43eb7385ce", "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": "c44dc165-2d48-4b1f-b6fd-9c4597d3b7ba", "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": "0478d554-9879-4904-9b87-10585f084127", "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": "e1605445-54fa-427d-896b-ea03ec3d653c", "documentation": "Copy listening data from a temporary user account to the logged-in user's account", "method": "post", "endpoint": "v2/user/inherit", "responses": [ { "uuid": "28d16d5b-d5ee-4f0d-af19-6040471d99e2", "body": "{\n \"attributes\": {},\n \"errors\": [\n {}\n ],\n \"href\": \"\",\n \"items\": [\n {}\n ],\n \"links\": {},\n \"version\": \"1.0\"\n}", "latency": 0, "statusCode": 202, "label": "The request was successful", "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": "ed0bcc3c-a7cb-4f62-93ec-418137f6403c", "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": "6ca39d34-3950-450f-9b5d-4ac1973c0556", "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": "ee6dadfc-429c-43b4-87b5-0c6f33591182", "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": "6dac24f1-f21b-470b-8e0a-c3bc0593d543", "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": "fa6c99a3-ffaf-47fb-9eae-dd26e7e0e899" }, { "type": "route", "uuid": "98357508-b493-4d47-8038-9eed315f8301" }, { "type": "route", "uuid": "9bceb531-c13f-41d4-b3a4-595050c555e5" }, { "type": "route", "uuid": "e1605445-54fa-427d-896b-ea03ec3d653c" } ] }