Retrieve Data from a Mirror Column Using the API?

Is it possible to get mirror columns values from sub-items with the GraphQL API?

I have a board “x” with multiple items, each items have several sub-items.
The sub-items are composed from multiple columns of type mirror from another board y.

When I try to access the mirrored data with the API:

Query:

query {
  items(ids: ***) {
    subitems {
      id
      name
      column_values {
        id
        text
      }
    }
  }
}

Response:

{
  "data": {
    "items": [
      {
        "subitems": [
          {
            "id": "***",
            "name": "item1",
            "column_values": [
              {
                "id": "connect_boards_mk4",
                "text": null
                "value": null
              },
              {
                "id": "mirror_mk3",
                "text": null
                "value": null
              },
              {
                "id": "mirror_mk2",
                "text": null
                "value": null
              },
              {
                "id": "mirror_1_mk1",
                "text": null
                "value": null
              }
            ]
          }, ...

The values are null.

How could I get those values? can I get to the mirror values somehow?

Thanks in advance!

Hello there @Oded282,

Would you be able to please try something like this:

{
  items(ids: 1234567890) {
    subitems {
      id
      name
      column_values {
        id
        text
        ... on BoardRelationValue {
          display_value
        }
        ... on MirrorValue {
          display_value
        }
      }
    }
  }
}

Looking forward to hearing from you :smile:

Cheers,
Matias