Getting Content Item Info

You can obtain information about a content item by sending the GET request to the following URL: /content/<content_item_id>.

Request Headers

Parameter Description
X-Auth-Account-Url (required) Base URL of the account, e.g. http://myaccount.ispringonline.com
X-Auth-Email (required) Administrator/Publisher e-mail address.
X-Auth-Password (required) Administrator/Publisher password.

After the request has been completed, the system returns the response with Code 200. The body of the reponse will contain xml data with content item info.

Possible Response Codes

Code Text Description
200 Ok The request has been processed successfully.

Sample Request

GET /content/1 HTTP/1.1
Host: api.ispringonline.com
X-Auth-Account-Url: http://myaccount.ispringonline.com
X-Auth-Email: email@email.com
X-Auth-Password: password

Sample Response

HTTP/1.1 200 OK
Server: nginx
Connection: close

<?xml version="1.0" encoding="utf-8"?>
<contentItem>
  <contentItemId>1</contentItemId>
  <title>title</title>
  <description>description</description>
  <userId>1</userId>
  <addedDate>2009-09-01</addedDate>
  <viewUrl>http://myaccount.ispringonline.com/content/1</viewUrl>
</contentItem>