Endpoint: https://mysite.atlassian.net/gateway/api/graphql
query{
confluence {
findSpaces(cloudId: "my-cloud-id) {
edges {
node {
id
name
}
}
}
}
}
I am getting Error: {
"errors": [
{
"message": "You MUST provide a 'X-ExperimentalApi : confluence-agg-beta' HTTP header to use the field 'findSpaces' (confluence/findSpaces)",
"extensions": {
"statusCode": 400,
"errorSource": "GRAPHQL_GATEWAY",
"classification": "ExecutionAborted"
}
},
{
"message": "Warning : You MUST provide a query operation name. In the future operations without names will be banned.",
"extensions": {
"statusCode": 400,
"errorSource": "GRAPHQL_GATEWAY",
"classification": "ExecutionAborted"
}
}
],
"data": null,
"extensions": {
"gateway": {
"request_id": "65dac168fdba4a00b87caaf0ac1e7b81",
"crossRegion": false,
"edgeCrossRegion": false,
"deprecatedFieldsUsed": []
}
}
}