aYOUne
← HR API

Applications

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

SDK

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

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

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

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

See also