aYOUne
← Production API

PrintJobs

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

SDK

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

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

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

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

See also