TeamCity REST API Reference 2025.11 Help

UserAvatars

A collection of links to the current user profile picture rescaled to different sizes.

Properties

urlToSize20

The relative (without the TeamCity server URL) link to the user profile picture rescaled to 20x20 pixels.

urlToSize28

The relative (without the TeamCity server URL) link to the user profile picture rescaled to 28x28 pixels.

urlToSize32

The relative (without the TeamCity server URL) link to the user profile picture rescaled to 32x32 pixels.

urlToSize40

The relative (without the TeamCity server URL) link to the user profile picture rescaled to 40x40 pixels.

urlToSize56

The relative (without the TeamCity server URL) link to the user profile picture rescaled to 56x56 pixels.

urlToSize64

The relative (without the TeamCity server URL) link to the user profile picture rescaled to 64x64 pixels.

urlToSize80

The relative (without the TeamCity server URL) link to the user profile picture rescaled to 80x80 pixels.

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<userAvatars urlToSize20="/app/rest/avatars/id:1/20/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png" urlToSize28="/app/rest/avatars/id:1/28/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png" urlToSize32="/app/rest/avatars/id:1/32/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png" urlToSize40="/app/rest/avatars/id:1/40/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png" urlToSize56="/app/rest/avatars/id:1/56/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png" urlToSize64="/app/rest/avatars/id:1/64/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png" urlToSize80="/app/rest/avatars/id:1/80/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png"/>
{ "urlToSize80" : "/app/rest/avatars/id:1/80/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png", "urlToSize28" : "/app/rest/avatars/id:1/28/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png", "urlToSize40" : "/app/rest/avatars/id:1/40/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png", "urlToSize32" : "/app/rest/avatars/id:1/32/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png", "urlToSize20" : "/app/rest/avatars/id:1/20/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png", "urlToSize64" : "/app/rest/avatars/id:1/64/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png", "urlToSize56" : "/app/rest/avatars/id:1/56/avatar.a0b4af01-0211-4216-b2de-c295b282b4b5.png" }
Last modified: 02 December 2025