upload

suspend fun upload(file: File, email: Email, wordpressBearerToken: String): Result<Unit, ErrorType>

Uploads a Gravatar image for the given email address.

Parameters

file

The image file to upload

email

The email address to associate the image with

wordpressBearerToken

The bearer token for the user's WordPress/Gravatar account