ForgeBox:entries
last edited by
lmajano
on 24-Jan-2010
<< Back to ForgeBox API Documentation
ForgeBox API Method: entries
Returns code entries according to passed in parameters or using default values.
URL:
http://www.coldbox.org/api/forgebox/{format}/entries
Formats:
- xml
- json
HTTP Method(s):
- GET
Parameters:
- orderby (optional) : The ordering to impose in the results. Available order keywords are:
- New
- Recent (Default)
- Popular
- maxrows (optional) : The max records to retrieve. By default we return all records (defaults to 0)
- startrow (optional) : The offset to use when paging records. By default we return all records (defaults to 0)
- type (optional) : The type slug to filter the results with. You will need to use the ForgeBox type slugs in order to make this work. Please see the types method
Usage examples:
Below is a simple example using curl (about cURL)
- curl http://www.coldbox.org/api/forgebox/xml/entries
- curl http://www.coldbox.org/api/forgebox/xml/entries?maxrows=20&startrow=20
- curl http://www.coldbox.org/api/forgebox/xml/entries?orderby=popular
<< Back to ForgeBox API Documentation

SideBar
User Login 




Comments (