Builder API is the contact point for users when they are registering functions and components. It exposes an API that receives the user's code and uploads it to Ollie's checkout flow.

It was designed to allow for easy integration with CI/CD processes and also a CLI. It has three main endpoints for each asset (functions and components):

  • List all: list all assets for a given store ID. It enables the users to retrieve all the existent functions or components for the user's store
  • Get asset by id: return more data about the specific asset, enabling more complex configurations, i.e env variables for functions
  • Upload code: enable users to upload the implementation for the asset