A code run along with its associated, code repo, configuration, input and outputs.

Writable Fields:

run_date: datetime of the CodeRun

description (optional): Free text description of the CodeRun

code_repo (optional): Reference to the Object associated with the StorageLocation where the code repository is stored

model_config: Reference to the Object for the YAML configuration used for the CodeRun

submission_script: Reference to the Object for the submission script used for the CodeRun

inputs: List of ObjectComponent that the CodeRun used as inputs

outputs: List of ObjectComponent that the CodeRun produced as outputs

uuid (optional): UUID of the CodeRun. If not specified a UUID is generated automatically.

Read-only Fields:

url: Reference to the instance of the ModelRun, final integer is the ModelRun id

last_updated: Datetime that this record was last updated

updated_by: Reference to the user that updated this record

ro_crate: The RO Crate containing this CodeRun plus any available input and output files

GET /api/code_run/?format=api&ordering=uuid
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 0,
    "next": null,
    "previous": null,
    "results": []
}