Skip to main content

directories/all

Retrieves a paginated list of all the directories available and their details.

Arguments:

  • api_key (required)
  • per_page (optional - default 10)
  • page (optional - default 1)

Example request:

http://[domain]/api/directories/all.xml?api_key=[api_key]&per_page=10&page=1

Example response:

<?xml version="1.0" encoding="utf-8"?>
<directories page="1" pages="1" per_page="10" total="1">
<directory id="1" entries="3" public_submission="1">
<name>My directory</name>
<content><![CDATA[Content With XHTML embedded.]]></content>
<categories>
<category id="17" name="Category one"/>
</categories>
</directory>
</directories>