Interface GenericApi

All Superinterfaces:
ApiClient.Api

public interface GenericApi extends ApiClient.Api
Generic HTTP interface. This allows to perform query against url not known in advance and benefit from the authenticated client.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String url)
    Perform a GET request against the given url and expect result to be a single object
    Perform a GET request against the given url and expect result to be a list of object
  • Method Details

    • getList

      List<Map<String,Object>> getList(String url)
      Perform a GET request against the given url and expect result to be a list of object
      Parameters:
      url -
      Returns:
    • get

      Map<String,Object> get(String url)
      Perform a GET request against the given url and expect result to be a single object
      Parameters:
      url -
      Returns: