Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

AQL is Krishagni's proprietary query language to query data without needing to know the relational model of the underlying database. At present, there is no comprehensive documentation on AQL. Therefore we suggest users who are interested in running queries programmatically to use the below-mentioned approach:

  1. Create the desired query using the UI wizard. For more details, please watch the video Introduction to OpenSpecimen Query Tool - YouTube
  2. Once you are satisfied with the query results, do the following
    1. open the network tab in browser's inspect mode
    2. rerun the query
    3. you will notice a couple of API calls made to the resource /query using HTTP POST method - one call for obtaining the counts and another to obtain the data for display in grid
    4. the POST request body will have the required AQL for use in running the queries programmatically
    5. use the POST request body to invoke the query API and get the required data

Refer this document for more details on Query API.

We agree this sounds like a tedious and hotchpotch method, believe us, in the face of a continuously evolving software system, the working software itself serves as the comprehensive documentation about the topic you are interested in.

  • No labels