package com.nmakademija.nmaakademija.api;

import com.nmakademija.nmaakademija.entity.Article;
import com.nmakademija.nmaakademija.entity.ScheduleEvent;
import com.nmakademija.nmaakademija.entity.Section;
import com.nmakademija.nmaakademija.entity.TimeTillSession;
import com.nmakademija.nmaakademija.entity.User;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;

public interface NMAService {

    @GET("api/events")
    Call<List<ScheduleEvent>> getEvents();

    @GET("api/tts")
    Call<TimeTillSession> getTimeTillSession();

    @GET("api/users")
    Call<List<User>> getUsers();

    @GET("api/news")
    Call<List<Article>> getArticles();

    @GET("api/sections")
    Call<List<Section>> getSections();
}

package com.nmakademija.nmaakademija.api;

import com.nmakademija.nmaakademija.entity.Article;
import com.nmakademija.nmaakademija.entity.ScheduleEvent;
import com.nmakademija.nmaakademija.entity.Section;
import com.nmakademija.nmaakademija.entity.TimeTillSession;
import com.nmakademija.nmaakademija.entity.User;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;

public interface NMAService {

    @GET("api/events/")
    Call<List<ScheduleEvent>> getEvents();

    @GET("api/tts/")
    Call<TimeTillSession> getTimeTillSession();

    @GET("api/users/")
    Call<List<User>> getUsers();

    @GET("api/news/")
    Call<List<Article>> getArticles();

    @GET("api/sections/")
    Call<List<Section>> getSections();
}

Add slash at the end to avoid redirects from server