aYOUne
← Configuration API

ApiUsageQuotas

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

SDK

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

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

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

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

See also