{ "editorState": { "root": { "children": [ { "children": [ { "detail": 0, "format": 0, "mode": "normal", "style": "", "text": "Heading", "type": "text", "version": 1 } ], "direction": null, "format": "", "indent": 0, "type": "heading", "version": 1, "tag": "h4" }, { "children": [ { "detail": 0, "format": 0, "mode": "normal", "style": "", "text": "One ", "type": "text", "version": 1 }, { "detail": 0, "format": 16, "mode": "normal", "style": "", "text": "two", "type": "text", "version": 1 }, { "detail": 0, "format": 0, "mode": "normal", "style": "", "text": " three", "type": "text", "version": 1 } ], "direction": null, "format": "", "indent": 0, "type": "paragraph", "version": 1, "textFormat": 0, "textStyle": "" }, { "children": [ { "children": [ { "children": [ { "detail": 0, "format": 0, "mode": "normal", "style": "", "text": "sort", "type": "text", "version": 1 } ], "direction": null, "format": "", "indent": 0, "type": "link", "version": 3, "fields": { "doc": null, "linkType": "custom", "newTab": false, "url": "/docs/queries/overview#sort" }, "id": "67708768dd53bf162cb1ae6a" }, { "detail": 0, "format": 0, "mode": "normal", "style": "", "text": " - sort by field", "type": "text", "version": 1 } ], "direction": null, "format": "", "indent": 0, "type": "listitem", "version": 1, "value": 1 }, { "children": [ { "children": [ { "detail": 0, "format": 0, "mode": "normal", "style": "", "text": "where", "type": "text", "version": 1 } ], "direction": null, "format": "", "indent": 0, "type": "link", "version": 3, "fields": { "doc": null, "linkType": "custom", "newTab": false, "url": "/docs/queries/overview" }, "id": "67708768dd53bf162cb1ae6b" }, { "detail": 0, "format": 0, "mode": "normal", "style": "", "text": " - pass a where query to constrain returned documents", "type": "text", "version": 1 } ], "direction": null, "format": "", "indent": 0, "type": "listitem", "version": 1, "value": 2 } ], "direction": null, "format": "", "indent": 0, "type": "list", "version": 1, "listType": "bullet", "start": 1, "tag": "ul" }, { "format": "", "type": "block", "version": 2, "fields": { "blockType": "Code", "language": "ts", "code": "const a = 1\nconst b = 2\nconst c = 3\nconst d = 4", "id": "67708768dd53bf162cb1ae6c" } }, { "format": "", "type": "block", "version": 2, "fields": { "blockType": "restExamples", "data": [ { "operation": "Find", "method": "GET", "path": "/api/{collection-slug}", "description": "Find paginated documents", "example": { "slug": "getCollection", "req": true, "res": { "paginated": true, "data": { "id": "644a5c24cc1383022535fc7c", "title": "Home", "content": "REST API examples", "slug": "home", "createdAt": "2023-04-27T11:27:32.419Z", "updatedAt": "2023-04-27T11:27:32.419Z" } }, "drawerContent": "\n#### Heading\n\nOne `two` three\n\n- [sort](/docs/queries/overview#sort) - sort by field\n- [where](/docs/queries/overview) - pass a where query to constrain returned documents\n\n```ts\nconst a = 1\nconst b = 2\nconst c = 3\nconst d = 4\n```\n" } } ], "id": "67708768dd53bf162cb1ae6d" } } ], "direction": null, "format": "", "indent": 0, "type": "root", "version": 1 } }, "frontMatter": [] }