To be used with OpenFaaS
Use header Content-Type: application/json
or header binary/octet-stream
to download the asset
Request
{
"repo": "openfaas/faas-cli"
}
Response
{
"version": "1.2.3"
}
Request
{
"repo": "openfaas/faas-cli",
"arch": "linux"
}
Response
{
"version": "1.2.3",
"name":"faas-cli",
"url":"https://github.com/openfaas/faas-cli/releases/download/0.5.2/faas-cli"
}