Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.16 KB

userAvatar_downloadFile.rst

File metadata and controls

54 lines (36 loc) · 1.16 KB

userAvatar_downloadFile

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

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-download

Security Summary

  • Requires Authentication: true
  • Entitlements Required: None

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • fileName (required): the file name of the photo to upload
  • 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}/{fileName}" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • user-api-resources
  • user-object
  • userAvatar-delete
  • userAvatar-download
  • userAvatar-upload
  • userPassword-reset