Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| blocks:api [2023-03-16 14:35] – mattias | blocks:api [2025-11-12 09:09] (current) – Added Display Spot Screenshot API admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====API==== | + | ======Blocks APIs====== |
| - | While most communication with the blocks system is created as required with user scripts there are a few static APIs that is useful. | + | Programmatic interfaces for: |
| - | [[blocks: | + | * Controlling the appearance or behavior of the Blocks editor or a Display Spot |
| + | * Uploading images and other files to a Blocks server | ||
| + | * Communicating with Blocks from custom applications. | ||
| + | * Drivers and other scripts enhancing Blocks itself, running on your Blocks server. | ||
| - | [[blocks: | + | Learn more about the various options and APIs available. |
| - | [[blocks: | + | * [[blocks: |
| + | * [[blocks: | ||
| + | * [[blocks: | ||
| + | * [[blocks: | ||
| + | * [[blocks: | ||
| + | * [[blocks: | ||
| + | * Custom API endpoints can be defined by User Scripts using the [[blocks: | ||
| + | * APIs available to [[blocks: | ||
| + | |||
| + | :!: **IMPORTANT** Externally accessible APIs can be protected using API keys. If so, an apiKey query parameter must be appended to the URL, with the correct value. API keys and their values are defined in Blocks [[blocks: | ||