{|align="right" |- | __TOC__ |} [http://www.coldbox.org/forgebox ForgeBox] is a source directory for anything ColdBox or [http://www.codexwiki.org CodexWiki]. We also have a community development website called the [http://coldbox.assembla.com/spaces/coldbox-community 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: * xml (default) * json 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 [[ForgeBox:HTTP-Response-Codes| HTTP Response Codes]]. == Return Structure == All ForgeBox REST API calls have the same return structure in order to provide consistency. * forgebox ** error : ''boolean'' ** messages : ''string'' ** data : ''records'' JSON Example: { error:true, messages:"invalid return format", data="" } XML Example: true Invalid Return Format == Methods == The following are available ForgeBox API methods === Types API Methods === * [[ForgeBox:types|types]] - Retrieve all entry types === Entries API Methods === * [[ForgeBox:entries|entries]] - Retrieve entries with criteria * [[ForgeBox:entries-popular|entries/popular]] - Retrieve the most popular entries * [[ForgeBox:entries-new|entries/new]] - Retrieve the newest contributed entries * [[ForgeBox:entries-recent|entries/recent]] - Retrieve the most recent contributed entries * [[ForgeBox:entry|entry/:slug]] - Retrieving an entry