Forum Discussion

joy_lim's avatar
joy_lim
Helper
7 years ago

Checking LiQL version

In the LiQL Documentation (Community API v2), you would notice that there is a 'Released' column which indicates a certain LiQL version. How can I check the current LiQL version our Community instance is using? 

 

I ask because in the 'subscriptions' table (if you will), under the target object should only the listed types 'message', 'thread', 'board', 'category' or 'label.' However, when I run the following query :

select target.type from subscriptions where subscriber.id="someUserId"

I get the result set (notice that there's a 'conversation' type):

{
  "status" : "success",
  "message" : "",
  "http_code" : 200,
  "data" : {
    "type" : "subscriptions",
    "list_item_type" : "subscription",
    "size" : 4,
    "items" : [ {
      "type" : "subscription",
      "target" : {
        "type" : "conversation"
      }
    }, {
      "type" : "subscription",
      "target" : {
        "type" : "board"
      }
    }, {
      "type" : "subscription",
      "target" : {
        "type" : "conversation"
      }
    }, {
      "type" : "subscription",
      "target" : {
        "type" : "conversation"
      }
    } ]
  },
  "metadata" : { }
}

Is the conversation synonymous to message or thread? Will the 'target' section of the docs be updated to have accurate values or are we using an LiQL version that's not the same as the documentation?