RSS Feeds
API for managing rss feeds
List RSS Feeds
GET
https://www.magloft.com/api/portal/v1/rss_feeds/:app_id
This endpoint returns a list of all RSS Feeds
that belong to the publication
Path Parameters
Name | Type | Description |
---|---|---|
app_id | String | App ID (Publication) to scope this request for. |
Create RSS Feed
POST
https://www.magloft.com/api/portal/v1/rss_feeds/:app_id
This endpoint creates a new RSS Feed
and returns the saved RSS Feed
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 |
title | String | Title of the RSS Feed |
import_source | Virtus::Attribute::Boolean | Boolean indicating whether the RSS Feed will import source of article |
import_author | Virtus::Attribute::Boolean | Boolean indicating whether the RSS Feed will import author of article |
show_related_articles | Virtus::Attribute::Boolean | Boolean indicating whether the imported article will show related articles |
auto_publish | Virtus::Attribute::Boolean | Boolean indicating whether the article from the RSS Feed will be automatically published |
Get RSS Feed
GET
https://www.magloft.com/api/portal/v1/rss_feeds/:app_id/:id
This endpoint returns a specific rss feed
by id
Path Parameters
Name | Type | Description |
---|---|---|
app_id | String | App ID (Publication) to scope this request for. |
id | Integer | RSS Feed ID |
Update RSS Feed
PUT
https://www.magloft.com/api/portal/v1/rss_feeds/:app_id/:id
This endpoint updates a specific rss feed
by id
and returns the updated rss feed
Path Parameters
Name | Type | Description |
---|---|---|
app_id | String | App ID (Publication) to scope this request for. |
id | Integer | RSS Feed ID |
Request Body
Name | Type | Description |
---|---|---|
title | String | Title of the RSS Feed |
description | String | Description of the RSS Feed |
cover | String | Cover URL of the RSS Feed |
active | Virtus::Attribute::Boolean | Boolean indicating whether the RSS Feed is currently active |
import_source | Virtus::Attribute::Boolean | Boolean indicating whether the RSS Feed will import source of article |
import_author | Virtus::Attribute::Boolean | Boolean indicating whether the RSS Feed will import author of article |
auto_publish | Virtus::Attribute::Boolean | Boolean indicating whether the article from the RSS Feed will be automatically published |
show_related_articles | Virtus::Attribute::Boolean | Boolean indicating whether the imported article will show related articles |
Delete RSS Feed
DELETE
https://www.magloft.com/api/portal/v1/rss_feeds/:app_id/:id
This endpoint deletes a specific RSS Feed
by id
and returns an empty response
with status 204
Path Parameters
Name | Type | Description |
---|---|---|
app_id | String | App ID (Publication) to scope this request for. |
id | Integer | RSS Feed ID |
Synchronize RSS Feed
POST
https://www.magloft.com/api/portal/v1/rss_feeds/:app_id/:id/synchronize
This endpoint synchronizes entries from an existing RSS Feed
by id
and returns the synchronization results
Path Parameters
Name | Type | Description |
---|---|---|
app_id | String | App ID (Publication) to scope this request for. |
id | Integer | RSS Feed ID |
Last updated