ATG REST MVC requests use a /rest/model
URL to process requests against the actor framework. The general format for a REST MVC URL is:
http://host
:port
/rest/model/actor
_
c
hain_c
omponent
/tail
The format variables are:
host
– The name of the REST serverport
– (Optional) The port from which users access the REST servicesactor
_
c
hain_c
omponent
– The Nucleus path for a Nucleus component that implements the actor-chain interfacetail
– (Optional) Any attribute that can be processed by aURIProcessor
. For actors, thetail
is thechain-
A typical request may be similar to the following call that adds an item to a shopping cart:
http://rest.example.com:8280/rest/model/atg/commerce/order/purchase/
CartModifierActor/addItemtoOrder
Refer to the External REST MVC Service Call Examples and Internal REST MVC Service Call Examples sections to see examples of request URLs in cURL.