Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
api:api_courses [2014/07/01 22:26] – [Parameters] Lauri Elevantapi:api_courses [2014/07/23 22:26] – external edit 127.0.0.1
Line 26: Line 26:
   Content-Length: 1456   Content-Length: 1456
   X-Count: 123   X-Count: 123
 +
 +==== Response example ====
 +
 +  {
 +    "1": {
 +        "status": "Online",
 +        "updated": "2014-06-20T11:00:15+00:00",
 +        "institution": "/api/institutions/1",
 +        "partnership": null,
 +        "partner": null,
 +        "intakes": {
 +            "1": "/api/intakes/1"
 +        },
 +        "featured": false,
 +        "type": "UG",
 +        "awards": [
 +            {
 +                "abbr": "BSc",
 +                "full": ""
 +            }
 +        ],
 +        "name": "Sample under-graduate course",
 +        "mode": "FT",
 +        "duration": "3 years",
 +        "credits": null,
 +        "language": "en",
 +        "country": "EE",
 +        "location": "Tallinn",
 +        "code": null,
 +        "quota": null,
 +        "prospect": {
 +            "uri": null
 +        }
 +    },
 +    "2": {
 +        "status": "Online",
 +        "updated": "2014-06-20T11:00:15+00:00",
 +        "institution": "/api/institutions/1",
 +        "partnership": null,
 +        "partner": null,
 +        "intakes": {
 +            "1": "/api/intakes/1"
 +        },
 +        "featured": false,
 +        "type": "PG",
 +        "awards": [
 +            {
 +                "abbr": "MSc",
 +                "full": ""
 +            }
 +        ],
 +        "name": "Sample post-graduate course",
 +        "mode": "FT",
 +        "duration": "2 years",
 +        "credits": null,
 +        "language": "en",
 +        "country": "EE",
 +        "location": "Tallinn",
 +        "code": null,
 +        "quota": null,
 +        "prospect": {
 +            "uri": null
 +        }
 +    },
 +    "3": {
 +        "status": "Online",
 +        "updated": "2014-06-20T11:00:15+00:00",
 +        "institution": "/api/institutions/1",
 +        "partnership": null,
 +        "partner": null,
 +        "intakes": {
 +            "1": "/api/intakes/1"
 +        },
 +        "featured": false,
 +        "type": "TU",
 +        "awards": [
 +            {
 +                "abbr": "BSc",
 +                "full": ""
 +            }
 +        ],
 +        "name": "Sample top-up course",
 +        "mode": "FT",
 +        "duration": "1 year",
 +        "credits": null,
 +        "language": "en",
 +        "country": "EE",
 +        "location": "Tallinn",
 +        "code": null,
 +        "quota": null,
 +        "prospect": {
 +            "uri": null
 +        }
 +    }
 +  }