add rest example to queue docs