post
https://api.lytics.io/api/query
Uses ALIAS name inside parsed query for ID, and either creates/updates a query.
CHANGE NOTIFICATION This api in the past has returned a single object but is changing to return an array of query objects (because posted QL text may contain more than one statement). To get the old behavior of single object pass version=old.
# new version, will be default in Sept 2017.
curl -s -XPOST "https://api.lytics.io/api/query?version=new" \
-H "Authorization: $LIOKEY" \
--data-binary @your_file.lql
# old version, returns object
curl -s -XPOST "https://api.lytics.io/api/query?version=old" \
-H "Authorization: $LIOKEY" \
--data-binary @your_file.lql
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
