App Pages
Last updated
Last updated
API for managing In-App Pages
GET
https://www.magloft.com/api/portal/v1/app_pages/:app_id
This endpoint returns a list of all app pages
that belong to the magazine
Name | Type | Description |
---|---|---|
GET
https://www.magloft.com/api/portal/v1/app_pages/:app_id/page/:page
This endpoint returns a page list of app pages
that belong to the magazine
GET
https://www.magloft.com/api/portal/v1/app_pages/:app_id/:id
This endpoint returns a specific app page
by id
POST
https://www.magloft.com/api/portal/v1/app_pages/:app_id
This endpoint creates a new app page
and returns the saved app page
PUT
https://www.magloft.com/api/portal/v1/app_pages/:app_id/:id
This endpoint updates a specific app page
by id
and returns the updated app page
DELETE
https://www.magloft.com/api/portal/v1/app_pages/:app_id/:id
This endpoint deletes a specific app page
by id
and returns an empty response
with status 204
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.
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
JSON
app_id
String
App ID (Publication) to scope this request for.
id
Integer
App Page ID
app_id
String
App ID (Publication) to scope this request for.
name
String
Internal name of a page
title
String
Visible title of a page
icon
String
Optional icon to show in the modal window or side menu
trigger
String
Trigger Event to specify when the page should show up
action
String
Call to action to perform when accepting the offer
html
String
The html contents of a page
visibility
Array
An array specifying on which devices the page should be shown (web, ios, android)
app_id
String
App ID (Publication) to scope this request for.
id
Integer
App Page ID
name
String
Internal name of a page
title
String
Visible title of a page
icon
String
Optional icon to show in the modal window or side menu
trigger
String
Trigger Event to specify when the page should show up
action
String
Call to action to perform when accepting the offer
html
String
The html contents of a page
visibility
Array
An array specifying on which devices the page should be shown (web, ios, android)
app_id
String
App ID (Publication) to scope this request for.
id
Integer
App Page ID