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

Permission to run the request: Account Owner, Administrator, Organization Administrator, Publisher.

 

Request Headers

ParameterDescription
X-Auth-Account-Url (required)Base URL of the account, e.g. http://myaccount.ispringlearn.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 response will contain xml data with content item info.

 

Possible Response Codes

CodeTextDescription
404Unknown content itemContent item with the specified ID was not found.
200OkThe request has been processed successfully.

Sample Request

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

Sample Response

HTTP/1.1 200 OK
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<contentItem>
  <contentItemId>1</contentItemId>
  <title>Presentation</title>
  <userId>2</userId>
  <addedDate>2017-10-2017:21:49+03:00</addedDate>
  <viewUrl>http://myaccount.ispringlearn.com/view/1-y12j0-cZwkG-FaNU8</viewUrl>
  <type>Presentation</type>
</contentItem>
XML