Variables

Create a variable

PUT /api/v1/{application_id}/variables/{variable}
Content-Type: multipart/form-data; boundary=----BOUNDARY

------BOUNDARY
Content-Disposition: form-data; name="type"

File
------BOUNDARY
Content-Disposition: form-data; name="authenticated"

true
------BOUNDARY
Content-Disposition: form-data; name="value"

<binary data>

200 OK
{
    "success": true
}

Available types: String, Boolean, File

The request has to be multipart due to file support

Get a variable

GET /api/v1/{application_id}/variables/{variable}

200 OK
{
    "value": "some value",
}

200 OK
{
    "value": true,
}

200 OK
<binary data>

Delete a variable

DELETE /api/v1/{application_id}/variables/{variable}