Repository Configuration

POST /flir/repository - Configure the package repository to use for the Flir packages.

Payload

The payload is a JSON document that can have one or two keys defined in the JSON object, url and version. The url item is mandatory and gives the URL of the package repository. This is normally set to the flir archives for the flir packages.

{
    "url":"http://flir.dianomic.com",
    "version":"latest"
}

Update Packages

PUT /flir/update - Update all of the packages within the Flir instance

This call can be used if you have installed some or all of your Flir instance using packages via the package installation process or using the package installer to add extra plugins. It will update all the Flir packages that you have installed to the latest version.

Example

$ curl -X PUT http://localhost:8081/flir/update

The call will return immediately and the package update will occur as a background task.