Members

Set the Profile Image of a Member

Sets the profile image for a member. The request must be a multi-part request containing the original image and the coordinates to use to crop the image. PUT is also supported for this resource.

The coordinates should be specified in an aspect ratio of 3:4. For instance, if you have an image that is 800 X 800, and you want the center of the image selected for the profile image, you would pass in the following for the coordinates:

  • Left: 100
  • Top: 0
  • Width: 600
  • Bottom: 800

This will set the profile image to start 100 pixels from the left and go 600 pixels wide. 600 X 800 is in the 3:4 ratio.

You can specify 0 for all the coordinates and the API will create the biggest possible image from the original image. It would save the same image as above if all parameters were set to 0. It will center the rectangle horizontally if the original image is too wide and it will use the top of the original image if it is too long.

post/wolfconnect/members/v1/{memberId}/profile-image

Request

  • Base URL: https://api.globalwolfweb.com
  • URL: https://api.globalwolfweb.com/wolfconnect/members/v1/{memberId}/profile-image
  • Auth: API key in header Authorization

Response

The profile image was set. No response content.

Changes

No recorded changes to this operation across all 1 revision of this API.