Skip to main content

Application API

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

MethodHTTP requestDescription
applicationUpdatePOST /application/update/application/update [GET]

applicationUpdate

Application applicationUpdate()

This is an endpoint for updating an application.

Example

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

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

const body: Pieces.ApplicationUpdateRequest = {
// Application (optional)
application: ,
};

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

Parameters

NameTypeDescriptionNotes
applicationApplication

Return type

Application

HTTP request headers

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

HTTP response details

Status codeDescriptionResponse headers
200OK-