← Automation API
AutomationNodeTypes
Singular: AutomationNodeTypeCustom — Base URL: https://automation-api.ayoune.app — Access: CRUD
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /automationnodetypes |
List with filters/pagination | automation.automationnodetypes.view |
| GET | /automationnodetypes/:id |
Single record | automation.automationnodetypes.view |
| POST | /automationnodetypes |
Create new record | automation.automationnodetypes.new |
| PUT | /automationnodetypes |
Update record | automation.automationnodetypes.edit |
| DELETE | /automationnodetypes/:id |
Delete record | automation.automationnodetypes.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.automation.automationNodeTypes.find().limit(10).exec();
// Single record
const one = await ay.automation.automationNodeTypes.findById('OBJECT_ID').exec();
// Create
const created = await ay.automation.automationNodeTypes.create({ name: 'Foo' });