putRecipe

@PUT(value = "recipes/{id}")
abstract suspend fun putRecipe(@Path(value = "id") id: String, @Body recipe: ApiRecipe): ApiRecipe

Updates a Recipe item in the API.

Return

The updated ApiRecipe item.

Parameters

id

The ID of the Recipe item to update.

recipe

The updated Recipe item.