Queries
elementsByElementGroups
Retrieves elements from a given set of elementGroups, using additional RSQL filters if provided.
Template for Query:
query GetElementsByElementGroups($elementGroupIds: [ID!]!, $filter: ElementFilterInput, $pagination: PaginationInput) {
elementsByElementGroups(elementGroupIds: $elementGroupIds, filter: $filter, pagination: $pagination) {
# ElementsByElementGroups Fields
}
}
Template for Query Variables:
{
"elementGroupIds" : "<SOME-[ID!]-TYPE-SCALAR-VALUE>",
"filter" : "<SOME-ELEMENTFILTER-INPUT-TYPE-VALUE>",
"pagination" : "<SOME-PAGINATION-INPUT-TYPE-VALUE>"
}
Arguments
| elementGroupIds* [ID!]! non-null | ElementGroups to retrieve elements from. Up to 25 elementGroup IDs can be provided. |
| filter | RSQL filter to use for searching elements. |
| pagination | Specifies how to split the response into multiple pages. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| Elements | Contains a list of Elements returned in response to a query. |