API

Updating the Deployment Cache

squashlabs, March 28, 2019

This API call will start a new deployment to force a Deployment Cache (DC) update. Squash will update the cache during the shutdown process of the deployment. This is useful for relatively large applications using dynamic data in Dockerfiles, such as database dumps and other assets that need to be updated on a regular basis.

Read more

Updating Assets

squashlabs, March 28, 2019

After submitting API calls it may take from 1 to 3 minutes for the changes to be fully propagated. This depends on the number and size of the files updated within the assets folder. Upload file https://api.squashlabs.wpengine.com/a/uploads/?repository=<repository_name> HTTP Method: POST Success Response Code: 200 Success Response Body: JSON data Sample Request curl –request POST \

Read more

Authentication

squashlabs, March 28, 2019

Squash offers a REST API to interact with the service. The response body is in JSON format. Authentication is key based only. API Keys You can create API keys to access the service by going to the General Settings page.     Using the API Key Squash expects a Squash-Key header on each API request. Here is an example

Read more