hasProfilePicture

@GetMapping(value = "/get/{id}/has-profile-picture")
open fun hasProfilePicture(@PathVariable id: String): ResponseEntity<HasProfilePictureResponse>

Verifies if a user has a profile picture based on their ID.

Return

ResponseEntity containing a HasProfilePictureResponse with the hasProfilePicture flag set to true if the user has a profile picture, or false otherwise

Author

Oliver Lear Sigwarth (theoliverlear)

Parameters

id

user ID as a string path variable

See also

HasProfilePictureResponse
ResponseEntity
ProfilePictureOperations

Throws

if the provided id is not a valid numeric value