JSON API
Introduction
The primary method of communication with the Lana backend is the GraphQL API . However, there is also an available raw HTTP JSON API endpoint that exposes the same set of features. Depending on the situation, you might find it more suitable to use this API. The JSON API allows access to both the
Tutorial
This tutorial will guide you through the basics of using the JSON API with NodeJS. Prior knowledge of basic Linux shell commands, NodeJS, npm, TypeScript, and JavaScript is assumed.
Pagination
The Lana TypeScript/JavaScript core library offers pagination helper functions that facilitate fetching items in a paginated manner. You can access these functions through the import path:
Expandable Items
The Lana API incorporates a concept known as "expandable items". With the Lana TypeScript/JavaScript core library, you can request the expansion of specific items in a returned request. This mini-tutorial will guide you through the process of working with expandable items.