Build

APIs related to building Limio Campaigns and pages

Build Campaigns and Pages

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.

SecuritybearerAuth
Request
Request Body schema: application/json
required

The paths of the items you want to build - for example, campaigns (starting with /offers) and pages (starting with /pages).

items
Array of arrays

The list of campaigns and pages to build

Responses
200

OK

401

Unauthorized

502

Bad Gateway

post/shop/builds
Request samples
application/json
{
  • "items": [
    ]
}
Response samples
application/json
{
  • "buildPaths": [
    ],
  • "id": "build-{{limioTenant}}-shop:xxxxx",
  • "success": true
}

Repository Component Builds

This endpoint allows you to fetch custom component builds.

SecuritybearerAuth
Request
query Parameters
commitHash
string

Will retrieve the build information for the specified commit hash.

Example: commitHash=qv0hg3h4
Responses
200

OK

401

Unauthorized

404

Builds not found

get/component/builds
Request samples
Response samples
application/json
{
  • "id": "string",
  • "buildNumber": "25",
  • "commitId": "608f72e742a77bd0862b1b30d84814f00fc2fceb",
  • "startTime": "2024-03-26T12:22:14.554Z",
  • "endTime": "2024-03-26T12:22:14.554Z",
  • "buildStatus": "SUCCEEDED",
  • "buildComplete": true,
  • "logErrors": [
    ]
}