You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/02/26 10:14:35 UTC

[GitHub] [superset] dpgaspar edited a comment on pull request #13352: fix(dashboard): Get dashboard by slug

dpgaspar edited a comment on pull request #13352:
URL: https://github.com/apache/superset/pull/13352#issuecomment-786550519


   @suddjian sorry I may have mislead you on a conversation. You can get a dashboard by slug by using the get list endpoint `/api/v1/dasboard/` with a query rison parameter:
   ```
   {
     "filters": [
       {
         "col": "slug",
         "opr": "eq",
         "value": "births"
       }
     ]
   }
   ```
   
   You can also create a new filter and add it to the list of filters, that filters by id or slug
   Theres already a couple in place: https://github.com/apache/superset/blob/master/superset/dashboards/api.py#L184
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org