Content API (RESTFul)

This document will detail how to use our content API on our Gateway.

To pull content information from the our content Portal you can use Mobivate's Content API (RESTful).

This means that by making few simple HTTP GET Requests, you can retrieve the content information, including the images and record it on your own site for faster content retrieval while keeping your website content up-to-date.

API Requests

For all requests to Content API, make the HTTP GET request to:

https://content-api.mobivate.com/<version>/<account_id>/<method>

Responses

We understand some programmers have preference of retrieving responses in XML while others may prefer JSON format. So, we offer both.

You can request the format you prefer in two ways:

By specifying the ''Accepts: application-json'' / ''Accepts: application-xml'' in the request or, by adding the ''format=(json | xml)'' parameter in the URL request string.

Example Request

GET https://content-api.mobivate.com/v1/aaaaaabbbbbbcccccc/content_types/

Example Response

<items>
  <item>Android Apps</item>
  <item>Cover Full Tracks</item>
  <item>Covertones</item>
  <item>Games</item>
  <item>J2ME</item>
  <item>Monophonics</item>
  <item>Polyphonics</item>
  <item>True Full Tracks</item>
  <item>TrueSounds</item>
  <item>TrueTones</item>
  <item>Videos</item>
  <item>Wallpapers</item>
</items>

Parameters

Below are a list of parameters used for the content api requests:

ParameterDescription

version

The version of the subscription api. Currently can only be v1.

account_id

Your unique Mobivate account id, for example: 0000d000a000d000c000e0f000b00.

method

Which method you would like to call can be one of the following: content_types,

categories, search, latest or item.

Last updated