Skip to content

Commit ea0e05e

Browse files
committed
build docs
1 parent 7fcf471 commit ea0e05e

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

packages/kobotoolbox/ast.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@
6060
"description": "getSubmissions('aXecHjmbATuF6iGFmvBLBX', { query: { _submission_time:{ $gte: \"2025-03-12T21:54:20\" } } });",
6161
"caption": "Get form submissions with a query"
6262
},
63+
{
64+
"title": "example",
65+
"description": "getSubmissions('aXecHjmbATuF6iGFmvBLBX', { sort: { _submission_time: -1 } });",
66+
"caption": "Get form submissions with sorting"
67+
},
68+
{
69+
"title": "example",
70+
"description": "getSubmissions('aXecHjmbATuF6iGFmvBLBX', { start: 10 });",
71+
"caption": "Get form submissions with specific start index"
72+
},
6373
{
6474
"title": "function",
6575
"description": null,
@@ -94,7 +104,7 @@
94104
},
95105
{
96106
"title": "param",
97-
"description": "Field and direction to sort submissions by. Specify 1 for ascending or -1 for descending order (e.g. {\"field_name\": 1} or {\"field_name\": -1})",
107+
"description": "Field and direction to sort submissions by.",
98108
"type": {
99109
"type": "OptionalType",
100110
"expression": {
@@ -118,7 +128,7 @@
118128
},
119129
{
120130
"title": "param",
121-
"description": "The index of the first submission to return. Used for pagination.",
131+
"description": "The index of the first submission to return.",
122132
"type": {
123133
"type": "OptionalType",
124134
"expression": {

0 commit comments

Comments
 (0)