| Argument | Type | Description |
|---|---|---|
locationIds | [String] | List of location IDs |
metadata | [EventMetadataFilter!] | Metadata |
since | NaiveDateTime | Since |
typesrequired | [String!]! | Types |
until | NaiveDateTime | Until |
query( $locationIds: [String], $metadata: [EventMetadataFilter!], $since: NaiveDateTime, $types: [String!]!, $until: NaiveDateTime) { events( locationIds: $locationIds, metadata: $metadata, since: $since, types: $types, until: $until ) { id # Add other fields you need }}{ "locationIds": "example", "metadata": {}, "since": {}, "types": {}, "until": {}}| Argument | Type | Description |
|---|---|---|
after | String | Cursor for forward pagination |
before | String | Cursor for backward pagination |
first | Int | First |
last | Int | Last |
locationIds | [String] | List of location IDs |
metadata | [EventMetadataFilter!] | Metadata |
orderBy | [EventsOrderBy] | Order by |
since | NaiveDateTime | Since |
typesrequired | [String!]! | Types |
until | NaiveDateTime | Until |
query( $first: Int, $locationIds: [String], $metadata: [EventMetadataFilter!], $orderBy: [EventsOrderBy], $since: NaiveDateTime, $types: [String!]!, $until: NaiveDateTime) { eventsPaginated( first: $first, locationIds: $locationIds, metadata: $metadata, orderBy: $orderBy, since: $since, types: $types, until: $until ) { edges { node { id # Add other fields you need } } pageInfo { hasNextPage endCursor } }}{ "first": 1, "locationIds": "example", "metadata": {}, "orderBy": {}, "since": {}, "types": {}, "until": {}}