In this recipe, we will retrieve the managed resource for the portal sitemap using RESTful services within a browser.
To retrieve the sitemap managed resource:
http://localhost:8080/rest/private/managed-components?format=xml
href
link under the mop
child by copying it into the address bar of the browser.href
link under the portalsites
child by copying it into the address bar of the browser.href
link under the classic
child by copying it into the address bar of the browser.href
link under the pages
child by copying it into the address bar of the browser.href
link under the sitemap
child by copying it into the address bar of the browser.Step 2 requests the top-most level of the REST entry point for managed components. The format=xml
URL parameter simply asks the data to be returned in an XML format instead of the default, JSON, which makes it easier to visualize the structured content within a browser. Step 2 is also the equivalent to Step 8 in Deploying the CLI to GateIn.
Steps 4, 5, 6, 7, and 8 navigate through a child node of each managed resource in turn, until the sitemap
is reached. It is also possible to directly navigate to a managed resource through REST, if the resource hierarchy is known.
3.12.166.131