# Prefix $path with the default API prefix unless it already specifies # one or it's an absolute URL. $path = $self->{api} . $path unless $path =~ m@^(?:/rest/|(?i)https?:)@;