JSON Objects

Common Engine resources are passed between client and server using JSON interfaces. Below are the formats for these objects.

Filesystem

{
    "filesystem_id": "string",
    "filesystem_name": "string"
}

Tool

{
    "tool_id": "string",
    "tool_name": "string",
    "tool_description": "string"
}

Hardware

{
    "filesystem_list": [
        {
            "filesystem_id": "string",
            "filesystem_name": "string"
        }
    ],
    "cpu": 123
    "memory": 123,
}

Batch

{
    "batch_id": "string",
    "batch_tool": {
        "tool_id": "string",
        "tool_name": "string",
        "tool_description": "string"
    },
    "n_jobs": 123,
    "batch_hardware": {
        "filesystem_list": [
            {
                "filesystem_id": "string",
                "filesystem_name": "string"
            }
        ],
        "cpu": 123
        "memory": 123,
    }
}

BatchStatus

{
    "submitted": 123,
    "pending": 123,
    "runnable": 123,
    "starting": 123,
    "running": 123,
    "succeeded": 123,
    "failed": 123
}

Argument

{
    "argument_key": "string",
    "argument_value": "string"
}

Job

{
    "job_id": "string",
    "job_tool": {
        "tool_id": "string",
        "tool_name": "string",
        "tool_description": "string"
    },
    "job_log_id": "string",
    "job_argument_list": [
        {
            "argument_key": "string",
            "argument_value": "string"
        }
    ]