Update api.go

using relative paths