|
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.
The ForgeBox API entry point is:
http://www.coldbox.org/api/forgebox/{format}/{resource-method}
The available return formats are:
The format is attached after the API endpoint.
http://www.coldbox.org/api/forgebox/xml/
http://www.coldbox.org/api/forgebox/json/
You can also check out our HTTP Response Codes.
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>
The following are available ForgeBox API methods