Launch GraphQL Playground

Newsletter issues


Get multiple issues

A list of newsletter issues can be obtained by using the sample query below. The scope of the query is limited using the filtering options. For e.g. the query returns all newsletter issues from the daily-briefing published after 2021-03-01, but before 2021-03-15.

Query

query Issues($query: NewsletterQuery, $options: QueryOptions) {
  newsletterIssues(query: $query, options: $options) {
    pageInfo {
      totalPages
      totalElements
      number
      size
    }
    items {
      id
      title
      datePublished
      newsletterId
      volume
      issue
    }
  }
}

Query Variables

{
  "query": {
    "newsletterId": "daily-briefing",
    "dateStart": "2021-03-01",
    "dateEnd": "2021-03-15"
  },
  "options":{
    "limit":3,
    "sortKey": "issue",
    "reverse": true,
    "page":0
  }
}

Response

{
  "data": {
    "newsletterIssues": {
      "pageInfo": {
        "totalPages": 4,
        "totalElements": 11,
        "number": 0,
        "size": 3
      },
      "items": [
        {
          "id": "61e179f3a0e04851b6f618e7fb4e6248",
          "title": "RedEcho and India's power grid (and lots of speculation). SolarWinds compromise updates. Gootloader and malicious SEO.",
          "datePublished": "2021-03-01T16:33:15.908Z",
          "newsletterId": "daily-briefing",
          "volume": 10,
          "issue": 39
        },
        {
          "id": "3bdbd53f063345d48b4a021a0d22837c",
          "title": "Indian authorities investigate possible cybersabotage of grid. Surviving in a walled garden. Controlling access-as-a-service.",
          "datePublished": "2021-03-02T16:09:22.765Z",
          "newsletterId": "daily-briefing",
          "volume": 10,
          "issue": 40
        },
        {
          "id": "888b1e7736824b2193cfc95e6be3d264",
          "title": "India continues investigation of possible grid cybersabotage. Microsoft patches zero-days under active Chinese exploitation. Ursnif warnings. ICS advisories.",
          "datePublished": "2021-03-03T16:08:33.064Z",
          "newsletterId": "daily-briefing",
          "volume": 10,
          "issue": 41
        }
      ]
    }
  }
}