Launch GraphQL Playground

Newsletters

CyberWire newsletters and briefings


List of Newsletters

A list of all CyberWire newsletters can be obtained by using the query below.

Query

query {
  newsletters{
    items {
      newsletterId
      title
    }
  }
}

Newsletters list

Sorted list of Newsletters

The newsletter list can be sorted based on any of the fields. The sorting options can be passed through the options parameter in newsletters query

For e.g. the query below returns a list sorted by title {sortKey: title}. The default sorting order is descending. The option {reverse: true} changes the sort order to ascending

Query

query Newsletters($options: QueryOptions) {
  newsletters(options: $options) {
    items {
      newsletterId
      title
    }
  }
}

Query Variables

{
  "options": {
    "sortKey": "title",
    "reverse": true
  }
}

Newsletters list sorted