Skip to main content

documents/category/{category_id}

Retrieves all the documents within a specified category.

Arguments:

  • api_key (required)
  • per_page (optional - default 25)
  • page (optional - default 1)
  • category_id (required)

Example request:

http://[domain]/api/documents/category/21.xml?api_key=[api_key]
&per_page=10&page=1

Example response:

<?xml version="1.0" encoding="utf-8"?>
<documents category_id="21" page="1" pages="1" per_page="10" total="1">
<document id="1" pages="2" requires_password="true">
<title>Document</title>
<date>1227625251</date>
<categories>
<category id="21" name="Category one"/>
</categories>
</document>
</documents>