aYOUne
← Configuration API

AlertSnoozes

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

SDK

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

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

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

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

See also