Pages available to a user (API)

Last modified by Aurelie Bertrand on 2026/06/17 11:32

The user performing the operation must have the Admin > View all user information authorisation (ACL).

It is possible to retrieve the dashboard pages available to a user in JSON format via a server request.

The URL is in the following format: http://[server]:[port]/[domain]/getDashboardPageListForUserJSON

For example:

http://localhost:8080/ddenterpriseapi/getDashboardPageListForUserJSON

The parameters are as follows:

  • user = the username of the user logging in to perform the operation
  • pass = the password of the user logging in to perform the operation
  • targetUser = the username of the user for whom you wish to retrieve the table pages

The request must also include:

  • A Referer header containing the DigDash server’s URL
  • An X-Requested-With header with the value "DigDash Enterprise Client" for CSRF protection

All URL parameters must be URL-encoded.

Complete example of usage with curl:

curl -H "X-Requested-With: DigDash Enterprise Client" -e "http://localhost:8080" -L -b cookies.txt -i "http://localhost:8080/ddenterpriseapi/api/getDashboardPageListForUserJSON?user=admin&pass=admin&targetUser=AB"

Other tools or code can also be used.