aYOUne
← Configuration API

SupportPortals

Singular: SupportPortal — Base URL: https://config-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 /supportportals List with filters/pagination config.supportportals.view
GET /supportportals/:id Single record config.supportportals.view
POST /supportportals Create new record config.supportportals.new
PUT /supportportals Update record config.supportportals.edit
DELETE /supportportals/:id Delete record config.supportportals.delete

SDK

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

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

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

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

See also