API: add 'type device=string' to improve the documentation

Signed-off-by: David Scott <dave.scott@eu.citrix.com>