OBJECT

Project

A project keeps posts and other data isolated from another project.

link GraphQL Schema definition

  • type Project {
  • # The accent color is used to call attention to key elements on the Newspage and
  • # the Widget. It allows giving a bold, colorful look without overwhelming the
  • # actual content.
  • accentColor: String!
  • # Identifies the date and time when the project was created.
  • createdAt: DateTime
  • # Self descriptive.
  • #
  • # Arguments
  • # after: Returns the email subscriptions that come after the
  • # specified cursor.
  • # before: Returns the email subscriptions that come before the
  • # specified cursor.
  • # first: Returns the first _n_ email subscriptions.
  • # last: Returns the last _n_ email subscriptions.
  • # isArchived: [Not documented]
  • # status: Subscription status
  • emailSubscriptions(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • isArchived: Boolean,
  • status: EmailSubscriptionStatus
  • ): EmailSubscriptionConnection
  • id: ID!
  • # A list of labels managed by the project.
  • labels: [Label]!
  • # The URL to a logo image that depicts the project.
  • logoUrl: String
  • # The name of the project.
  • name: String
  • # A list of posts associated with the project.
  • #
  • # Arguments
  • # after: Returns the posts that come after the specified cursor.
  • # before: Returns the posts that come before the specified
  • # cursor.
  • # first: Returns the first _n_ posts.
  • # last: Returns the last _n_ posts.
  • # isDraft: If non-null, filters posts according to whether they
  • # are draft or not.
  • # labelId: If non-null, return posts that match the specified
  • # label ID only.
  • # segments: A list of segmentation filters, aka segments, used to
  • # target this post to specific users.
  • posts(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • isDraft: Boolean,
  • labelId: ID,
  • segments: [String]
  • ): PostConnection @deprecated( reason: "Use the field Project.publications instead." )
  • # List publications associated with the project. Note that segmented publications
  • # are not returned by default. You need to specify segments you are interested in
  • # using the optional `segments` argument. In the say way, only publications whose
  • # publication time is before the query execution date and time are returned. You
  • # can change this behavior using the optional `before` argument. Besides,
  • # publication results are sorted by *pinned* state first and then by *publication
  • # time*.
  • #
  • # Arguments
  • # after: Returns the publications that come after the specified
  • # cursor.
  • # before: Returns the publications that come before the specified
  • # cursor.
  • # first: Returns the first _n_ publications.
  • # last: Returns the last _n_ publications.
  • # isDraft: If non-null, filters publications according to whether
  • # they are draft or not.
  • # labels: If non-null, returns publications matching any of the
  • # specified label IDs.
  • # segments: If non-null, returns publications matching any of the
  • # specified segments.
  • publications(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • isDraft: Boolean,
  • labels: [ID],
  • segments: [String]
  • ): PublicationConnection
  • # The HTTP URL project's Web page.
  • url: URL
  • }