POST
/
public
/
create-interactive-coding-lab
curl --request POST \
  --url https://backend.codedamn.com/api/public/create-interactive-coding-lab \
  --header 'Content-Type: application/json' \
  --header 'FERMION-API-KEY: <api-key>' \
  --data '{
  "data": [
    {
      "data": {
        "labTitle": "<string>",
        "labDescriptionAsMarkdown": "<string>",
        "defaultGitRepositoryUrl": "<string>",
        "defaultGitRepositoryBranchName": "<string>",
        "evaluationScriptBashCommand": "<string>",
        "evaluationScriptTestFileContent": "<string>",
        "testCases": []
      }
    }
  ]
}'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "labId": "<string>"
      }
    }
  }
]

Authorizations

FERMION-API-KEY
string
header
required

Body

application/json

API Request Body

The body is of type object.

Response

200 - application/json

API Response Body

The response is of type object[].