Commit graph

9 commits

Author SHA1 Message Date
high
a0da52e558 Removed error constructor. Added response property. 2011-09-05 14:05:16 -04:00
high
866a4c9932 Implemented RestObject to enforce status/error keys. 2011-09-05 13:59:07 -04:00
Lucas Nicodemus
34b3252a31 Added /users/update/{user} endpoint 2011-09-05 03:54:24 -06:00
Lucas Nicodemus
017bbbca89 Fixed some wrong class names. 2011-09-05 03:32:42 -06:00
Lucas Nicodemus
a90c4e85a1 Added /users/update/{user} with params:
- password (should be sha512) (this should really be improved, but currently its all we've got)
 - group
Refactored a lot of the return blocks to fit coding style.
2011-09-05 03:31:40 -06:00
Lucas Nicodemus
5192c07d6d Added endpoint /token/destroy/{token} 2011-09-05 02:31:37 -06:00
Lucas Nicodemus
17683eaeaa API now checks user credentials before granting tokens.
Added new permission - 'api' that allows the group access to using the API.
2011-09-05 02:12:36 -06:00
Lucas Nicodemus
1fa5c7236e All API requests now respond with a predictable template, for further troubleshooting. 2011-09-05 01:37:56 -06:00
high
1fe7284f7c Added SecureRest which implements token requirement for commands. Still must implement a Verify function and probably change SecureRest around a bit. 2011-09-05 02:44:46 -04:00