Login Deutsch

Developers welcome! The mite.api is looking forward to your precious hacking. Have a look at the detailed documentation to kick-start your coding.

Show account

GET /account.xml

Returns your account.

Response : 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<account>
   <id type="integer">123</id>
   <name>acme</name>
   <title>Acme Inc</title>
   <currency>EUR</currency>
   <created-at type="datetime">2009-10-12T00:00:00+01:00</created-at>
   <updated-at type="datetime">2009-11-02T13:21:09+01:00</updated-at>
</account>

Show the current user

GET /myself.xml

Returns the user signed in to the mite.api at the moment.

Response : 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<user>
   <id type="integer">1</id>
   <name>Freddy Freelancer</name>
   <email>freddy@email.com</email>
   <note></note>
   <archived type="boolean">false</archived>
   <role>coworker</role>
   <language>en</language>
   <created-at type="datetime">2007-06-23T23:00:58+02:00</created-at>
   <updated-at type="datetime">2009-02-14T00:33:26+01:00</updated-at>
</user>