Skip to main content

UltraSuite API

All URIs are relative to http://localhost:1000

MethodHTTP requestDescription
assetsCreateUltraSuiteAssetPOST /ultra_suite/assets/create/ultra_suite/assets/create [POST]

assetsCreateUltraSuiteAsset

Asset assetsCreateUltraSuiteAsset()

This Endpoint will create an Asset that is sent from UltraSuite.

Example

import * as Pieces from '@pieces.app/pieces-os-client'

const configuration = Pieces.Configuration()
const apiInstance = new Pieces.UltraSuiteApi(configuration)

const body: Pieces.AssetsCreateUltraSuiteAssetRequest = {
// SeededUltraSuiteAsset (optional)
seededUltraSuiteAsset: ,
};

apiInstance.assetsCreateUltraSuiteAsset(body).then((data: Asset) => {
console.log('API called successfully. Returned data: ' + data)
}).catch((error: unknown) => console.error(error))

Parameters

NameTypeDescriptionNotes
seededUltraSuiteAssetSeededUltraSuiteAsset

Return type

Asset

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200OK-