User Tools

Site Tools


api2:student:student_cluster

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

Each Student has a Student Cluster which contains the Students who are similar to him/her. {{ :api2:student:student_cluster.png?400 |Student Cluster }} ===Object resources=== ^ Property ^ Type ^ Description ^ | student_id | Integer | The Student the Student Cluster belongs to | ===Fetch (GET)=== ^ Method | GET| ^ URL | /student_clusters/{student_cluster_id} | If no student_cluster_id is provided it will fetch all the Student Clusters for your instance. ==Get the response (JSON output example)== **With ID provided**\\ <code> { "id": 385, "created_at": "2017-11-24T13:20:31.549Z", "updated_at": "2017-11-24T13:20:31.549Z", "student_id": 372, "cluster_id": 72 } </code> **Without ID provided**\\ <code> [ { "id": 384, "created_at": "2017-11-24T13:19:56.437Z", "updated_at": "2017-11-24T13:19:56.437Z", "student_id": 371, "cluster_id": 71 }, { "id": 385, "created_at": "2017-11-24T13:20:31.549Z", "updated_at": "2017-11-24T13:20:31.549Z", "student_id": 372, "cluster_id": 72 } ] </code>

api2/student/student_cluster.1511543747.txt.gz · Last modified: 2017/11/24 18:15 by maries