Gravatar · Example Payload

Setemailavatar

Sets the avatar for the provided email hash.

avatars

Setemailavatar is an example object payload from Gravatar, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdpathmethodsummarydescriptiontagsparameters

Example Payload

Raw ↑
{
  "operationId": "setEmailAvatar",
  "path": "/me/avatars/{imageId}/email",
  "method": "POST",
  "summary": "Set avatar for the hashed email",
  "description": "Sets the avatar for the provided email hash.",
  "tags": [
    "avatars"
  ],
  "parameters": [
    {
      "name": "imageId",
      "in": "path",
      "description": "Image ID of the avatar to set as the provided hashed email avatar.",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ]
}