Overview
Bluebricks API enables users to complete various actions, such as search, publish, and install.
Endpoints
https://api.bluebricks.co/apiThe current API version is v1.
Authentication
All client APIs are using JWT to authenticate the calls. Currently, to generate a JWT, you should log in using bricks login (download the Bricks CLI if you don't have it) and execute the command below to fetch the JWT from the runtime configuration:
cat ~/.bricks/environment.yaml | grep token | sed -n 's/^token: Bearer //p'Example API Usage
In the below snippet, we'll list the available environments using Environments API:
curl -X 'GET' \
'https://api.bricks-dev.com/api/v1/environments' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {{JWT-TOKEN}}'Last updated
Was this helpful?

