This documentation is now on the Atlassian Developers wiki.