Use cases for modifying resources
Portal Model REST services allow you 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 you work with feed elements, 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 you to set titles and descriptions.
- Creating Resources
Portal Model REST services allow you to create new resources.
- Putting a portlet on a page
Portal Model REST services allow you to put portlets on pages.
- Deleting resources
Portal Model REST services allow you to delete resources.
Parent topic:
Feeds for REST services
Related reference
Syntax for addressing portal resources
Elements of a model feed