/results

Description

Step results are created for each step in a project. The result contains information about the user's progress on the quizzes and tasks on that step.

get
Retrieve Step Results

https://api.next.tech/v1/projects/steps/results
Request
Response
Request
Query Parameters
before
optional
string
Retrieve contents that were created before the specified date. The date format is ISO 8601. E.g., 2020-10-7T23:13:00.000Z
after
optional
string
Retrieve contents that were created after the specified date. The date format is ISO 8601. E.g., 2019-10-7T00:00:00.000Z
project_metadata
optional
array
An array of project metadata key and value pairs formatted as a query string, e.g. project_metadata[][key]=level&project_metadata[][value]=intermediate&project_metadata[][key]=language&project_metadata[][value]=python Only results for projects with one or more matching metadata will be returned.
course_metadata
optional
array
An array of course metadata key and value pairs formatted as a query string, e.g. course_metadata[][key]=course&course_metadata[][value]=Python&course_metadata[][key]=id&course_metadata[][value]=1 Only results for courses with one or more matching metadata will be returned.
course_uid
optional
string
An array of course API keys formatted as a query string, e.g. course_uid[]=196e2e6a-ecd2-48c2-ae28-d6e76a7327a8&course_uid[]=6e17916f-8a3d-40d6-9a89-2cf6742379d3 Only results for projects in one of the specified courses will be returned.
Response
200: OK
[
{
"created_at": 1607502005,
"updated_at": 1607502408,
"id": 1,
"course_metadata": [],
"course_name": "A Python Course",
"course_progress": 0.4,
"lesson_progress": 0.0,
"lesson_uid": "a1443dd2-e822-4dd0-be29-064148d8cbd4",
"project_created_at": 1607502002,
"project_metadata": [],
"project_name": "Writing functions",
"project_time_spent": 81,
"project_uid": "a28a1f4b-56db-4b55-83a8-ef099542ad64",
"project_updated_at": 1607502017,
"step_attempts": 3,
"step_time_spent": 25,
"step_title": "Printing a value",
"user_created_at": 1604533533,
"user_email": "[email protected]",
"user_first_name": "Codey",
"user_id": "1",
"user_last_name": "Codester",
"user_updated_at": 1604533533
}
]

If you have a large number of projects on your account, it is advisable to use pagination or provide at least one of the above filters to improve request performance.