Blog

Show definition
type Blog implements Node {
  # Globally unique identifier.
  id: ID!

  # List of the blog's articles.
  articles(
    # Returns up to the first `n` elements from the list.
    first: Int

    # Returns the elements that come after the specified cursor.
    after: String

    # Returns up to the last `n` elements from the list.
    last: Int

    # Returns the elements that come before the specified cursor.
    before: String

    # Reverse the order of the underlying list.
    reverse: Boolean = false
  ): ArticleConnection!

  # The blogs’s title.
  title: String!

  # The url pointing to the blog accessible from the web.
  url: URL!
}

Implements

Connections

articles   (ArticleConnection!)

List of the blog's articles.

Argument Type Default Description
after String

Returns the elements that come after the specified cursor.

before String

Returns the elements that come before the specified cursor.

first Int

Returns up to the first n elements from the list.

last Int

Returns up to the last n elements from the list.

reverse Boolean false

Reverse the order of the underlying list.

Fields

id   (ID!)

Globally unique identifier.

title   (String!)

The blogs’s title.

url   (URL!)

The url pointing to the blog accessible from the web.