You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "santoshmallah (via GitHub)" <gi...@apache.org> on 2023/03/13 15:29:56 UTC

[GitHub] [superset] santoshmallah opened a new issue, #23352: https://localhost:8088/api/v1/dashboard/ API only working with cookie

santoshmallah opened a new issue, #23352:
URL: https://github.com/apache/superset/issues/23352

   I want to get a list of all dashboards from superset using https://localhost:8088/api/v1/dashboard/  this API 
   I tried passing the bearer access token in the header and the CSRF token, but I cannot get records from this API.
   ![image](https://user-images.githubusercontent.com/51262721/224748687-ada65861-e537-435a-a789-889c59453770.png)
   
   # Record count is 0
   But when I pass the cookie (Copied from the superset login page ) in the header, it gives me a response.
   ![image](https://user-images.githubusercontent.com/51262721/224748046-41a44b0d-089d-4264-88d3-58f637a31513.png)
   # Record count is 5
   Is there any other way to get the list of all dashboards?
   
   
   - browser type and version:
   - superset version: `2.0.1`
   - python version: `3.8.0`
   - node.js version: `16.14.2`
   
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

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


Re: [I] https://localhost:8088/api/v1/dashboard/ API only working with cookie [superset]

Posted by "progressive-scaler (via GitHub)" <gi...@apache.org>.
progressive-scaler commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1787040172

   @karan-kumar-by 
   Did you find any workaround for that? I having the same issue as you.
   
   I trying to list 50+ dashboards, however i always get only 20, no matter the page number/page size i set.
   
   If you did not found a solution for this, i will open a ticket for that.
   
   Best regards


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] karan-kumar-by commented on issue #23352: https://localhost:8088/api/v1/dashboard/ API only working with cookie

Posted by "karan-kumar-by (via GitHub)" <gi...@apache.org>.
karan-kumar-by commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1679429581

   Trying to get the list of all the dashboards but it is returning only first 20. Even though there are 25 dashboards. Pagination is not working looks like.
   
   Req1 : http://127.0.0.1:8088/api/v1/dashboard/?page=0&page_size=100
   Resulted dashboard Ids : [222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, 204, 203]
   
   Increased the page number to 1
   Req2 : http://127.0.0.1:8088/api/v1/dashboard/?page=1&page_size=100
   Resulted dashboard Ids : [222, 221, 220, 219, 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, 204, 203]
   
   Expected to receive remaining 5 dashboard id's
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] sfirke commented on issue #23352: https://localhost:8088/api/v1/dashboard/ API only working with cookie

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1476629027

   This seems more like a usage question than a bug report - you might consider posting as a question in Slack if it persists.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] https://localhost:8088/api/v1/dashboard/ API only working with cookie [superset]

Posted by "EuphoriaCelestial (via GitHub)" <gi...@apache.org>.
EuphoriaCelestial commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-2008928024

   > @karan-kumar-by Did you find any workaround for that? I having the same issue as you.
   > 
   > I trying to list 50+ dashboards, however i always get only 20, no matter the page number/page size i set.
   > 
   > If you did not found a solution for this, i will open a ticket for that.
   > 
   > Best regards
   
   FAB_API_MAX_PAGE_SIZE = 1000 (100% work)
   or FAB_API_MAX_PAGE_SIZE = -1 (not sure if it work)


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] https://localhost:8088/api/v1/dashboard/ API only working with cookie [superset]

Posted by "wlopez-enkoding (via GitHub)" <gi...@apache.org>.
wlopez-enkoding commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1868062242

   > Closing this since it doesn't sound like a bug, and more of a usage/configuration question. Hit us up on [Slack](http://bit.ly/join-superset-slack) or in a Discussions thread here on the repo if this needs further attention. Thanks!
   
   I did ask in Slack, but no answer jet :( https://apache-superset.slack.com/archives/C01EP56QGTS/p1703275742526339


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] https://localhost:8088/api/v1/dashboard/ API only working with cookie [superset]

Posted by "tcape (via GitHub)" <gi...@apache.org>.
tcape commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1887448875

   I'm having the same issue. Has there been any update or solution found for this?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] rusackas closed issue #23352: https://localhost:8088/api/v1/dashboard/ API only working with cookie

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #23352: https://localhost:8088/api/v1/dashboard/  API only working with cookie
URL: https://github.com/apache/superset/issues/23352


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] nytai commented on issue #23352: https://localhost:8088/api/v1/dashboard/ API only working with cookie

Posted by "nytai (via GitHub)" <gi...@apache.org>.
nytai commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1483751555

   Is the api token for the same user? 


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] frafful commented on issue #23352: https://localhost:8088/api/v1/dashboard/ API only working with cookie

Posted by "frafful (via GitHub)" <gi...@apache.org>.
frafful commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1660391276

   Did you manage to solve this issue? I have the same question


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] https://localhost:8088/api/v1/dashboard/ API only working with cookie [superset]

Posted by "wlopez-enkoding (via GitHub)" <gi...@apache.org>.
wlopez-enkoding commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1868062579

   > I want to get a list of all dashboards from superset using https://localhost:8088/api/v1/dashboard/ this API I tried passing the bearer access token in the header and the CSRF token, but I cannot get records from this API. ![image](https://user-images.githubusercontent.com/51262721/224748687-ada65861-e537-435a-a789-889c59453770.png)
   > 
   > # Record count is 0
   > But when I pass the cookie (Copied from the superset login page ) in the header, it gives me a response. ![image](https://user-images.githubusercontent.com/51262721/224748046-41a44b0d-089d-4264-88d3-58f637a31513.png)
   > 
   > # Record count is 5
   > Is there any other way to get the list of all dashboards?
   > 
   > * browser type and version:
   > * superset version: `2.0.1`
   > * python version: `3.8.0`
   > * node.js version: `16.14.2`
   
   Did you solved it ? I have the same issue.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] rusackas commented on issue #23352: https://localhost:8088/api/v1/dashboard/ API only working with cookie

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-1507219751

   Closing this since it doesn't sound like a bug, and more of a usage/configuration question. Hit us up on [Slack](http://bit.ly/join-superset-slack) or in a Discussions thread here on the repo if this needs further attention. Thanks!


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] https://localhost:8088/api/v1/dashboard/ API only working with cookie [superset]

Posted by "zachoooo (via GitHub)" <gi...@apache.org>.
zachoooo commented on issue #23352:
URL: https://github.com/apache/superset/issues/23352#issuecomment-2549388221

   I'm having the same issue


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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