protected function obtainAPIURLEndpoint($type)
    {
        $uri = str_replace('{forgeserver}', $this->server, config('forge-publish.' . $type));
        $uri = str_replace('{forgesite}', $this->site, $uri);
        return config('forge-publish.url') . $uri;
    }