Purpose: to get an xml file of the Atom type, including the content of any page (including the blog) with base64 images.
What ways are found:
Use the REST API to retrieve data in JSON format (rest/api/content/11111?expand=body.export_view), further retrieve data in the Body property and get references via another one using the REST API (/rest/api/content/8686732/child/attachment).
This method is inconvenient by double accessing the page and the need to analyze the received data in JSON format.
Do you have a question here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, the REST call is the only way to do it. I can't see any more efficient approach to getting the attachment - you have to know what to fetch in the second call, and as you don't know, you need the first call in order to find out what you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.