The public content API (GraphQL) does not appear to return titles of categories or keywords. The following query works, but the titles show up as null:
{
categories(namespaceId: 1, publicationId: 10) {
edges {
cursor,
node {
itemId,
title,
itemType,
children {
edges {
cursor,
node {
itemId,
title,
itemType
}
}
}
}
}
}
}
This is the response I get:
{
"data": {
"categories": {
"edges": [
{
"cursor": "MQ==",
"node": {
"itemId": 29,
"title": null,
"itemType": 512,
"children": {
"edges": [
{
"cursor": "MQ==",
"node": {
"itemId": 1425,
"title": null,
"itemType": 1024
}
},
{
"cursor": "Mg==",
"node": {
"itemId": 1431,
"title": null,
"itemType": 1024
}
},
{
"cursor": "Mw==",
"node": {
"itemId": 1251,
"title": null,
"itemType": 1024
}
}
]
}
}
}
]
}
}
}
From Velu's answer to my previous GraphQL question (see Does GraphQL work with default variables?), I gather that he has the same problem.
The category which contains the keywords has been published.
Am I doing something wrong (again) or is it a bug?