CommentEventAttachment

A file attachment associated to a comment event.

Show definition
# A file attachment associated to a comment event.
type CommentEventAttachment {
  # The file extension of the comment event attachment, indicating the file format.
  fileExtension: String

  # Globally unique identifier.
  id: ID!

  # The image attached to the comment event.
  image(
    # Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.
    maxWidth: Int

    # Image height in pixels between 1 and 2048. This argument is deprecated: Use
    # `maxHeight` on `Image.transformedSrc` instead.
    maxHeight: Int

    # Crops the image according to the specified region. This argument is
    # deprecated: Use `crop` on `Image.transformedSrc` instead.
    crop: CropRegion

    # Image size multiplier for high-resolution retina displays. Must be between 1
    # and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead.
    scale: Int = 1
  ): Image

  # The filename of the comment event attachment.
  name: String!

  # The size of the attachment.
  size: Int!

  # The URL of the attachment.
  url: URL!
}

Fields

fileExtension   (String)

The file extension of the comment event attachment, indicating the file format.

id   (ID!)

Globally unique identifier.

image   (Image)

The image attached to the comment event.

Argument Type Default Description
crop CropRegion

Crops the image according to the specified region. This argument is deprecated: Use crop on Image.transformedSrc instead.

maxHeight Int

Image height in pixels between 1 and 2048. This argument is deprecated: Use maxHeight on Image.transformedSrc instead.

maxWidth Int

Image width in pixels between 1 and 2048. This argument is deprecated: Use maxWidth on Image.transformedSrc instead.

scale Int 1

Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use scale on Image.transformedSrc instead.

name   (String!)

The filename of the comment event attachment.

size   (Int!)

The size of the attachment.

url   (URL!)

The URL of the attachment.