sdk: make sdk agnostic to base URI of api

Change-Id: Iff1c103aba94d2006ae8be44c18c0bdede4cddbf
Signed-off-by: Michael pasternak <mpastern@redhat.com>