YouTrack Standalone 2017.2 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 the response attributes, see Get User by Login Name.

Sample

Request

GET https://example.com/youtrack/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 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <user lastCreatedProject="HBR" email="vadim.gurov@gmail.com" fullName="Application Exception"/>
Last modified: 7 March 2019