Skip to content
aYOUne
← Production API

MachineRuns

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

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

SDK

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

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

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

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

See also