updatePage
Update a Page item
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
model Required | IModel |
Page Model |
|
updateSiteOptions Required | IUpdatePageOptions |
This function supports the equivalent of a PATCH REST operation It will fetch the current item from ago, and then apply a subset of property changes to the model if a patchList is included. The patchList can include any property paths on the item. If the list is empty, then the entire page model is overwritten. TODO: Add calls to remove unused image resources |
Returns
Promise<IUpdateItemResponse>
Property | Type | Notes |
---|
Function defined in sites/src/pages/update-page.ts:23