YouTrack InCloud 7.0 Help

Get Info For Current User

GET /user/current

Get info about currently logged in user.

GET /rest/user/current

Response parameters:

For the description of attributes in the response, see Get User by Login Name.

Sample

Request

GET http://localhost:8081/rest/user/current Connection: keep-alive Cookie: $Version=0; JSESSIONID=342efpzevk821sa2fh6oszm07; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=MTVhMjY2OGUxMTUxMTI5MGMzNjhlZWM5NTJiNGJkNmIyNzc3NjdjZmM3YWU4MTVjYzQwYWE1MWZlYTkwNTcxNzphcHBfZXhjZXB0aW9u; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 150 Server: Jetty(6.1.23) <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <user lastCreatedProject="HBR" email="vadim.gurov@gmail.com" fullName="Application Exception"/>
Last modified: 29 September 2016