Query Plugin Data
Query Plugin DataEvents Manager

Events Manager

Examples of queries to interact with data from the Events Manager plugin.

Fetching events

Fetching a list of events, with their associated location data:

query GetEvents($postId: ID!) {
  events(by: { id: $postId }) {
    id
    title
    content
    startDate
    endDate
    isAllDay
    location {
      id
      name
      address
      city
      coordinates
    }
  }
}