Skip to main content
added 9 characters in body
Source Link
Ganesh Sanap - MVP
  • 46.4k
  • 22
  • 31
  • 63

This example itshould work:

`$${site url}/_api/lists/getbytitle('${Title Name}')/items?$select=File/Length&$expand=File`Length&$expand=File

I can get data from Document library.

ButNote: I'm using in the latest SharePoint online site, I'm not sure if it would work on the old version.

This example it work

`${site url}/_api/lists/getbytitle('${Title Name}')/items?$select=File/Length&$expand=File`

I get data from Document library

But I'm using in the latest SharePoint online, I'm not sure it would work on the old version

This example should work:

${site url}/_api/lists/getbytitle('${Title Name}')/items?$select=File/Length&$expand=File

I can get data from Document library.

Note: I'm using the SharePoint online site, I'm not sure if it would work on the old version.

Source Link

This example it work

`${site url}/_api/lists/getbytitle('${Title Name}')/items?$select=File/Length&$expand=File`

I get data from Document library

But I'm using in the latest SharePoint online, I'm not sure it would work on the old version