Hello everyone,
I was wondering if it would be possible to update an SQLite3 database via the REST API using Grafana v8.2.5 with the SQLite3 plugin and Ubuntu 20.04.
So far I have been able to query and retrieve data from the SQLite3 database using the API-URL /api/ds/query described in:
In order to Update the database I tried to use the same POST method using a different query for example “CREATE TABLE TEST (test text)”. The response
{“results”:{“A”:{“frames”:[{“schema”:{“name”:response",“refId”:“A”,“meta”:{executedQueryString":“CREATE TABLE TEST (test text)”}, “fields”:},“data”:{“values”:}}]}}}
indicates the SQLite3 command has been executed successfully. However checking the database, the new table has not been created. So I was wondering if there is some kind of PUT method to update the SQLite3 database, which I am not able to find? Or could this even be some kind of Linux permission issue?
Thank you in advance.