I'm making the call with the parameters matching the documentation and not getting the same results. I'm only getting "id", "name" and "permalink" for each folder. The "Responses" in the documentation includes an array with reports, sheets, sights and templates, as well as details for each of those objects.
Am I doing something incorrectly in my call, or is the documentation inaccurate?
If the documentation is inaccurate, is there a method available to accomplish the output in the documentation without looping through each folder?
Periods added below to format indenting, in the hope that it's easier to read. Didn't have success with the code format option.
Input
{
…"uri": "https://api.smartsheet.com/2.0/workspaces/7229146649651076/folders",
…"method": "GET",
…"queries": {
……"accessApiLevel": "0",
……"includeAll": "true"
…},
…"headers": {
……"Authorization": "sanitized",
……"Content-Type": "application/json"
…}
}
Sample Output with Sensitive Data Redacted
{
…"statusCode": 200,
…"headers": {
……"Date": "Wed, 31 Jul 2024 17:24:23 GMT",
……[REDACTED]
……"Content-Length": "3713"
…},
…"body": {
……"pageNumber": 1,
……"totalPages": 1,
……"totalCount": 26,
……"data": [
………{
…………"id": REDACTED,
…………"name": "REDACTED",
…………"permalink": "REDACTED"
………},
………[REDACTED]
………{
…………"id": REDACTED,
…………"name": "REDACTED",
…………"permalink": "REDACTED"
………}
……]
…}
}