Interface RemoteAPIService

    • Method Detail

      • getRemoteAPIForUrl

        RemoteAPI getRemoteAPIForUrl​(java.lang.String url)
        Find the RemoteAPI where the serviceURI is a substring of the given URL. For example if you passed the URL 'http://irida.ca/api/projects/5/samples/3' the method would find a RemoteAPI with serviceURI of 'http://irida.ca/api'
        Parameters:
        url - The URL to test
        Returns:
        The RemoteAPI matching the given URL