Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.07 KB

userAvatar_download.rst

File metadata and controls

53 lines (35 loc) · 1.07 KB

userAvatar_download

GET /users/{uid}/photo/{photoId}

Summary

  • Method: GET
  • Response Code: 200 / 304
  • Response Formats: */*
  • Since: UForge 3.0

Downloads the avatar photo for an user.

This request is similar to userAvatar-downloadFile

Security Summary

  • Requires Authentication: true
  • Entitlements Required: None

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • photoId (required): the id of the logo-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/users/{uid}/photo/{photoId}" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • user-api-resources
  • user-object
  • userAvatar-delete
  • userAvatar-downloadFile
  • userAvatar-upload
  • userPassword-reset