aYOUne
← marketplace API

MarketplaceInstallations

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

SDK

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

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

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

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

See also