Skip to content

Backend API Endpoints

Tobias Pitters edited this page Jul 28, 2023 · 1 revision

The backend API implements several endpoints.

get_all_challenges

Returns a list of all challenges. This is used in the Browse Challenges view.

get_next_challenge

This endpoints provides the next challenge of the user. In the background a/b testing is performed.

get_intro

Provides the introduction (the challenge description) to a challenge

get_default

Provides the default code (code that is in the code editor on challenge load) to a challenge

get_challenge

Provides the code needed for pyodide to create examples and verify user code

Clone this wiki locally