Skip to content
aYOUne
← Production API

DesignTemplates

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

SDK

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

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

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

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

See also