aYOUne
← Project Management API

Buckets

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

SDK

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

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

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

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

See also