YouTrack Standalone 2019.1 Help

Operations with Specific GeneralUserProfile

Resource

/api/admin/customFieldSettings/bundles/user/{bundleID}/individuals/{userID}/profiles/general

Returned entity

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

Supported methods

GeneralUserProfile attributes

Store general user's data.

This table describes attributes of the GeneralUserProfile entity.

  • To receive an attribute in the response from server, specify it explicitly in the request parameter fields.

  • To update an attribute, provide it in the body of a POST request.

Field

Type

Description

dateFieldFormat

DateFormatDescriptor

Format in which dates are shown to this user.

timezone

TimeZoneDescriptor

Timezone of the user.

locale

LocaleDescriptor

Personal locale selected by user.

Read a Specific GeneralUserProfile

Get profile with general user's settings.

Request syntax

GET /api/admin/customFieldSettings/bundles/user/{bundleID}/individuals/{userID}/profiles/general/{profileID}?{fields}

Request parameters

Parameter

Type

Description

fields

string

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

Update a Specific GeneralUserProfile

Request syntax

POST /api/admin/customFieldSettings/bundles/user/{bundleID}/individuals/{userID}/profiles/general/{profileID}?{fields}

Request parameters

Parameter

Type

Description

fields

string

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

Last modified: 8 July 2019