OBJECT

Query

Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from Noticeable servers.

For more information, see "About queries".

link GraphQL Schema definition

  • type Query {
  • # Search an email subscription for the specified project ID and email address.
  • #
  • # Arguments
  • # projectId: [Not documented]
  • # email: [Not documented]
  • emailSubscription(projectId: ID!, email: String!): EmailSubscription
  • # Lookup the organization associated with the access token in use.
  • organization: Organization
  • # Lookup a post by project and post ID.
  • #
  • # Arguments
  • # projectId: [Not documented]
  • # postId: [Not documented]
  • post(
  • projectId: ID!,
  • postId: ID!
  • ): Post @deprecated( reason: "Use publication(...) instead of post(...)." )
  • # Lookup a publication by ID.
  • #
  • # Arguments
  • # projectId: [Not documented]
  • # publicationId: [Not documented]
  • publication(projectId: ID!, publicationId: ID!): Publication
  • # Lookup a publication comment by ID.
  • #
  • # Arguments
  • # projectId: [Not documented]
  • # commentId: [Not documented]
  • publicationComment(projectId: ID!, commentId: ID!): PublicationComment
  • # List publication comments in the specified project given its ID.
  • #
  • # Arguments
  • # projectId: [Not documented]
  • # after: Returns the publication comments that come after the
  • # specified cursor.
  • # before: Returns the publication comments that come before the
  • # specified cursor.
  • # first: Returns the first _n_ publication comments.
  • # last: Returns the last _n_ publication comments.
  • publicationComments(
  • projectId: ID!,
  • after: String,
  • before: String,
  • first: Int,
  • last: Int
  • ): PublicationCommentConnection
  • # Lookup a project given its ID.
  • #
  • # Arguments
  • # projectId: [Not documented]
  • project(projectId: ID): Project
  • }

link Require by

This element is not required by anyone