YouTrack InCloud 2019.2 Help

Operations with Specific Me

Resource

/api/admin/users/me

Returned entity

Me. For the description of the entity attributes, see Supported Fields section.

Supported methods

Me attributes

Represents the currently logged in user in YouTrack.

Extends User

Read a Specific Me

Get parameters of the currently logged in user.

Request syntax

GET /api/admin/users/me/{meID}?{fields}

Request parameters

Parameter

Type

Description

fields

String

A list of Me attributes that should be returned in the response. If no field is specified, only the entityID is returned.

Sample

Sample request URI

https://example.myjetbrains.com/youtrack/api/admin/users/me?fields=id,login,name,email

Sample response body

{ "login": "john.doe", "email": "john.doe@example.com", "name": "John Doe", "id": "1-2", "$type": "Me" }
Last modified: 17 July 2019