How do i get a Retrofit Response of some particular Objects?
i am using Retrofit and i am getting the response without any problems, i am fetching the data and everything works well, but i also need to get only the ones that contains "contenType" :"FOLDER"
discarding the "contentType" : "PROJECT" one.
How can i manage this from my interface?
interface ApiInterface {
@GET("projects")
fun getData(@Header("secretKey") apiKey : String): Call}
I am in a big hurry, and help is super welcome, Many thanks!!!! :)
{
"projects": [
{
"id": "00001",...