Remote Model SPI REST service
The Remote Model SPI provides access to portal models through REST services. It allows us to obtain and modify portal resources that are exposed by some of the models of the model SPI remotely, that is from clients that are outside the JVM of the server. This is achieved by means of REST services.
The Remote Model SPI supports the following models:
- ContentModel
- Obtain and modify the content topology and the properties of content nodes such as pages, labels, and content URLs.
- NavigationModel
- Obtain the navigation topology only, as the navigation model is implied by the structure of the content model.
- LayoutModel
- Obtain and modify the layout of a page, that is the topology of layout elements of a page, and the properties of layout elements, such as layout containers and layout controls.
- PortletModel
- Obtain, create, update, and delete portlets.
Note the Remote Model SPI currently does not support the following models:
- LanguageList
- MarkupList
- SkinList
- ThemeList
The Remote Model SPI uses feeds in the Atom Syndication Format in conjunction with the Atom Threading Extension to expose model resources, and the HTTP-based Atom Publishing Protocol (APP) to modify portal resources. With the Remote Model SPI as a REST service, use the following HTTP verbs:
- To obtain model information: HTTP GET
- To modify existing model information: HTTP PUT
- To create model resources: HTTP POST
- To delete model resources: HTTP DELETE
- Feeds for REST services
When we access a REST service to get information or to modify a portal resource, the response and in some cases also the request works by means of a feed. A feed contains information about one or more portal resources in a specific format as exposed by portal models. Learn how you obtain feeds for portal resources and what the format of such feeds is.
Parent Model SPI overview