Skip to main content

AvatarViewer

Your profile avatar image.

type AvatarViewer {
id: ID!
url: String!
contentType: String!
fileSize: Int!
width: Int
height: Int
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

AvatarViewer.id ● ID! non-null scalar {#id}

AvatarViewer.url ● String! non-null scalar {#url}

URL to the avatar image.

AvatarViewer.contentType ● String! non-null scalar {#content-type}

MIME type (e.g., image/png)

AvatarViewer.fileSize ● Int! non-null scalar {#file-size}

File size in bytes

AvatarViewer.width ● Int scalar {#width}

Image width in pixels

AvatarViewer.height ● Int scalar {#height}

Image height in pixels

AvatarViewer.createdAt ● DateTime! non-null scalar {#created-at}

When the avatar was uploaded (UTC)

AvatarViewer.updatedAt ● DateTime! non-null scalar {#updated-at}

When the avatar was last changed (UTC)

Member Of

AccountViewer object ● AvatarViewerPayload object