Users
Users – All
Request URL: http://api.buto.tv/users/
Request Method: GET
Requires Authentication: Yes
Returns all users in the authenticated users organisation, ordered by creation date descending. There are no optional parameters for this API. XML is returned in the format below, a 200 Ok header is sent with results while a 404 Not Found header is sent if no users are found.
<!--
// Buto Users API
// 200 OK sent with results
// 404 Not Found sent with incorrect authentication
-->
<?xml version="1.0"?>
<users>
<user>
...
</user>
<user>
...
</user>
</users>
User – Individual user
Request URL: http://api.buto.tv/users/user/{#user id}
Request Method: GET
Requires Authentication: Yes
Returns an individual users record set, or 404 not found if the user does not exist. The user must be a member of the authenticated users organisation in order to be returned. XML is returned in the format below:
<!--
// Buto User API - http://buto.tv/api/users/user/#id
// 200 OK sent with result
// 404 Not Found sent with incorrect authentication
-->
<?xml version="1.0"?>
<user>
...
</user>
User – Data format
All user responses are formatted as the XML below.
<user>
<id>'string'</id>
<email>'string'</email>
<first-name>'string'</first-name>
<last-name>'string'</last-name>
<type>'string - either standard, super or uploader'</type>
<telephone-land>'string'</telephone-land>
<created-on>'ISO 8601 date'</created-on>
<last-login>'ISO 8601 date'</last-login>
</user>