Fix for API requests which include id (e.g. activities)

Hi! Some GET requests require that the id be included in the URI. I've made a quick change to fix that.