HI all, i have an issue Fetching data from board using PHP and new API Version 2024-01. it was working fine from previous version.
Thus far, I have made the following changes:
added API=version at the end of header
$headers = [‘Content-Type: application/json’, ‘Authorization: ’ . $token.’, API-version : 2024-01’];
I changed the query to include items_page
The query works perfect as it works fine and returns results on
monday.com
query {
boards (ids: 12344444444)
{ items_page {
items { name column_values
{ id type text }
} }}
}
- I am trying to parse the content, but get stuck here as I get null results
foreach($responseContentp‘data’]t‘boards’]t‘items_page’]d‘items’]0] as $mydata){
or
foreach($responseContent ‘data’]a‘boards’]n‘items_page’]d‘items’] as $mydata){
Looking forward to your assistance/guidance
Thank you in advance