getAvatar
Downloads a Polarion user's avatar image by User ID and returns it as image content, refusing files over 20 MB.
Instructions
Downloads the avatar image of one user. Images (PNG, JPEG, GIF, WebP) come back as image content, UTF-8 text files as text, and any other file (PDF, Office, ZIP) as an embedded base64 resource; files over 20 MB are refused. Since avatars are images, this is rarely useful to an agent; for a user's name, email, and other profile data use getUser, and to replace the image use updateAvatar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The User ID. | |
| response_format | No | Response detail level. concise removes redundant HTML and JSON:API metadata and may use a small default fieldset on large lists; detailed preserves the complete response. Defaults to detailed. | detailed |