Get result of a single user for a given I/O lab
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
cURL
curl --request POST \ --url https://backend.codedamn.com/api/public/get-user-io-lab-result \ --header 'Content-Type: application/json' \ --header 'FERMION-API-KEY: <api-key>' \ --data ' { "data": [ { "data": { "userId": "<string>", "labId": "<string>" } } ] } '
[ { "output": { "status": "ok", "data": { "result": { "isLabAttempted": true, "isRunComplete": true, "resultArray": [ { "testCaseId": "<string>", "status": "pending" } ] } } } } ]
API Request Body
Show child attributes
This is a string that you have stored in your database that can uniquely identify a given user
ID of the I/O coding lab you want to get the data for.
API Response Body
ok
true
false
pending
compilation-error
time-limit-exceeded
non-zero-exit-code
died-sigsev
died-sigxfsz
died-sigfpe
died-sigabrt
internal-isolate-error
successful
wrong-answer
unknown