Zum Inhalt springen
aYOUne
← Konfiguration API

BuildingSpaceStates

Singular: BuildingSpaceState — Base-URL: https://config-api.ayoune.app — Zugriff: read-only — Maschinenlesbare Beschreibung (JSON · YAML)

Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Endpunkte

MethodePathBeschreibungRight
GET /buildingspacestates Liste mit Filtern/Paginierung config.buildingspacestates.view
GET /buildingspacestates/:id Einzelner Datensatz via ID config.buildingspacestates.view

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.config.buildingSpaceStates.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.config.buildingSpaceStates.findById('OBJECT_ID').exec();

Weiterführend