Modulentwicklung (APInterface)

Zentraler Einstieg für Entwickler und KI-Agenten — https://apinterface.com/docs/modulentwicklung (Architektur, Mandanten, Integration, Zugänge, Repo-Anweisungen).

Architektur

Mandanten und Nutzer

Modul-Repo & Discovery

Zugangsdaten (credentialSlots)

HTTP-API (Core, Version 1)

Drittentwickler: ausführliche Einstiegsseite /docs/http-api-v1 (kanonisch https://apinterface.com/docs/http-api-v1) — OpenAPI, PAT, Scopes, Module, CORS.

KI-Anweisungen im Git-Repository

Diese Seite ist die kanonische Langfassung. Zusätzlich liegen im Repo kurze Anweisungen, die von Tools automatisch einbezogen werden können — immer zusammen mit diesem Link verwenden.

Für KI-Agenten (Copy)

Vollständige Doku: https://apinterface.com/docs/modulentwicklung
HTTP-API v1 (Drittentwickler): https://apinterface.com/docs/http-api-v1
APInterface: Platform/Core/Modul getrennt versioniert; keine Secrets im Repo.
Module: moduleManifest.js + index.js (+ optional body.ejs); appKeys; optional credentialSlots; optional httpApiV1 + apiV1Module + src/api/registerApiV1.js.
HTTP-API: /api/v1, meta/build, audit/security (api.audit.read), openapi.json, PAT Bearer, api.tokens.* / api.audit.read, Fehler-JSON requestId, X-CSRF-Token für Session-JSON, /settings/api-tokens.
Zugänge: /apps/<appKey>/access; Klartext nur serverseitig getCompanyAppCredentials.
Deploy: versionierte Releases. Repo-KI: .github/copilot-instructions.md, .cursor/rules/*.mdc (siehe Seite).
Schema: https://apinterface.com/schema/module.manifest.json