Management API Reference

The current REST API is the authenticated management API. It lets trusted clients read and manage Inventory data programmatically. It is switched off unless API_ENABLED is set; while off, every /api URL answers 404. When on, all endpoints require an OAuth 2.1 bearer token (Laravel Passport, authorization code with PKCE, scope api:read or api:write), except for health and version checks. See Authentication and Permissions.

The future read-only API is a separate design area. It should optimize public content delivery and should not be confused with this management API.

Quick Access

Interactive Documentation

What the API Offers

System Endpoints

Image Workflow

Images flow through a three-stage pipeline:

  1. Upload - POST /api/image-upload uploads a file for processing.
  2. Processing - the system resizes and optimises the image in the background.
  3. Attachment - attach the processed image to an item, collection, or partner.

See Core Model for the business meaning of images and picture Items.