API for managing 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
{
"id": 1234,
"url": "https://blog.magloft.com/feed/",
"title": "MagLoft Blog",
"description": "MagLoft Blog Description",
"cover": "https://mms.magloft.com/USERID/ASSETID",
"active": true,
"job_id": "123412341234",
"job_status": "pending",
"import_source": true,
"import_author": true,
"auto_publish": true,
"show_related_articles": true,
"imported_at": "2018-01-24 10:55:35",
"created_at": "2018-01-24 10:55:35",
"updated_at": "2018-01-24 10:55:35",
"category_ids": [
1,
2,
3
]
}
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
Request Body
{
"id": 1234,
"url": "https://blog.magloft.com/feed/",
"title": "MagLoft Blog",
"description": "MagLoft Blog Description",
"cover": "https://mms.magloft.com/USERID/ASSETID",
"active": true,
"job_id": "123412341234",
"job_status": "pending",
"import_source": true,
"import_author": true,
"auto_publish": true,
"show_related_articles": true,
"imported_at": "2018-01-24 10:55:35",
"created_at": "2018-01-24 10:55:35",
"updated_at": "2018-01-24 10:55:35",
"category_ids": [
1,
2,
3
]
}
GET
https://www.magloft.com/api/portal/v1/rss_feeds/:app_id/:id
This endpoint returns a specific rss feed
by id
Path Parameters
{
"id": 1234,
"url": "https://blog.magloft.com/feed/",
"title": "MagLoft Blog",
"description": "MagLoft Blog Description",
"cover": "https://mms.magloft.com/USERID/ASSETID",
"active": true,
"job_id": "123412341234",
"job_status": "pending",
"import_source": true,
"import_author": true,
"auto_publish": true,
"show_related_articles": true,
"imported_at": "2018-01-24 10:55:35",
"created_at": "2018-01-24 10:55:35",
"updated_at": "2018-01-24 10:55:35",
"category_ids": [
1,
2,
3
]
}
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
Request Body
{
"id": 1234,
"url": "https://blog.magloft.com/feed/",
"title": "MagLoft Blog",
"description": "MagLoft Blog Description",
"cover": "https://mms.magloft.com/USERID/ASSETID",
"active": true,
"job_id": "123412341234",
"job_status": "pending",
"import_source": true,
"import_author": true,
"auto_publish": true,
"show_related_articles": true,
"imported_at": "2018-01-24 10:55:35",
"created_at": "2018-01-24 10:55:35",
"updated_at": "2018-01-24 10:55:35",
"category_ids": [
1,
2,
3
]
}
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
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
{
"id": 1234,
"url": "https://blog.magloft.com/feed/",
"title": "MagLoft Blog",
"description": "MagLoft Blog Description",
"cover": "https://mms.magloft.com/USERID/ASSETID",
"active": true,
"job_id": "123412341234",
"job_status": "pending",
"import_source": true,
"import_author": true,
"auto_publish": true,
"show_related_articles": true,
"imported_at": "2018-01-24 10:55:35",
"created_at": "2018-01-24 10:55:35",
"updated_at": "2018-01-24 10:55:35",
"category_ids": [
1,
2,
3
]
}