{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/user","auth":"required","settings":"56a8d993c0e02f0d007fa916","examples":{"codes":[{"language":"curl","name":"","code":"curl 'https://api.astrodigital.com/v3.0/user' -H 'Authorization: Token YOUR_TOKEN'"}]},"method":"get","params":[],"results":{"codes":[{"name":"","code":"{\n    \"id\": 9,\n    \"last_login\": \"2015-08-26T17:52:29.842310Z\",\n    \"username\": \"astro\",\n    \"email\": \"hello:::at:::astrodigital.com\",\n    \"date_joined\": \"2015-03-25T13:59:04.326305Z\"\n}","language":"json","status":200},{"name":"","code":"{\"detail\":\"Authentication credentials were not provided.\"}\n\nor \n\n{\"detail\":\"Bad token.\"}","language":"json","status":400}]}},"next":{"description":"","pages":[]},"title":"user","type":"endpoint","slug":"user","excerpt":"Retrieve authenticated user account information","body":"Allows you to retrieve basic account information about the user authenticated via the required token.","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5c660b7a77adf5002790cca8","githubsync":"","project":"5511df3be2990b0d00fb071d","user":"5511dee39171e82b00897349","__v":2,"category":{"sync":{"isSync":false,"url":""},"pages":["5c660b7a77adf5002790cca8","5661fdcd55e4450d00e62c8d"],"title":"Account Information","slug":"account-information","order":4,"from_sync":false,"reference":false,"_id":"5c660b7a77adf5002790cc9f","__v":1,"project":"5511df3be2990b0d00fb071d","version":"5c660b7a77adf5002790ccc3","createdAt":"2015-08-27T12:43:00.107Z"},"parentDoc":null,"version":{"version":"3.0","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["5c660b7a77adf5002790cc9c","5c660b7a77adf5002790cc9d","5c660b7a77adf5002790cc9e","5661fdcb55e4450d00e62c77","5c660b7a77adf5002790cc9f","5c660b7a77adf5002790cca0","5c660b7a77adf5002790cca1"],"_id":"5c660b7a77adf5002790ccc3","project":"5511df3be2990b0d00fb071d","__v":0,"forked_from":"5661fdca55e4450d00e62c73","createdAt":"2015-12-04T20:55:38.639Z","releaseDate":"2015-12-04T20:55:38.639Z"},"createdAt":"2015-08-27T12:55:45.772Z"}

getuser

Retrieve authenticated user account information

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

Allows you to retrieve basic account information about the user authenticated via the required token.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}