Iām trying to query all my SeoPages using the allSeoPages
tag in the API Explorer. But Iām not retrieving all the published data. My query is as follows:
query MyQuery {
_allSeoPagesMeta {
count
}
allSeoPages {
id
}
}
This query outputs the following data:
{
"data": {
"_allSeoPagesMeta": {
"count": 31
},
"allSeoPages": [
{
"id": "24221418"
},
{
"id": "24221442"
},
{
"id": "24221439"
},
{
"id": "24221433"
},
{
"id": "24221431"
},
{
"id": "24221430"
},
{
"id": "24221429"
},
{
"id": "24221428"
},
{
"id": "24221425"
},
{
"id": "24221424"
},
{
"id": "24221423"
},
{
"id": "24221420"
},
{
"id": "24221470"
},
{
"id": "24221469"
},
{
"id": "24221464"
},
{
"id": "24221461"
},
{
"id": "24221458"
},
{
"id": "24221485"
},
{
"id": "24221477"
},
{
"id": "24221474"
}
]
}
}
As you can see, the count value retrieved by _allSeoPagesMeta
is 31 posts. But in the array retrieved by allSeoPages
Iām only getting the ID for 20 posts, but all 31 posts are published. Why is this happening?