Update a Test Case

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

Behavior

Updates the test case by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Returns

Returns the updated test case if the update succeeded. This call will raise an error if update parameters are invalid.
















Path Params
int32
required

ID of the Test Case you want to update.

Body Params
int32

ID of the Test Category to which this Test Case corresponds.

string

An enum describing the type of tests. *All tests created via the API must have type='external'.

string

Text (accepts Markdown) shown to students when exposed tests are run in the Student Console, and from the Code Console.

int32

Key that defines how Test Cases are sorted within the codePost UI.

int32

Points added to a submission that fails this Test Case. Use a negative value to take off points.

int32

Points added to a submission that passes this Test Case.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Choose an example:
application/json