Forum Discussion
GraphAPI does not return headers collapsed by default
Hi ,
The GraphAPI does not return the headers collapsible section, however I`ve found an alternative way to retrieve the content including the heading .
However since the API is in beta version, it may subject to change at anytime.
Subscribe to GraphAPI updates for more information.
How I figured out this field Canvascontent1 has this information?
I`ve browsed via the SharePoint REST API
xxx.sharepoint.com/sites/MyDevSite/_api/web/lists/getbyTitle('Site%20Pages')/items
And searched for section heading which is collapsible
Its currently embedded in CanvasContent1 element, so I was able to retrieve the same using GraphAPI.
Please be careful, if you integrate with any of applications , it might break if its gets embedded in a different element.