Launch GraphQL Playground

Podcasts

CyberWire podcasts


Podcasts

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

Query

query {
  podcasts{
    items {
      podcastId
      title
    }
  }
}

Podcasts list

Sorted list of Podcasts

The podcast list can be sorted based on any of the fields. The sorting options can be passed through the options parameter in podcasts 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 Podcasts($options: QueryOptions) {
  podcasts(options: $options) {
    items {
      podcastId
      title
    }
  }
}

Query Variables

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

Podcasts list sorted