Get All User Navigation Links

get

/rest/v16/userNavigationLinks

Use this endpoint to retrieve the user navigation links defined in the Navigation Menu for a site.

Request

Query Parameters
  • Exclude specified link types.
    Allowed Values: [ "self", "child", "parent", "canonical", "next", "prev", "related" ]
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
  • Criteria to filter the links by group.
    Allowed Values: [ "ADMIN", "COMMERCE", "DATA_TABLES", "SUBHEADER", "SUBFOOTER", "QUICK_REGISTRATION" ]
  • The requested page size, which limits the number of elements the collection should max return.
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Criteria to filter the links by sub group.
    Allowed Values: [ "LEFT", "CENTER", "RIGHT" ]
  • Specifies that the total count of records should be included in the response when doing pagination.
Back to Top

Response

Supported Media Types

Default Response

List of user navigation links.
Body ()
Back to Top

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 -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/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
    }
}
Back to Top