Creates a new Page in the library, with the specified webapp, title, description, layout and isPublic modifier. The new page's definition label is specified via the last part of the URI path.
/bea/wlp/api
POST
/bea/wlp/api/page/new/{page definition label}
Parameter
|
Type
|
Description
|
Allowed Values
|
Default Value
|
---|---|---|---|---|
webapp (required)
|
String
|
The webapp that will contain the new Page.
| ||
format
|
String
|
The format of the results.
|
xml
json |
xml
|
title (required)
|
String
|
The localized title of the new Page.
| ||
description
|
String
|
The description of the new Page.
| ||
locale
|
String
|
The locale to use for the title and description of the new Page. Must be of the format: lang-country-variant with dashes (not underscores) ie. [nn], [nn-nn], or [nn-nn-nnnn].
|
Preferred locale from request.
|
|
layout
|
String
|
The markup name of the Layout to use for the new Page. If no Layout is specified, the first existing Layout found in the application will be used.
|
First Layout found.
|
|
theme
|
String
|
The optional markup name of the Theme to use for the new Page.
| ||
is_public
|
Boolean
|
Whether or not the new Page should be public.
|
true
|
|
hidden
|
Boolean
|
Whether or not the new Page should be hidden.
|
false
|
/bea/wlp/api/page/new/page_1?webapp=myWebapp&title=New%20Page&locale=en-US&layout=twoColumnFlowLayout
<rsp> <definition_label>page_1</definition_label> </rsp>
Copyright 2011, Oracle. All rights reserved.