GET /api/questions/114932/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept
{
"url": "https://numbas.mathcentre.ac.uk/api/questions/114932/?format=api",
"name": "Get the last item in a list",
"published": true,
"project": "https://numbas.mathcentre.ac.uk/api/projects/698/?format=api",
"author": {
"url": "https://numbas.mathcentre.ac.uk/api/users/7/?format=api",
"profile": "https://numbas.mathcentre.ac.uk/accounts/profile/7/?format=api",
"full_name": "Christian Lawson-Perfect",
"pk": 7,
"avatar": {
"20x20": "https://numbas.mathcentre.ac.uk/media/avatars/clp-2023_OVPD4En.20x20.jpg",
"40x40": "https://numbas.mathcentre.ac.uk/media/avatars/clp-2023_OVPD4En.40x40.jpg",
"150x150": "https://numbas.mathcentre.ac.uk/media/avatars/clp-2023_OVPD4En.150x150.jpg"
}
},
"edit": "https://numbas.mathcentre.ac.uk/question/114932/get-the-last-item-in-a-list/?format=api",
"preview": "https://numbas.mathcentre.ac.uk/question/114932/get-the-last-item-in-a-list/preview/?format=api",
"download": "https://numbas.mathcentre.ac.uk/question/114932/get-the-last-item-in-a-list.zip?format=api",
"source": "https://numbas.mathcentre.ac.uk/question/114932/get-the-last-item-in-a-list.exam?format=api",
"metadata": {
"description": "<p>Given an unknown list, the student has to write code to return the last item in the list.</p>",
"licence": "Creative Commons Attribution 4.0 International"
},
"status": "ok",
"resources": []
}