CommentEventAttachment

Version 2019-04

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(
    """
    Crops the image according to the specified region. This argument is
    deprecated: Use `crop` on `Image.transformedSrc` instead.
    """
    crop: CropRegion
    """
    Image height in pixels between 1 and 2048. This argument is deprecated: Use
    `maxHeight` on `Image.transformedSrc` instead.
    """
    maxHeight: Int
    """
    Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.
    """
    maxWidth: Int
    """
    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.

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 )

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

name (String!)

The filename of the comment event attachment.

size (Int!)

The size of the attachment.

url (URL!)

The URL of the attachment.

Version 2019-07 (Latest)

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(
    """
    Crops the image according to the specified region. This argument is
    deprecated: Use `crop` on `Image.transformedSrc` instead.
    """
    crop: CropRegion
    """
    Image height in pixels between 1 and 2048. This argument is deprecated: Use
    `maxHeight` on `Image.transformedSrc` instead.
    """
    maxHeight: Int
    """
    Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.
    """
    maxWidth: Int
    """
    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.

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 )

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

name (String!)

The filename of the comment event attachment.

size (Int!)

The size of the attachment.

url (URL!)

The URL of the attachment.

Version 2019-10 (Release candidate)

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(
    """
    Crops the image according to the specified region. This argument is
    deprecated: Use `crop` on `Image.transformedSrc` instead.
    """
    crop: CropRegion
    """
    Image height in pixels between 1 and 2048. This argument is deprecated: Use
    `maxHeight` on `Image.transformedSrc` instead.
    """
    maxHeight: Int
    """
    Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead.
    """
    maxWidth: Int
    """
    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.

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 )

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

name (String!)

The filename of the comment event attachment.

size (Int!)

The size of the attachment.

url (URL!)

The URL of the attachment.

Sign up for a Partner account to get started.

Sign up