Retrieves list of all Portlet Categories in the specified webapp.
/bea/wlp/api
GET
/bea/wlp/api/category/list
Parameter
|
Type
|
Description
|
Allowed Values
|
Default Value
|
---|---|---|---|---|
webapp (required)
|
String
|
The webapp to list portlet categories under.
| ||
format
|
String
|
The format of the results.
|
xml
json |
xml
|
locale
|
String
|
The locale to use for the title and/or descriptions of the returned Portlet Categories. Must be of the format: lang-country-variant ie. [nn], [nn-nn], or [nn-nn-nnnn].
|
Preferred locale from request.
|
|
max
|
Integer
|
The maximum number of Portlet Categories to return.
|
50
|
|
start
|
Integer
|
The starting index for returned Portlet Categories.
|
0
|
|
filterOn
|
String
|
The case-sensitive filter string to use to match title of the returned Portlets Categories.
| ||
sortOn
|
String
|
The sort order to use for returned titles.
|
ASCENDING
DESCENDING UNSORTED |
/bea/wlp/api/category/list?webapp=myWebApp&locale=en
<rsp> <category_summaries> <category_summary> <id>12345</id> <parentId>11111</parentId> <title>My Category 1</title> <description>This is My Category 1.</description> <webapp>/myWebApp</webapp> </category_summary> <category_summary> <id>54321</id> <parentId>11111</parentId> <title>My Category 2</title> <description>This is My Category 2.</description> <webapp>/myWebApp</webapp> </category_summary> </category_summaries> </rsp>
Copyright 2011, Oracle. All rights reserved.