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/10/31 10:24:27 UTC

[GitHub] [superset] m-jooibar opened a new issue #17300: problem during send request to get chart details and its information

m-jooibar opened a new issue #17300:
URL: https://github.com/apache/superset/issues/17300


   Hello everybody
   I want to get chart details for implementations to common javascripts frameworks . but in your rest-api documents page i did not find a good and appropriate guide. 
   please pay attention to below example : in this url  and in charts apis section i want to send request to below endpoint : 
   /chart/{pk}/data/
   docs saying me i have to send this request like this : 
   
   http://localhost:8080/api/v1/chart/1/data
   ```
   and this response is :   
   {
     "message": "Error: Empty query?"
   }
   ```
   but in your documents format and type is not required and you don't have any sample for format and type fields .  
   ![Screenshot from 2021-10-31 12-23-07](https://user-images.githubusercontent.com/42513136/139578113-e8f7f569-6803-49bc-a058-54dd3ba69f3a.png)
   
   
   What is type ?  What is format ?  How should I know ?
   who can help me? 
   
   


-- 
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] m-jooibar closed issue #17300: problem during send request to get chart details and its information

Posted by GitBox <gi...@apache.org>.
m-jooibar closed issue #17300:
URL: https://github.com/apache/superset/issues/17300


   


-- 
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] m-jooibar commented on issue #17300: problem during send request to get chart details and its information

Posted by GitBox <gi...@apache.org>.
m-jooibar commented on issue #17300:
URL: https://github.com/apache/superset/issues/17300#issuecomment-962441130


   The most up to date api docs that correspond to your version of superset can be found by navigating to /swagger/v1 in your browser. 
   The format field can be json|csv and type can be columns|full|query|results|samples|timegrains|post_processed The default for these fields are json and full which is likely what you want in most cases. 
   
   


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