GET
/
projects
/
{project_id}
/
integrations
/
rss_importer
/
feeds
curl --request GET \
  --url https://api.beyondwords.io/v1/projects/{project_id}/integrations/rss_importer/feeds \
  --header 'X-Api-Key: <api-key>'
[
  {
    "id": 1,
    "enabled": true,
    "feed_url": "https://beyondwords.io/rss.xml",
    "feed_content_type": "xml",
    "feed_headers": {
      "Authorization": "Bearer token"
    },
    "import_interval": 10,
    "extractor_enabled": true,
    "static_ip_enabled": false,
    "extractor_headers": {
      "Authorization": "Bearer token"
    },
    "map": {
      "title": [
        "title"
      ],
      "body": [
        "content"
      ],
      "summary": [
        "description"
      ],
      "source_id": "guid",
      "source_url": "link",
      "author": "author",
      "metadata": "meta",
      "image_url": "media",
      "publish_date": "pubDate"
    },
    "last_import": "2020-01-09 22:18:26 UTC",
    "created": "2019-12-09 22:18:26 UTC",
    "updated": "2020-01-23 08:55:38 UTC"
  }
]

Authorizations

X-Api-Key
string
header
required

Path Parameters

project_id
string
required

The numeric ID of your project

Query Parameters

filter[feed_url]
string

The partial feed_url to filter by

pagination[limit]
integer

'limit' sets the number of results to return in each page.

pagination[offset]
integer

'offset' sets the first position to return from the results of the query. The default is 0, which starts the page at the first result.

Response

200
application/json
OK
id
integer
enabled
boolean

Whether importing is enabled or disabled.

feed_url
string

URL of the RSS feed you want to import.

feed_content_type
enum<string>

Type of content in the feed. Possible values include xml or json.

Available options:
xml,
json
feed_headers
object

Headers that you want to include in the HTTP request when fetching the RSS feed.

import_interval
integer

Number of minutes between each import of the RSS feed.

extractor_enabled
boolean

Whether or not the RSS importer should fetch the content from the page linked in the map.source_url property. Set to true if the RSS feed does not contain the content. In this case you can set map.body to null.

static_ip_enabled
boolean

Enable to add a dedicated IP address to an allowlist.

extractor_headers
object

Headers that you want to include in the HTTP request when fetching and extracting the content from the map.source_url.

map
object

Object that contains mappings between the data in the RSS feed and the properties in the content object. Each property in the map object represents a property in the content object, and its value is a string that represents the name of the corresponding element in the RSS feed.

last_import
string | null

Time at which the object was created (ISO 8601)

created
string

Time at which the object was created (ISO 8601)

updated
string

Time at which the object was updated (ISO 8601)