SharePoint Online for Office 365 Developer Guide

http://msdn.microsoft.com/en-us/library/hh147180.aspx