Entertonement API - Authentication
Overview
Some requests to the Entertonement API require authentication, such as uploading a new clip. These are done with HTTP POST requests.
Request
Currently the Entertonement API supports inline authentication, meaning that for any request that requires a valid user, the client should pass the additional two name/value pairs in the POST body.
user_email (String)
The registered and verified email address the client signed up with
user_password (String)
The password the client used when registering
Response Failure
If the client failed to authenticate, a response with errors is sent regardless of the desired resource. Additionally an HTTP 403 header is sent with the response.
XML
<response>
<errors>
<error><![CDATA[Some error message related to login]]></error>
</errors>
</response>
JSON
{
"errors": ["Some error message related to login"]
}


