{ "uuid": "435ad514-8ebb-42f5-aded-5516c229bcc4", "lastMigration": 29, "name": "NPR Sponsorship Service", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "408d06fe-6da8-443a-a1f0-0414ffefeaa1", "documentation": "Request VAST sponsorship units", "method": "get", "endpoint": "v2/ads", "responses": [ { "uuid": "5abd1134-f8fa-4e0a-848e-08cc6126da77", "body": "", "latency": 0, "statusCode": 200, "label": "Request completed successfully; a VAST XML document is returned. Note that this response will only be returned if either `force=true` was passed in the querystring, or a call to get sponsorship was previously made, and ads now exist in the cache for this user; otherwise, the 202 response is returned.", "headers": [{ "key": "Content-Type", "value": "application/xml" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5d2589ca-76a4-4177-b1f3-53de3f944f22", "body": "", "latency": 0, "statusCode": 202, "label": "Request accepted. Check back later for actual ads.", "headers": [{ "key": "Content-Type", "value": "application/xml" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a9ca0ded-d5ae-44ba-824a-e01515118c83", "body": "", "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/xml" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "46a66706-e1ac-496d-83f3-796b4492544c", "body": "", "latency": 0, "statusCode": 500, "label": "A server error", "headers": [{ "key": "Content-Type", "value": "application/xml" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5315e2b3-ed25-47a1-b08e-50a1073ad4b9", "documentation": "Record tracking data for VAST sponsorship units", "method": "post", "endpoint": "v2/ads", "responses": [ { "uuid": "96b63bd5-138a-4fa5-be14-b666c38840e3", "body": "", "latency": 0, "statusCode": 204, "label": "Request completed successfully, but there is nothing that we need to return to the caller.", "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": "339dd144-48e2-4e36-808e-70f137fe7c7c", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"debug\": \"\",\n \"text\": \"\"\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" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0a69459a-d070-43ee-b77e-755b08f92764", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"debug\": \"\",\n \"text\": \"\"\n}", "latency": 0, "statusCode": 500, "label": "A server error", "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": "408d06fe-6da8-443a-a1f0-0414ffefeaa1" }, { "type": "route", "uuid": "5315e2b3-ed25-47a1-b08e-50a1073ad4b9" } ] }