aYOUne
← Monitoring API

KeywordRelations

Singular: KeywordRelation — Base URL: https://monitoring-api.ayoune.app — Access: CRUD

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

SDK

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

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

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

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

See also