Skip to content

Instantly share code, notes, and snippets.

@u0705666
Created June 8, 2023 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save u0705666/5ba79027c90bf9e928d45e50d83fd566 to your computer and use it in GitHub Desktop.
Save u0705666/5ba79027c90bf9e928d45e50d83fd566 to your computer and use it in GitHub Desktop.
API definition with RxJava observable
@GET("v1/instruments/categorized-assets/search")
Observable<CategorizedAssetsResponse> getCategorizedAssetsSearch(
@Nonnull @Query("search_term") String searchTerm,
@Nullable @Query("category_identifier") Integer categoryIdentifier
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment