aYOUne
← coding API

FoundationKnowledge

Singular: FoundationKnowledge — Base URL: https://coding-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Endpoints

MethodPathDescriptionRight
GET /foundationknowledge List with filters/pagination coding.foundationknowledge.view
GET /foundationknowledge/:id Single record coding.foundationknowledge.view
POST /foundationknowledge Create new record coding.foundationknowledge.new
PUT /foundationknowledge Update record coding.foundationknowledge.edit
DELETE /foundationknowledge/:id Delete record coding.foundationknowledge.delete

SDK

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

// List all
const list = await ay.coding.foundationKnowledge.find().limit(10).exec();

// Single record
const one = await ay.coding.foundationKnowledge.findById('OBJECT_ID').exec();

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

See also