package com.anotherdev.stackapp.api.stackexchange;

import retrofit.http.GET;
import rx.Observable;

public interface StackOverflowApi {

    String BASE_URL = "https://api.stackexchange.com/2.2";


    @GET("/questions?order=desc&sort=activity&site=stackoverflow")
    Observable<Questions> questions();
}

@@ -71,16 +71,44 @@
 tp.GET;%0A
+import retrofit.http.Query;%0A
 import r
@@ -325,11 +325,141 @@
 tions();
+%0A%0A    @GET(%22/search?order=desc&sort=activity&site=stackoverflow%22)%0A    Observable%3CQuestions%3E search(@Query(%22intitle%22) String text);
 %0A%7D%0A

add search api