################ Genotype browser ################ .. http:post:: ^/query/? Query for variants from a dataset. **Example request:** .. sourcecode:: http POST /genotype_browser/preview/variants HTTP/1.1 Host: example.com Content-Type: application/json Accept: text/event-stream { "datasetId": "iossifov_2014", "maxVariantsCount": 1000 } **Example response:** .. sourcecode:: http HTTP/1.1 200 OK Vary: Accept Content-Type: text/event-stream [ [col1,col2,col3,col4.....] , [col1,col2,col3,col4.....] , ...... , [col1,col2,col3,col4.....] ] :statuscode 200: Successfully fetched variants :statuscode 403: User has no permissions for dataset :statuscode 400: Invalid request body :statuscode 404: Dataset does not exist :