aYOUne
← marketplace API

MarketplaceApps

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

SDK

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

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

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

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

See also