package com.stardust.scriptdroid.network.api;

import com.stardust.scriptdroid.network.entity.VersionInfo;

import io.reactivex.Observable;
import retrofit2.http.GET;

/**
 * Created by Stardust on 2017/9/20.
 */

public interface UpdateCheckApi {

    @GET("/hyb1996/NoRootScriptDroid/new_ui/version.json")
    Observable<VersionInfo> checkForUpdates();

}

package com.stardust.scriptdroid.network.api;

import com.stardust.scriptdroid.network.entity.VersionInfo;

import io.reactivex.Observable;
import retrofit2.http.GET;

/**
 * Created by Stardust on 2017/9/20.
 */

public interface UpdateCheckApi {

    @GET("/hyb1996/NoRootScriptDroid/master/version.json")
    Observable<VersionInfo> checkForUpdates();

}

check for updates