Class GetApiInfoRequest


public class GetApiInfoRequest extends ContentRequest<GetApiInfoRequest,ApiInfo>
Request to get API info. This request could be useful as a quick "test" to determine if the server is valid and available as it doesn't require a valid channel token or any data on the server.
  • Constructor Details

    • GetApiInfoRequest

      public GetApiInfoRequest(ContentDeliveryClient client)
      Create request to get api information.
      Parameters:
      client - A valid delivery client
  • Method Details

    • getCall

      public retrofit2.Call<com.google.gson.JsonElement> getCall()
      Get retrofit call to use for search request
      Specified by:
      getCall in class ContentRequest<GetApiInfoRequest,ApiInfo>
      Returns:
      return the retrofit call object to use for this request