CommentEventAttachment

Required access

read_false access scope

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.

Required access

read_ access scope

id   (ID!)

Globally unique identifier.

Required access

read_ access scope

image   (Image)

The image attached to the comment event.

Required access

read_ access scope

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.

Required access

read_ access scope

size   (Int!)

The size of the attachment.

Required access

read_ access scope

url   (URL!)

The URL of the attachment.

Required access

read_ access scope

Sign up for a Partner account to get started.

Sign up