The documentation for the Discovery System RESTful API can now be found on The National Archives website.
A beta version is now available for testing and feedback please try out the sandbox at http://discovery.nationalarchives.gov.uk/API/sandbox/index.