Skip to content

Instantly share code, notes, and snippets.

@u0705666
Created June 8, 2023 04:40
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/d84e36c8d5b6704fb8ddeaf25a119436 to your computer and use it in GitHub Desktop.
Save u0705666/d84e36c8d5b6704fb8ddeaf25a119436 to your computer and use it in GitHub Desktop.
api-def-coroutine
@RolesAllowed(Role.READONLY, Role.PRIVILEGED)
@GET("v1/instruments/categorized-assets/search")
suspend fun getCategorizedAssetsSearch(
@Query("search_term") searchTerm: String?,
@Query("category_identifier") categoryIdentifier: Int?
): ApiResult<CategorizedAssetsResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment