Articles
Last updated
Last updated
API for managing articles
GET
https://www.magloft.com/api/portal/v1/articles/:app_id
This endpoint returns a list of all articles
that belong to the magazine
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://www.magloft.com/api/portal/v1/articles/:app_id/page/:page
This endpoint returns a page list of all articles
that belong to the magazine
GET
https://www.magloft.com/api/portal/v1/articles/:app_id/:id
This endpoint returns a specific article
by id
POST
https://www.magloft.com/api/portal/v1/articles/:app_id
This endpoint creates a new article
and returns the saved article
PUT
https://www.magloft.com/api/portal/v1/articles/:app_id/:id
This endpoint updates a specific article
by id
and returns the updated article
DELETE
https://www.magloft.com/api/portal/v1/articles/:app_id/:id
This endpoint deletes a specific article
by id
and returns an empty response
with status 204
POST
https://www.magloft.com/api/portal/v1/articles/:app_id/flexpdf-import
This endpoint creates multiple article
and returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
app_id
String
App ID (Publication) to scope this request for.
order_by
Symbol
Field to sort results by
order_dir
Symbol
Direction (asc, desc) to sort results by
issue_id
Integer
app_id
String
App ID (Publication) to scope this request for.
page
Integer
The page number to list
per_page
Integer
Number of items to show per page
order_by
Symbol
Field to sort results by
order_dir
Symbol
Direction (asc, desc) to sort results by
filter
String
Text filter to search results by
app_id
String
App ID (Publication) to scope this request for.
id
Integer
Article ID
app_id
String
App ID (Publication) to scope this request for.
title
String
Article Title
info
String
Article Description
html
String
Article HTML
date
String
Article Publish Date
cover
String
Article Cover
category_ids
Array
Article category IDs
issue_id
Integer
Issue ID
unlock_type
String
Unlock Type
position
Integer
Order Position of the Article within an Issue
source
String
Article type
app_id
String
App ID (Publication) to scope this request for.
id
Integer
Article ID
title
String
Article Title
info
String
Article Description
html
String
Article HTML
assets
Hash
Article Assets
date
String
Article publish date
cover
String
Article Cover
category_ids
Array
Article category IDs
issue_id
Integer
Issue ID
unlock_type
String
Unlock Type
position
Integer
Order Position of the Article within an Issue
visible
Virtus::Attribute::Boolean
A boolean indicating whether this article is visible
app_id
String
App ID (Publication) to scope this request for.
id
Integer
Article ID
app_id
String
App ID (Publication) to scope this request for.
articles
Array
articles[title]
String
Article Title
articles[html]
String
Article HTML
articles[cover]
String
Article Cover
articles[issue_id]
Integer
Issue ID
articles[unlock_type]
String
Unlock Type
articles[position]
Integer
Order Position of the Article within an Issue
articles[source]
String
Article type