Skip to main content

downloads/category/{category_id}

Retrieves a paginated list of all Downloads within a specified category.

Arguments:

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

Example request:

    http://[domain]/api/downloads/category/20000.xml?api_key=[api_key]
&per_page=1&order_by=id

Example response:

    <?xml version="1.0" encoding="utf-8"?>
<downloads category_id="20000" page="1" pages="1"
per_page="10" total="2" order_by="">
<download id="4">
<title>Galaxy nebulae</title>
<date>1359711565</date>
<categories>
<category id="20000" name="Category One"/>
</categories>
<file id="5" title="Galaxy nebulae image" size="52138"
filename="one.png" modDate="1359711565"/>
</download>
<download id="7">
<title>Jadu</title>
<date>1359712886</date>
<categories>
<category id="20000" name="Category One"/>
</categories>
<file id="8" title="Jadu image" size="58679"
filename="one.png" modDate="1359712879"/>
</download>
</downloads>