Currently, the SubjectsApi in the frontend, has the endpoints hardcoded.
SubjectsApi
Instead, it should automatically figure out the endpoints, by using the schema.