Adding a query editor for simplejson plugin

Hi all,
I am very new to grafana. Right now I am using a simplejson plugin to call rest api. But the rest api require a 2-step process:1. query measurement type uri; 2. retrieve data required. So on the grafana interface I need a query editor to input my pre-defined measurement type. However, currently simplejson do not have this option like Prometheus do. Is there a quick way to achieve this?

something like this, but I will type in api domain, test type, destination. source info to do the query. Next, the backend will use the info to call api.