Marketpath CMS provides a Live site API that allows published content to be pulled and distributed to other channels and platforms. At this time, the Live API returns only JSON results and there is no authentication required.

Live API calls are simple GET actions. Here is the standard format:

http(s)://<domain>/mputils/<SiteGUID>/api/json/<object_type>/<ObjectGUID | "collection">?<filters...>

Examples

Retrieve a list of datastore items

In this example, we'll query for a list of datastore items from a sample datastore of vacation destinations:

https://help.marketpath.com/mputils/3e50aa18-bfd6-4273-a5bd-70a49c326721/api/json/datastore_item/collection?datastore_guid=64d1ab92-f8d5-452b-9ca2-b25697d01c15&limit=10&page=1

Retrieve a list of articles

In this example we query for a list of articles with the tag "Examples":

http://help.marketpath.com/mputils/3e50aa18-bfd6-4273-a5bd-70a49c326721/api/json/article/collection?tag=Examples&limit=1

Retrieve a snippet

Here we retrieve a specific snippet:

http://help.marketpath.com/mputils/3e50aa18-bfd6-4273-a5bd-70a49c326721/api/json/snippet/8532990c-6c1e-46a7-b244-c37e196a7a3b

Object list and query parameters

Objects

article
author
blog
blog_post
calendar
calendar_entry
datastore
datastore_item
document
entity
folder
form
gallery
image
javascript
menu
snippet
stylesheet
tag
template

Query Parameters

has_url values: true | false
start_date

values: date

end_date

values: date

template_guid(s)  
template(s)  
include_in_search values: true | false
ssl_mode values: "none" | "allow" | "require"

none = http only
allow = either
require = https only
tag_guid(s)  
tag(s)  
author_guid(s)  
author(s)  
folder_guid(s)  
folder(s)  
sort_by value: text

miscellaneous fields of the specific object type (e.g. title, url, name, random, browser_title, date_created, etc)
sort_direction values: "asc" | "desc"
limit value: number

The number of results to return in the query
start value: number

The starting row number of the query results
page value: number

The results page to return