aYOUne
← Configuration API

Names

Singular: Name — Base URL: https://config-api.ayoune.app — Access: CRUD

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 /names List with filters/pagination config.names.view
GET /names/:id Single record config.names.view
POST /names Create new record config.names.new
PUT /names Update record config.names.edit
DELETE /names/:id Delete record config.names.delete

SDK

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

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

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

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

See also