Hi all,
I want to call one API to get all folder, and one API to get all documents.
- Get Folder
https://ebrevia.sharepoint.com/_api/web/lists(guid'6a73ca9d-b244-4022-bdd6-679d537d97a6')/items?$filter=ContentType eq 'Folder'&$top=100
- Get Documents
https://ebrevia.sharepoint.com/_api/web/lists(guid'6a73ca9d-b244-4022-bdd6-679d537d97a6')/items?$filter=ContentType eq 'Document'&$top=100
when I test on Postman.And it occur error
I search google about this error, and recommend is manually add Column index ContentType
When I test again Postman, result is API Get Folder work work, but API get Documents still occur errorexceeds the list view threshold.
Have anyone met this error. Please give me a hand.
- Add Index ContentType
- Success with get all folder
- Error with get Documents
Thank a lot,
Danh