RSS Import

API for managing rss import

Create an RSS Import

POST https://www.magloft.com/api/portal/v1/rss_imports/:app_id

This endpoint creates a new RSS Import and returns the saved RSS Import

Path Parameters

NameTypeDescription

app_id

String

App ID (Publication) to scope this request for.

Request Body

NameTypeDescription

url

String

External Blog URL to import articles from

{
  "id": 1234,
  "message_id": "123412341234",
  "url": "https://blog.magloft.com/feed/",
  "status": "pending",
  "created_at": "2018-01-24 10:55:35",
  "updated_at": "2018-01-24 10:55:35",
  "total": 14,
  "imported": 3
}

Get RSS Import

GET https://www.magloft.com/api/portal/v1/rss_imports/:app_id/:id

This endpoint returns a specific rss import by id

Path Parameters

NameTypeDescription

app_id

String

App ID (Publication) to scope this request for.

id

Integer

RSS Import ID

{
  "id": 1234,
  "message_id": "123412341234",
  "url": "https://blog.magloft.com/feed/",
  "status": "pending",
  "created_at": "2018-01-24 10:55:35",
  "updated_at": "2018-01-24 10:55:35",
  "total": 14,
  "imported": 3
}

Last updated