webhookSubscriptions

De meldingen waarop je bent geabonneerd.

Soort · query

Geeft terug · WebhookSubscriptionConnection! — WebhookSubscriptionConnection


Argumenten

  • Name
    first
    Type
    Int
    Description

    Hoeveel abonnementen je wilt, van voren af. Tussen 1 en 250. Zie Int.

  • Name
    after
    Type
    String
    Description

    Lees verder na deze cursor. Zie String.

  • Name
    last
    Type
    Int
    Description

    Hoeveel abonnementen je wilt, van achteren af. Tussen 1 en 250. Zie Int.

  • Name
    before
    Type
    String
    Description

    Lees terug vóór deze cursor. Zie String.

  • Name
    topics
    Type
    [WebhookSubscriptionTopic!]
    Description

    Beperk tot deze onderwerpen. Laat weg voor alles. Zie WebhookSubscriptionTopic.

Voorbeeld

Request

QUERY
webhookSubscriptions
query WebhookSubscriptions($first: Int, $after: String, $last: Int, $before: String, $topics: [WebhookSubscriptionTopic!]) {
  webhookSubscriptions(first: $first, after: $after, last: $last, before: $before, topics: $topics) {
    edges {
      cursor
      node {
        id
        topic
        format
        createdAt
        updatedAt
      }
    }
    nodes {
      id
      topic
      format
      createdAt
      updatedAt
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}

Dit voorbeeld vraagt elk veld op dat zonder argumenten kan. Vraag in de praktijk alleen op wat je gebruikt: wat je niet opvraagt halen wij ook niet op, en het scheelt punten.

Had je hier iets aan?