retrofit.http.Query Java Examples
The following examples show how to use
retrofit.http.Query.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DatadogRemoteService.java From kayenta with Apache License 2.0 | 5 votes |
@GET("/api/v1/query") DatadogTimeSeries getTimeSeries( @Header("DD-API-KEY") String apiKey, @Header("DD-APPLICATION-KEY") String applicationKey, @Query("from") int startTimestamp, @Query("to") int endTimestamp, @Query("query") String query);
Example #2
Source File: ServerAPI.java From FlowGeek with GNU General Public License v2.0 | 5 votes |
@GET("/action/api/comment_list") Observable<RespCmmList> getCmmList( @Query("catalog") int catalog, @Query("id") long id, @Query("pageIndex") int pageIndex, @Query("pageSize") int pageSize );
Example #3
Source File: DexcomShare.java From xDrip-plus with GNU General Public License v3.0 | 4 votes |
@POST("Publisher/ListPublisherAccountSubscriptions") Call<List<ExistingFollower>> getContacts(@Query("sessionId") String sessionId);
Example #4
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@GET("/messages") Observable<List<Message>> getMsgOfStory( @Query("_storyId") String storyId, @Query("_teamId") String teamId, @Query("limit") int limit);
Example #5
Source File: UserApi.java From AndroidRxJavaSample with Apache License 2.0 | 4 votes |
@GET("/user/fetch") Observable<User> fetchUserInfo(@Query("id") String key);
Example #6
Source File: ImageResource.java From Movie-Check with Apache License 2.0 | 4 votes |
@GET("movie/{id}/images") Call<List<Image>> listByMovie(@Path("id") Long movieId, @Query("api_key") String apiKey);
Example #7
Source File: SearchApi.java From AndroidRxJavaSample with Apache License 2.0 | 4 votes |
@GET("/search") Observable<List<String>> search(@Query("key") String key);
Example #8
Source File: ApiService.java From materialup with Apache License 2.0 | 4 votes |
@Headers("Accept: application/json") @GET("/posts/c/{cat}/{sub}") Observable<MuResponse> getCategoryStream(@Path("cat") String cat, @Path("sub") String sub, @Query("page") int page, @Query("sort") String sort);
Example #9
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@GET("/discover/urlmeta") Observable<Link> getUrlMeta(@Query("url") String url);
Example #10
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@GET("/groups") Observable<List<Group>> getGroups(@Query("_teamId") String teamId);
Example #11
Source File: ApiService.java From droidddle with Apache License 2.0 | 4 votes |
@GET("/users/{id}/followers") Observable<List<Follower>> getUserFollowers(@Path("id") long id, @Query("page") int page);
Example #12
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@GET("/activities") Observable<List<TeamActivity>> getOldTeamActivities( @Query("_teamId") String teamId, @Query("limit") int limit, @Query("_maxId") String maxId );
Example #13
Source File: ShortenUrl.java From thunderboard-android with Apache License 2.0 | 4 votes |
@POST("/create.php") Observable<ShortUrl> convert( @Query("url") String url, @Query("format") String format, @Body Object dummy );
Example #14
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@GET("/messages") Observable<List<Message>> getMsgOfRoom( @Query("_roomId") String roomId, @Query("_teamId") String teamId, @Query("limit") int limit);
Example #15
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@GET("/messages") Observable<List<Message>> getMoreNewMsgWithUser( @Query("_withId") String targetUserId, @Query("_teamId") String teamId, @Query("_minId") String minId, @Query("limit") int limit);
Example #16
Source File: CastResource.java From Movie-Check with Apache License 2.0 | 4 votes |
@GET("movie/{id}/credits") Call<List<Cast>> listAllByMovie(@Path("id") Long id, @Query("api_key") String apiKey);
Example #17
Source File: MovieResource.java From Movie-Check with Apache License 2.0 | 4 votes |
@GET("search/movie") Call<List<Movie>> listByName(@Query("api_key") String apiKey, @Query("query") String query, @Query("page") int page);
Example #18
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@GET("/messages") Observable<List<Message>> getMoreOldMsgOfRoom( @Query("_roomId") String roomId, @Query("_teamId") String teamId, @Query("_maxId") String maxId, @Query("limit") int limit);
Example #19
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@POST("/teams/{id}/invite") Observable<Invitation> inviteRookieViaEmail(@Path("id") String teamId, @Query("email") String email);
Example #20
Source File: AccountApi.java From talk-android with MIT License | 4 votes |
@POST("/mobile/sendverifycode") Observable<RandomCodeData> sendVerifyCode( @Query("phoneNumber") String phoneNumber );
Example #21
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@POST("/teams/{id}/invite") Observable<Member> inviteViaUserId(@Path("id") String teamId, @Query("_userId") String userId);
Example #22
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@POST("/teams/{id}/invite") Observable<Member> inviteViaEmail(@Path("id") String teamId, @Query("email") String email);
Example #23
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@POST("/teams/{id}/invite") Observable<Member> inviteViaPhone(@Path("id") String teamId, @Query("mobile") String mobile);
Example #24
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@GET("/teams/readbyinvitecode") Observable<Team> getTeamByInviteCode(@Query("inviteCode") String inviteCode);
Example #25
Source File: ApiService.java From droidddle with Apache License 2.0 | 4 votes |
@GET("/teams/{id}/shots") Observable<List<Shot>> getTeamShots(@Path("id") long id, @Query("page") int page);
Example #26
Source File: ApiService.java From droidddle with Apache License 2.0 | 4 votes |
@GET("/shots/{id}/attachments") Observable<List<Attachment>> getShotAttachments(@Path("id") long id, @Query("page") int page);
Example #27
Source File: TalkApi.java From talk-android with MIT License | 4 votes |
@POST("/teams/syncone") Observable<Team> syncOneTeam(@Query("refer") String refer, @Query("sourceId") String sourceId);
Example #28
Source File: ApiService.java From droidddle with Apache License 2.0 | 4 votes |
@GET("/shots/{id}/comments") Observable<List<Comment>> getShotComments(@Path("id") long id, @Query("page") int page);
Example #29
Source File: LastFmRestService.java From Muzesto with GNU General Public License v3.0 | 4 votes |
@Headers("Cache-Control: public") @GET(BASE_PARAMETERS_ARTIST) void getArtistInfo(@Query("artist") String artist, Callback<ArtistInfo> callback);
Example #30
Source File: DribbbleAuthService.java From droidddle with Apache License 2.0 | 4 votes |
@POST("/oauth/token") public AccessToken getAccessToken(@Query("client_id") String client_id, @Query("client_secret") String client_secret, @Query("code") String code);