{"_id":"5661fdcd55e4450d00e62c8c","project":"5511df3be2990b0d00fb071d","user":"5511dee39171e82b00897349","__v":1,"category":{"_id":"5661fdcb55e4450d00e62c78","__v":1,"pages":["5661fdcd55e4450d00e62c8c","5661fdcd55e4450d00e62c8d"],"project":"5511df3be2990b0d00fb071d","version":"5661fdca55e4450d00e62c73","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-27T12:43:00.107Z","from_sync":false,"order":4,"slug":"account-information","title":"Account Information"},"parentDoc":null,"version":{"_id":"5661fdca55e4450d00e62c73","project":"5511df3be2990b0d00fb071d","__v":2,"createdAt":"2015-12-04T20:55:38.639Z","releaseDate":"2015-12-04T20:55:38.639Z","categories":["5661fdcb55e4450d00e62c74","5661fdcb55e4450d00e62c75","5661fdcb55e4450d00e62c76","5661fdcb55e4450d00e62c77","5661fdcb55e4450d00e62c78","5661fdcb55e4450d00e62c79","567c42b13241c20d00b7312e"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-27T12:55:45.772Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"56a8d993c0e02f0d007fa916","examples":{"codes":[{"code":"curl 'https://api.astrodigital.com/v2.0/user' -H 'Authorization: Token YOUR_TOKEN'","name":"","language":"curl"}]},"method":"get","results":{"codes":[{"status":200,"language":"json","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}","name":""},{"status":400,"language":"json","code":"{\"detail\":\"Authentication credentials were not provided.\"}\n\nor \n\n{\"detail\":\"Bad token.\"}","name":""}]},"auth":"required","params":[],"url":"/user"},"isReference":false,"order":0,"body":"Allows you to retrieve basic account information about the user authenticated via the required token.","excerpt":"Retrieve authenticated user account information","slug":"user","type":"endpoint","title":"user"}

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 }}