Subjects

A subject object represents an Assembly Platform subject. These subjects are mapped to one or multiple subjects within a school's MIS and are used to normalise school to school variance in subject naming to a known and fixed set within the Assembly Platform.

Access: This is a read-only resource managed by Assembly (though mappings must be managed by the individual school).

List Subjects

Returns a list of the Assembly Platform's subjects.

Request

GET /subjects
Headers
Accept: application/vnd.assembly+json; version=1
Authorization: Bearer b2s7a9s8BQokikJOvBiI2HlWgH4olfQ2
Parameter Default Example Description
mis_mappings false true

includes the names of any MIS subjects or courses that have been mapped to the subject

per_page 100 25

number of results to return

page 1 2

page number to return

URI Template: /subjects{?per_page,page,mis_mappings}

Response 200

Headers
Content-Type: application/json; charset=utf-8
Payload
    {
      "object": "list",
      "total_count": 2,
      "total_pages": 1,
      "current_page": 1,
      "prev_page": null,
      "next_page": null,
      "data": [
            {
                "object": "subject",
                "id": 1,
                "name": "Mathematics",
                "code": "MAT",
                "mis_subjects": [
                    {
                        "id": 72,
                        "name": "Mathematics (KStg3)",
                        "code": "Ma/KStg3"
                    },
                    {
                        "id": 79,
                        "name": "Mathematics (GCEA)",
                        "code": "Ma/GCEA"
                    },
                    {
                        "id": 726,
                        "name": "Mathematics (GCSEF)",
                        "code": "Ma/GCSEF"
                    },
                    {
                        "id": 787,
                        "name": "Mathematics (GCEAS)",
                        "code": "Ma/GCEAS"
                    }
                ]
            },
            {
                "object": "subject",
                "id": 2,
                "name": "English",
                "code": "ENG",
                "mis_subjects": [
                    {
                        "id": 82,
                        "name": "English (KStg3)",
                        "code": "En/KStg3"
                    },
                    {
                        "id": 99,
                        "name": "English (GCEA)",
                        "code": "En/GCEA"
                    },
                    {
                        "id": 126,
                        "name": "English (GCSEF)",
                        "code": "En/GCSEF"
                    },
                    {
                        "id": 187,
                        "name": "English (GCEAS)",
                        "code": "En/GCEAS"
                    }
                ]
            }
          ]
    }