I have been trying to get the document data from graphql but was not succesful eventhough i was reading thorougly reading the documentation.
My custom type is "Canvas"
The document i was trying to get has uid column under Main tab which is "second_test
"
and the slice name is AlternateGrid and it has a rich text field called "title".
I want to get the data of title from graphql but when i try with the query
query ExampleQuery {
allCanvass (uid: "second_uid"){
edges {
node {
title
}
}
}
}
i am getting the error
"message": "Cannot query field 'title' on type 'Canvas'. (line 5, column 9):\n title\n
even i try replacing the title with uid also i am not getting uid.
Can anyone help me get all the data in a document i mentioned with the uid.??