cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Question: I am trying to build a data set to import into an ElastiCube to see which dashboards a user has access to, among other things. This is about building a DASHBOARDS table.  

My GETs all come back with all fields.  All I want is: dashboardId, title, shares, owner
api/v1/dashboards?fields=dashboardId,title,owner,shares
returns just the fields I need but only for the one user
api/v1/dashboards/admin?dashboardType=owner&ownerInfo=true&ownershipType=allRoot
returns all the dashboards; but way too much information. 
How can I limit this to just the fields I need?

Answer: 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": "[email protected]",
       "firstName": "moti.gra"
   },
   "ownershipType": "owner"
}
Version history
Last update:
‎03-02-2023 08:49 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: