@POST(value = "handlers/{handler_id}/events")
abstract fun generateEvent(@Path(value = "handler_id") handlerId: String, @HeaderMap headers: Map<String, String>, @Query(value = "external_id") externalId: String?, @Query(value = "user_data") userData: String?, @Query(value = "image_type") imageType: Int?, @Query(value = "aggregate_attributes") aggregateAttributes: Int?, @Query(value = "source") source: String?, @Query(value = "tags") tags: List<String>?, @Query(value = "track_id") trackId: String?, @Query(value = "use_exif_info") useExifInfo: Int?, @Body payload: RequestBody): Call<EventGenerateResponse>https://docs.visionlabs.ai/luna/v.5.28.0/ReferenceManuals/APIReferenceManual.html#operation/generateEvents
Parameters
0 - raw, 1 - face warped, 2 - body warped