package com.castlabs.sdk.analytics_demo.utils

import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.Header
import retrofit2.http.POST
import retrofit2.http.Path

interface APIInterface {

	@POST("https://wc7jnaxnqd.execute-api.ap-southeast-2.amazonaws.com/default/ttv-bo-poc-jwtsigner")
	fun getVimondToken(@Body params: String): Call<String>

	@POST("https://ttvbo.play.cf.ap-southeast-2-preprod.vmnd.tv/api/v2/asset/{id}/play")
	fun getVimondRequest(
		@Path("id") assetId: String,
		@Header("Content-Type") contentType: String,
		@Header("Accept") accept: String,
		@Header("Authorization") token: String,
		@Body params: String,
	): Call<String>
}
