0

How to get all wiki pages in all collections or in one collection?

I'm trying REST for search, but when i send empty query I get no results.

1

you can retrieve all the Wiki pages in a site collection using Search api in REST.

use the below query to get your wiki pages.

https://domain.sharepoint.com/_api/search/query?querytext='Site:https://domain.sharepoint.com/+ContentTypeId:0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39004C1F8B46085B4D22B1CDC3DE08CFFB9C*'&rowlimit=10

| improve this answer | |
  • I'm using only 0x010100C568DB52D9D0A14D9B2FDCC96666E9F2* as CT definition, but answer is correct. – Evlo Mar 23 '17 at 12:38
  • Also relevant CT for wiki pages 0x010108006E9247ECFB2EF24A92388976E017CAB8 – Evlo Mar 23 '17 at 15:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.