Skip to main content

MediaComment

A comment on an image. A thread may be pinned to a point on the image and gathers replies; only threads are resolved. Archived comments are left out of the image.

type MediaComment {
archivedAt: ISO8601DateTime
author: Party!
body: String!
createdAt: ISO8601DateTime!
id: ID!
media: Media!
replies: [MediaComment!]!
resolvedAt: ISO8601DateTime
resolvedBy: Party
updatedAt: ISO8601DateTime!
x: Float
y: Float
}

Fields​

MediaComment.archivedAt ● ISO8601DateTime scalar common​

Set when the comment was archived.

MediaComment.author ● Party! non-null object common​

MediaComment.body ● String! non-null scalar common​

MediaComment.createdAt ● ISO8601DateTime! non-null scalar common​

MediaComment.id ● ID! non-null scalar common​

MediaComment.media ● Media! non-null object products​

The image the comment is on, with its threads and open count as they stand after this comment.

MediaComment.replies ● [MediaComment!]! non-null object products​

Replies, oldest first. Empty on a reply.

MediaComment.resolvedAt ● ISO8601DateTime scalar common​

MediaComment.resolvedBy ● Party object common​

MediaComment.updatedAt ● ISO8601DateTime! non-null scalar common​

MediaComment.x ● Float scalar common​

Pin position across the image, 0 to 1. Null when the comment is not pinned.

MediaComment.y ● Float scalar common​

Pin position down the image, 0 to 1.

Returned By​

mediaCommentAdd mutation ● mediaCommentArchive mutation ● mediaCommentResolve mutation

Member Of​

Media object ● MediaComment object