Update a question

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

the question id

Body Params

new content of the question

Question data to create or update. Same structure as QuestionDetailsResult without the server-owned fields. An unknown property is rejected, so a fetched question cannot be sent back as is: its read-only fields must be stripped first. Top level: 'id', 'version', 'creation_time', 'modification_time', 'from_coderpad_question_bank', 'resources', 'game_details' and 'file_upload_details'. Nested: 'code_details.available_programming_language_ids' and 'project_details.download_url'. 'evaluation.test_report' is read-only too, but it is declared here, so it is refused as a block the question type does not support rather than as an unknown property

string
enum

the question type

Allowed:
string

the question domain name

int32

the question duration in seconds

string
enum

difficulty level

Allowed:
int32

maximum score weight for the question

title
object

question title, by locale

statement
object

HTML statement, by locale

locales
array of strings

locales of the question. Defaults to the locales of 'title'. Every localized field must cover exactly these locales

locales
string

the question skill

uuid

id of the team owning the question. Defaults to the preferred team of the caller

boolean

whether the question can be automatically selected in campaigns; omitted, it defaults to true, like every other creation path, so an update omitting it does not unselect the question

string

internal comment on the question

evaluation
object

How the candidate answer is evaluated

code_details
object

CODE-specific question data to create or update

mcq_details
object

MCQ-specific question details

text_details
object

TEXT-specific question details

video_details
object

VIDEO-specific question details

project_details
object

PROJECT-specific question data to create or update

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json