User Tools

Site Tools


api2:student:student_cluster_membership

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

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

This objects indicates that a particular student belongs to a particular cluster. ===Object resources=== ^ Property ^ Type ^ Description ^ | student_id | Integer | The related student | | student_cluster_id | Integer | The related cluster | | matching | Float | Float between 0 and 1 which indicates the proximity between the related Student and the Student who “owns” the Cluster | ===Fetch (GET)=== ^ Method | GET| ^ URL | /student_cluster_memberships/{student_cluster_memberships_id} | ==Get the response (JSON output example)== **With ID provided**\\ <code> </code> **Without ID provided**\\ <code> </code> ===Fetch by Student Cluster (GET)=== ^ Method | PUT | ^ URL | /student_clusters /{student_cluster _id}/student_cluster_memberships | ==Send the request (JSON input example)== <code> { name : « No more Corporate Finance » } </code> ==Get the response (JSON output example)== <code> { id: 1, name: « No more Corporate Finance », instance_id: 1 } </code>

api2/student/student_cluster_membership.1507908508.txt.gz · Last modified: 2017/10/13 17:28 by maries