aYOUne
← Configuration API

OAuthAuthCodes

Singular: OAuthAuthCode — Base URL: https://config-api.ayoune.app — Access: read-onlyMachine-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 /oauthauthcodes List with filters/pagination config.oauthauthcodes.view
GET /oauthauthcodes/:id Single record by ID config.oauthauthcodes.view

SDK

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

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

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

See also