Squash offers a REST API to interact with the service. The response body is in JSON format. Authentication is key based only.
Using the API Key¶
Squash expects a
Squash-Key header on each API request. Here is an
example on how to use it passing an API Key:
$ curl -i -H 'Squash-Key: B6mtwX0htEW0HaFp9X25UtJsiX1uBNHNsxAptnum2VxgXVwmrJfmd74En1a8MwFe' \ https://api.squash.io/a/assets/start/?repository=acme