Added REST functionality for configAPI

Can you reword this slightly to `when no appid was provided` so that it's clear what the difference is between passing in null or a string (below).