Zum Inhalt springen
aYOUne
← coding API

DocProfiles

Singular: DocProfile — Base-URL: https://coding-api.ayoune.app — Zugriff: CRUD — 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 /docprofiles Liste mit Filtern/Paginierung coding.docprofiles.view
GET /docprofiles/:id Einzelner Datensatz coding.docprofiles.view
POST /docprofiles Neuen Datensatz erstellen coding.docprofiles.new
PUT /docprofiles Datensatz aktualisieren coding.docprofiles.edit
DELETE /docprofiles/:id Datensatz löschen coding.docprofiles.delete

SDK

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

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

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

// Erstellen
const created = await ay.coding.docProfiles.create({ name: 'Foo' });

Weiterführend