minor fix in REST API

1 job for master in 1 minute and 21 seconds (queued for 1 second)