Get a list of ALL dashboards with specific fields only

Comments

1 comment

  • Avatar
    Moti Granovsky

    Hi David, you can use the "fields" argument with the admin endpoint as well:

    /api/v1/dashboards/admin?dashboardType=owner&ownerInfo=true&ownershipType=allRoot&fields=dashboardId,title,owner,shares

    I get the response structure:

    {
    "title": "Sample ECommerce",
    "oid": "5edeac92312bbe002b67a5d1",
    "shares": [
    {
    "shareId": "5ed8f9a3800b79ad85d448cc",
    "type": "user"
    }
    ],
    "owner": "5ed8f9a3800b79ad85d448cc",
    "ownerInfo": {
    "email": "moti.gra@sisense.com",
    "firstName": "moti.gra"
    },
    "ownershipType": "owner"
    }

    I've tried it out on a relatively old version (L8.0.5), I believe it should work on any other version where the admin endpoint exists.

     

    1
    Comment actions Permalink

Please sign in to leave a comment.