Skip to content

Outbound Feeds Development - API Postman Library

Requirements

You must Download And Install Postman if you don’t have it already.

Setup

To set up this Postman collection, take the following steps:

  1. Copy the following json block and save it locally as the OBF Postman API collection.json

    Click to display json block
    {
    "info": {
    "_postman_id": "6f308237-b4e7-4638-9261-e2563c5f857a",
    "name": "Outbound Feeds",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
    {
    "name": "sitemap",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/sitemap/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "sitemap",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "sitemap news",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/sitemap-news/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "sitemap-news",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "sitemap index",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/sitemap-index/?outputType=xml",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "sitemap-index",
    ""
    ],
    "query": [
    {
    "key": "outputType",
    "value": "xml"
    }
    ]
    }
    },
    "response": []
    },
    {
    "name": "sitemap video",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/sitemap-video/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "sitemap-video",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "sitemap section index",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/sitemap-section-index/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "sitemap-section-index",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "sitemap section",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/sitemap-section/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "sitemap-section",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "ANS",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/ans/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "ans",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "RSS",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/rss/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "rss",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "Google news feeds (RSS)",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/google-news-feed/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "google-news-feed",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "flipboard (RSS)",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/flipboard/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "flipboard",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "facebook Instant articles (RSS)",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/fb-ia/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "fb-ia",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "MSN",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/msn/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "msn",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "MRSS",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/mrss/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "mrss",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "Alexa",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/alexa/",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "alexa",
    ""
    ]
    }
    },
    "response": []
    },
    {
    "name": "robots.txt",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/robots.txt/?outputType=text",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "robots.txt",
    ""
    ],
    "query": [
    {
    "key": "outputType",
    "value": "text"
    }
    ]
    }
    },
    "response": []
    },
    {
    "name": "ads.txt",
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "exec": [
    ""
    ],
    "type": "text/javascript"
    }
    }
    ],
    "request": {
    "method": "GET",
    "header": [],
    "url": {
    "raw": "https://{{domain}}/arc/outboundfeeds/ads.txt/?outputType=text",
    "protocol": "https",
    "host": [
    "{{domain}}"
    ],
    "path": [
    "arc",
    "outboundfeeds",
    "ads.txt",
    ""
    ],
    "query": [
    {
    "key": "outputType",
    "value": "text"
    }
    ]
    }
    },
    "response": []
    }
    ],
    "event": [
    {
    "listen": "prerequest",
    "script": {
    "type": "text/javascript",
    "exec": [
    ""
    ]
    }
    },
    {
    "listen": "test",
    "script": {
    "type": "text/javascript",
    "exec": [
    ""
    ]
    }
    }
    ]
    }
  2. Import the collection into Postman

    Import Collection to Postman

  3. Create a new environment for each website you’re testing (ie Washington Post - Sandbox, Washington Post - Production)

    Create a New Environment PopUp

    Manage Environments Screenshot

  4. Add the following environment variable and put the value in the CURRENT VALUES column:

    domain - set it to your websites domain, for example: www.example.com or {ORG-WEBSITE}-sandbox.web.arc-cdn.net

  5. Click the Add button.

Using The Collection

  • Select the collection you want to run
  • Select your new environment from the environments dropdown box in the upper right
  • Click the run button. All the urls from the collection will be displayed checked. You can uncheck any that you don’t want run. Click the blue Run button. Each request will called and the response code will be displayed.