GET /Users/{identifier}/Picture
-
Summary: Retrieve the picture of a specified user.
-
HTTP Method: GET
-
URL:
/Users/{identifier}/Picture
Request
-
Authentication: Required (Basic Auth via UserSecurity)
-
Path Parameter:
-
identifier (string, required): Identifier of the user whose picture is requested.
Example:"johndoe123"
Note: The actual field used (e.g.,pbxUsername) is determined by thepovparameter.
-
-
Query Parameter:
-
pov (string, required): Application point of view.
Valid Value:"jabber"
Example:"jabber"
-
Response
-
200 OK:
Returns the user's picture as a JPEG image (binary data). -
Error Responses:
-
400 Bad Request: The request is missing required parameters or contains invalid values.
-
401 Unauthorized: Wrong user credentials.
-
404 Not Found: No matching user found using the given identifier, or the user has no associated picture.
-
500 Internal Server Error: An error occurred while processing the request.
-
503 Service Unavailable: Pictures repository is disabled.
-