public ResponseWrapper sendDelete(String url) throws APIConnectionException, APIRequestException { return sendDelete(url, null); }
public DefaultResult deleteTag(String theTag, String platform) throws APIConnectionException, APIRequestException { String url = hostName + tagsPath + "/" + theTag; if (null != platform) { url += "?platform=" + platform; } ResponseWrapper response = _httpClient.sendDelete(url); return DefaultResult.fromResponse(response); }
public DefaultResult deleteAlias(String alias, String platform) throws APIConnectionException, APIRequestException { String url = hostName + aliasesPath + "/" + alias; if (null != platform) { url += "?platform=" + platform; } ResponseWrapper response = _httpClient.sendDelete(url); return DefaultResult.fromResponse(response); }
public DefaultResult deleteAlias(String alias, String platform) throws APIConnectionException, APIRequestException { String url = hostName + aliasesPath + "/" + alias; if (null != platform) { url += "?platform=" + platform; } ResponseWrapper response = _httpClient.sendDelete(url); return DefaultResult.fromResponse(response); }
public DefaultResult deleteTag(String theTag, String platform) throws APIConnectionException, APIRequestException { String url = hostName + tagsPath + "/" + theTag; if (null != platform) { url += "?platform=" + platform; } ResponseWrapper response = _httpClient.sendDelete(url); return DefaultResult.fromResponse(response); }
public void deleteSchedule(String scheduleId) throws APIConnectionException, APIRequestException{ Preconditions.checkArgument(StringUtils.isNotEmpty(scheduleId), "scheduleId should not be empty"); _httpClient.sendDelete(hostName + schedulePath + "/" + scheduleId); }
public void deleteSchedule(String scheduleId) throws APIConnectionException, APIRequestException{ Preconditions.checkArgument(StringUtils.isNotEmpty(scheduleId), "scheduleId should not be empty"); _httpClient.sendDelete(hostName + schedulePath + "/" + scheduleId); }