ForgeBox:API-Documentation

last edited byusericonlmajano on 24-Jan-2010

Contents

ForgeBox is a source directory for anything ColdBox or CodexWiki. We also have a community development website called the ColdBox Community Space where we can host your projects in either git/svn/files with tons of cool collaboration and development tools. The following is the API documentation for ForgeBox's REST service.

API EntryPoint

The ForgeBox API entry point is:

http://www.coldbox.org/api/forgebox/{format}/{resource-method}

Available Formats

The available return formats are:

The format is attached after the API endpoint.

XML Endpoint

http://www.coldbox.org/api/forgebox/xml/

JSON Endpoint

http://www.coldbox.org/api/forgebox/json/

You can also check out our HTTP Response Codes.

Return Structure

All ForgeBox REST API calls have the same return structure in order to provide consistency.

JSON Example:

{ error:true, messages:"invalid return format", data="" }

XML Example:

<forgebox>
  <error>true</error>
  <messages>Invalid Return Format</messages>
  <data />
</forgebox>

Methods

The following are available ForgeBox API methods

Types API Methods

Entries API Methods

 
Download in other Formats:
markup Markup | pdf PDF | swf SWF | html HTML | word Word

comments Comments (0)