Revision 270dd48d docs/source/devguide.rst

b/docs/source/devguide.rst
158 158
auth_token                   Authentication token
159 159
auth_token_expires           Token expiration date
160 160
auth_token_created           Token creation date
161
has_credits                  Whether user has credits
162
has_signed_terms             Whether user has aggred on terms
161 163
===========================  ============================
162 164

  
163 165
Example reply:
......
168 170
  "uniq": "papagian@example.com"
169 171
  "auth_token": "0000",
170 172
  "auth_token_expires": "Tue, 11-Sep-2012 09:17:14 ",
171
  "auth_token_created": "Sun, 11-Sep-2011 09:17:14 "}
173
  "auth_token_created": "Sun, 11-Sep-2011 09:17:14 ",
174
  "has_credits": false,
175
  "has_signed_terms": true}
172 176

  
173 177
|
174 178

  
......
177 181
=========================== =====================
178 182
204 (No Content)            The request succeeded
179 183
400 (Bad Request)           The request is invalid
180
401 (Unauthorized)          Missing token or inactive user
184
401 (Unauthorized)          Missing token or inactive user or penging approval terms
181 185
500 (Internal Server Error) The request cannot be completed because of an internal error
182 186
=========================== =====================
183 187

  

Also available in: Unified diff