CantEatApiService
interface CantEatApiService
Interface for the CantEatApiService. It contains the methods for managing CantEat data in the API.
Functions
Link copied to clipboard
@DELETE(value = "canteats/{id}")
Deletes a CantEat item from the API.
Link copied to clipboard
Extension function to convert the deleteCantEat function to a Flow.
Link copied to clipboard
Fetches all CantEat items from the API.
Link copied to clipboard
Extension function to convert the getCantEats function to a Flow.
Link copied to clipboard
Posts a new CantEat item to the API.
Link copied to clipboard
Extension function to convert the postCantEat function to a Flow.
Link copied to clipboard
@PUT(value = "canteats/{id}")
Updates a CantEat item in the API.
Link copied to clipboard
Extension function to convert the putCantEat function to a Flow.