Starting with Caldera REST API V1.1.1
Info
Caldera's Print Servers (drivers) must be running to allow the REST API to access the presets.
To facilitate the operation of several RIP stations simultaneously, new routes have been added in V1.1.1 (within CalderaDock V3.4) to start devices remotely and to confirm their state. Learn more.
With Caldera REST API V1.1 or before
Warning
Caldera's Print Servers (drivers) must be running to allow the REST API to access the presets, which is a limitation when working with many RIP stations.
For the moment, the workaround is to use CalderaJobs to start the servers remotely.
In the coming versions, the REST API will allow servers to be started on demand and/or automatically to save time and effort.
List Presets of a Device
GET http://localhost:12340/v1/devices/bG9jYWxob3N0OjQ1MzQzfmNhbGRlcmFyaXB-VElGRi1IYWxmdG9uZQ/presets
Returned Data
[
{
"id": "bG9jYWxob3N0OjQ1MzQzfmNhbGRlcmFyaXB+TXlTZXJ2ZXJ+W2NhbGRlcmFdTXlQcmVzZXQ",
"idents":
{
"internal": "[caldera]MyPreset",
"service": "bG9jYWxob3N0OjQ1MzQzfmNhbGRlcmFyaXA",
"device": "bG9jYWxob3N0OjQ1MzQzfmNhbGRlcmFyaXB-TXlTZXJ2ZXI"
},
"name": "MyPreset",
"user": "caldera"
}
]