Use cases for modifying resources
Portal Model REST services allow us to create new resources, modify, move and delete existing resources. View some common use cases of resource modifications.The information exposed in Portal Model feeds is equivalent to the information exposed by the respective portal Model SPI. For information about how the elements of the feeds are mapped to the elements of the Model SPI refer to the information that follows here about use cases for modifying resources. Before working with feed elements, make sure to familiarize yourself with the Model SPI.
Depending on the type of the modification, use the following HTTP verbs:
- HTTP PUT
- Use this to update existing resources. This includes moving resources within model topologies,
- HTTP POST
- Use this to create new resources.
- HTTP DELETE
- Use this to delete existing resources
- Set Titles and Descriptions
Portal Model REST services allow us to set titles and descriptions.- Create Resources
Portal Model REST services allow us to create new resources.- Putting a portlet on a page
Portal Model REST services allow us to put portlets on pages.- Delete resources
Portal Model REST services allow us to delete resources.
Parent: Feeds for REST services
Related:
Syntax for addressing portal resources
Elements of a model feed