# Get Endpoint - GetUserProfile

Loads pofile picture of authenticated user.

# HTTP Request

One of the following requests should be made:

GET /api/user/profilepicture

# Query parameters

Name Description
repository optional. Destination repository key.

# Request headers

Name Description
Authorization required. Bearer {token}. See authorization

# Responses

Code Description Type
200 Profile Picture. string
400 Request contains invalid data.
401 Logged in user is not authenticated.
404 If no profile picture could be found.
500 Loading profile picture has failed due to an internal server error.

# Example

# Request

The following is an example of how to call the endpoint:

GET /api/user/profilepicture?repository=repo1

# Response

The following example shows the response:

Information

The response object is truncated for clarity. Default properties will be returned from the call.

The response will be the actual image-file.
Zuletzt aktualisiert: 7. Februar 2025 um 08:35