/
Queries
Queries
This holds saved statement queries.
It is accessible through the following HTTP interfaces:
Connection HTTP Interface via http://www.example.org/api/connection/query.
REST HTTP Interface via http://www.example.org/api/v2/query.
SCHEMA
Name | Description |
---|---|
_id | The id of the query. |
name | The name of this query. |
organisation | The id of the organisation that this persona belongs to. |
owner | The id of the user which created this query. |
conditions | A JSON encoded mongo query. |
isPublic | If false then this visualisation is only available to the owner and users with org/all/query/view scope, otherwise it’s available to everyone in the organisation with permission. |
EXAMPLE MODEL
{
"_id" : "59c2371c16bc715f83c34501",
"name" : "All comments",
"owner" : "59c2371c16bc715f83c34502",
"organisation" : "59c2371c16bc715f83c34503",
"isPublic" : false,
"conditions" : "{\"statement.verb.id\":\"http://adlnet.gov/expapi/verbs/commented\"}"
}
, multiple selections available,
Related content
Retrieving Statements
Retrieving Statements
More like this
Connection API
Connection API
More like this
Aggregation API
Aggregation API
More like this
Rest API
Read with this
Statements
More like this
xAPI Overview
xAPI Overview
Read with this
Learning Locker and the Squirrel logo are trademark of Learning Pool 2020 | Learning Locker is licensed under GPL 3.0.