Query
query Nodes($ids: [ID!]!) {
nodes(ids: $ids) {
id
}
}Variables
{
"ids": [
"id"
]
}Response
{
"data": {
"nodes": [
{
"id": "id"
}
]
}
}Queries
nodes
Lookup nodes by a list of IDs.
QUERY
nodes(ids: [ID!]!): [Node]!Arguments
ids
[ID!]!
required
The list of node IDs.
Returns
[Node]!
id
ID!
Global (Relay) id of the object. Pass it to node to fetch the object.
Query
query Nodes($ids: [ID!]!) {
nodes(ids: $ids) {
id
}
}Variables
{
"ids": [
"id"
]
}Response
{
"data": {
"nodes": [
{
"id": "id"
}
]
}
}Was this page helpful?