API Documentation
Portal LoginMagLoft.comHelp Center
  • Portal API
  • Portal API
    • Issues
    • Articles
    • Clients
    • Custom Subscriptions
    • Readers
    • App Pages
    • RSS Import
    • Categories
    • Classifications
    • RSS Feeds
Powered by GitBook
On this page
  • Create an RSS Import
  • Get RSS Import
  1. Portal API

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

Name
Type
Description

app_id

String

App ID (Publication) to scope this request for.

Request Body

Name
Type
Description

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

Name
Type
Description

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
}
PreviousApp PagesNextCategories

Last updated 5 years ago