Hi,
I am trying to get paginated extensions via the FreePBX GraphQL API using the request below.
query {
fetchAllExtensions(first: 1) {
status
message
totalCount
count
edges {
node {
extensionId
user {
name
outboundCid
}
}
cursor
}
}
}
I was expecting that edges > nodes would be populated with 1 of my 7 extensions but what I get is the response below. Where I am I going wrong?
{
"data": {
"fetchAllExtensions": {
"status": true,
"message": "Extension's found successfully",
"totalCount": 7,
"count": 7,
"edges": null
}
}
}