List Menus


List the menus for an application.

Operation Permissions


Applications assigned with the Application Registration Administrator policy in the OU.

Request Format


GET https://{apigw-address}/enos-app-service/v2.5/menus

Request Parameters(URI)


Name

Location(Path/Query)

Required/Optional

Data Type

Description

orgId

Query

Required

String

The OU ID which the application belongs to. How to get orgId >>

appId

Query

Required

String

The application ID that the menu belongs to.

Response Parameters


Name

Data Type

Description

id

String

The menu identifier generated by the system.

appId

String

The application ID.

name

StringI18n

The menu name.

description

StringI18n

The menu description.

keyword

String

The custom unique identifier for the menu.

parentId

String

The parent menu ID.

sortId

Integer

The sorting ID that determines the order of the current menu at its level. Beginning with 1, the menu with a smaller sort ID will rank higher in the order.

url

String

The URL address of the menu.

status

String

The menu authorization status, empty by default.

Samples

Request Sample


url: https://{apigw-address}/enos-app-service/v2.5/menus?orgId=yourOrgId&appId=yourAppId
method: GET

Return Sample


{
  "code": 0,
  "msg": "OK",
  "subMsg": null,
  "data": [
    {
      "id": "SystemApplicationID",
      "appId": "applicationID",
      "name": {
        "default": "menu2"
      },
      "description": {},
      "keyword": "menu2",
      "parentId": null,
      "sortId": 2,
      "url": "",
      "status": null
    }
  ]
}