Get All User Navigation Links
get
/rest/v19/userNavigationLinks
Use this endpoint to retrieve the user navigation links defined in the Navigation Menu for a site.
Request
Query Parameters
-
excludeLinks: string
Exclude specified link types.Allowed Values:
[ "self", "child", "parent", "canonical", "next", "prev", "related" ] -
fields: string
Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
-
group: string
Criteria to filter the links by group.Allowed Values:
[ "ADMIN", "COMMERCE", "DATA_TABLES", "SUBHEADER", "SUBFOOTER", "QUICK_REGISTRATION" ] -
limit: integer
The requested page size, which limits the number of elements the collection should max return.
-
offset: integer
The offset of the page. By default, offset is 0, which means first page will be returned.
-
subGroup: string
Criteria to filter the links by sub group.Allowed Values:
[ "LEFT", "CENTER", "RIGHT" ] -
totalResults: boolean
Specifies that the total count of records should be included in the response when doing pagination.
Response
Supported Media Types
- application/json
Default Response
List of user navigation links.
Nested Schema : reference links
Type:
objectTitle:
reference linksReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current objectDefault Value:selfLink Relationship to the current object
Examples
The following example shows how to retrieve the user navigation links defined in the Navigation Menu for a site by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/userNavigationLinks
Response Body Sample
{
"limit": 50,
"offset": 0,
"count": 7,
"totalResults": 7,
"hasMore": false,
"navigationType": "ALTA_NAVIGATION",
"siteUrl": "http://sitename.oracle.com",
"items": [{
"label": "Users",
"url": "/admin/users/list_users.jsp?_bm_trail_refresh_=true",
"linkType": "LINK",
"displayType": "ICON",
"group": "ADMIN",
"subGroup": "CENTER",
"iconPath": "/files/Icons/icon-user.png",
"iconPosition": "LEFT_OF_THE_LABEL",
"order": 1,
"isInternal":true
}, {
"label": "Parts",
"url": "/admin/parts/manage_parts.jsp?_bm_trail_refresh_=true",
"linkType": "LINK",
"displayType": "ICON",
"group": "ADMIN",
"subGroup": "CENTER",
"iconPath": "/files/Icons/icon_product2.png",
"iconPosition": "LEFT_OF_THE_LABEL",
"order": 2,
"isInternal":false
}
}