aYOUne
← Configuration API

CompanyMilestones

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

SDK

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

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

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

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

See also