RobotoffAPI

interface RobotoffAPI

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@FormUrlEncoded
@POST(value = "/api/v1/insights/annotate")
abstract suspend fun annotateInsight(@Field(value = "insight_id") insightId: String, @Field(value = "annotation") annotation: Int): AnnotationResponse
@FormUrlEncoded
@POST(value = "/api/v1/insights/annotate")
abstract suspend fun annotateInsight(    @Field(value = "insight_id") insightId: String,     @Field(value = "annotation") annotation: Int,     @Header(value = "Authorization") auth: String): AnnotationResponse
Link copied to clipboard
@GET(value = "/api/v1/questions/{barcode}")
abstract suspend fun getProductQuestions(    @Path(value = "barcode") barcode: String,     @Query(value = "lang") langCode: String,     @Query(value = "count") count: Int): QuestionsState