Skip to content
aYOUne
← coding API

DocProfiles

Singular: DocProfile — Base URL: https://coding-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

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

SDK

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

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

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

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

See also