According to a reply in this post, I can get a Wiki page's content by extracting the WikiField field from the response of

GET https://<site-url>/_api/Lists(guid'<list-id>')/Items(<item-id>)

I expected the output to be the same as the Wiki Content field when editing the item (see pic below). But in the REST API response, the link [[Home]] gets replaced by a <a> link, and the escaped \[[Home\]] is unescaped to [[Home]].

How do I get the WikiField's value in the same format as the one in the screenshot below?

Edit > Wiki Content

Your Answer

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

Browse other questions tagged or ask your own question.