Seasoned developer, but complete newbie to both monday.com and graphql, so please forgive me for what is probably a dumb question. Also, this is probably more a graphql question than monday, but I’ve searched around, and none of the graphql code snippets that I’ve found work, so asking here in the hope that someone can help me.
I want to be able to get hold of all the items in a board. I found some code that does part of the job…
SyntaxEditor Code Snippet
{“query”: “{ boards(ids: b00000000]) { items_page(limit: 100) { cursor items { id name column_values { id text value column { id type title settings_str } } } } } }”}
This returns 100 items in JSON format, which I can parse.
However, I’m stuck trying to order the results, and trying to get the rest of the data. The results of the above query start like this…
{
"data": {
"boards":
{
"items_page": {
"cursor": "abc",
"items":
{
"id": "123456789",
"name": "Some name",
"column_values":
...other stuff here, omitted for clarity
I’d like to order by name.
Anyone able to help sort and page? Thanks