RecipeApiService
interface RecipeApiService
Interface for the RecipeApiService. It contains the methods for managing Recipe data in the API.
Functions
Link copied to clipboard
@DELETE(value = "recipes/{id}")
Deletes a Recipe item from the API.
Link copied to clipboard
Extension function to convert the deleteRecipe function to a Flow.
Link copied to clipboard
Fetches all Recipe items from the API.
Link copied to clipboard
Extension function to convert the getRecipes function to a Flow.
Link copied to clipboard
Posts a new Recipe item to the API.
Link copied to clipboard
Extension function to convert the postRecipe function to a Flow.
Link copied to clipboard
Extension function to convert the putRecipe function to a Flow.