This web service returns the Table of Content for the specified publication, as an XML or JSON document.


Adress : /api/publications/[isbn]/toc.[xml|js]

Formats : XML or JSON

Method : GET

Security : HTTP/BASIC (Use your username and password)


Parameters

Name Mandatory Description

Responses


XML format :


<chapters>

<chapter>

<page>1</page>

<title>Cover</title>

</chapter>

<chapter>

<page>7</page>

<title>Table of content</title>

</chapter>

<chapter>

<page>13</page>

<title>Chapter 1</title>

</chapter>

<chapter>

<page>24</page>

<title>Chapter 2</title>

</chapter>

...

</chapters>


JSON format :


[{"page":1,"title":"Cover"},{"page":7,"title":"Table of content"},{"page":13,"title":"Chapter 1"},{"page":24,"title":"Chapter 2"}...