diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index 00c37eab1..6b3b5a9be 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -195,8 +195,8 @@ pandora.ui.apiDialog = function() { + ' pandora_client to automate certain tasks.

\n' + '

To get started, just open the console and paste the' + ' following snippet. For the first ten items that are' - + ' both shorter than one hour and whose title does not' - + ' start with "X" (sorted by duration, then title, both' + + ' both shorter than one hour and whose title starts with' + + ' either "a" or "the" (sorted by duration, then title, both' + ' in ascending order), it will return their duration,' + ' id and title properties.

', [pandora.site.site.name])) @@ -207,7 +207,13 @@ pandora.ui.apiDialog = function() { + " query: {\n" + " conditions: [\n" + " {key: 'duration', operator: '<', value: '01:00:00'},\n" - + " {key: 'title', operator: '!=', value: 'x*'}\n" + + " {\n" + + " conditions: [\n" + + " {key: 'title', operator: '=', value: 'a*'}\n" + + " {key: 'title', operator: '=', value: 'the*'}\n" + + " ],\n" + + " operator: '|'\n" + + " }\n" + " ],\n" + " operator: '&'\n" + " },\n"