(RestResponse) service.request(
new Link("Get API", "/api", HttpMethod.GET),
IHttpClient.NO_TIMEOUT,
Collections.<Parameter> emptyList(),
Collections.<Parameter> emptyList());
return new APIResource(username, password, token, service, (Map<String, Link>) response.getData()) {};
}