Build

APIs related to building Limio Campaigns and pages

Build Campaigns and Pages

post

This API allows you to build Limio Campaigns and Pages in bulk, without needing to build them one by one. You can build multiple campaigns and pages at once by providing an array of items to build. This can be useful for building multiple campaigns and pages at once, for example, when you want to build a set of campaigns and pages for a new product launch.

Authorizations
AuthorizationstringRequired

To create a Bearer token, see How to get an OAuth Bearer Token?.

Usage format: Bearer <token>

Body
itemsarrayOptional

The list of campaigns and pages to build

Example: ["/offers/Limio Campaign","/pages/Limio Page"]
Responses
chevron-right
200

OK

application/json
buildPathsarrayOptional

The list of campaigns and pages built

Example: ["/offers/Limio Campaign","/pages/Limio Page"]
idstringOptional

The unique identifier of the build

Example: build-{{limioTenant}}-shop:xxxxx
successbooleanOptional

Indicates if the build has been completed

Example: true
post
/shop/builds

Repository Component Builds

get

This endpoint allows you to fetch custom component builds.

Authorizations
AuthorizationstringRequired

To create a Bearer token, see How to get an OAuth Bearer Token?.

Usage format: Bearer <token>

Query parameters
commitHashstringOptional

Will retrieve the build information for the specified commit hash.

Example: qv0hg3h4
Responses
chevron-right
200

OK

application/json
idstringOptional

The unique identifier of the build

Example: {env-name}-component-builder-2:468d57a0-c9f7-4f66-ba3a-86eac185f0d0
buildNumberstringOptional

The build number of the build

Example: 25
commitIdstringOptional

The commit id which triggered the build

Example: 608f72e742a77bd0862b1b30d84814f00fc2fceb
startTimestringOptional

Indicates the time the build started

Example: 2024-03-26T12:22:14.554Z
endTimestringOptional

Indicates the time the build ended

Example: 2024-03-26T12:22:14.554Z
buildStatusstring · enumOptional

Indicates the status of the build

Possible values:
buildCompletebooleanOptional

Indicates if the build has been completed

Example: true
logErrorsarrayOptional

Any error messages that occurred during the build, which may prevent the shop from building successfully

Example: ["Error: No such import 'MyIcon' in /offerCard.js"]
get
/component/builds

Last updated

Was this helpful?