Query

Query Test Evaluation

Upload a query AND data to see how it will be interpreted.


# add any name/value paris to query string param for data input
# then upload query and get evaluation response
curl -s -XPOST "https://api.lytics.io/api/query/_test?name=value" \
   -H "Authorization: $LIOKEY" \
   -H "Content-Type: text/plain" \
   --data-binary @your_file.lql

post/api/query/_test

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/api/query/_test
  • Auth
    API key in header Authorization

Response

OK

statusstring

Example response

{
  "status": "success",
  "data": {
    "id": "abcdef123",
    "updated": "2014-10-30T21:01:06.493Z",
    "created": "2014-10-30T21:01:06.493Z",
    "text": "SELECT ..."
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.