Updated the Apiary API definition to the new API. It is just a rough draft and will be revised and edited.