The spark-submit-notebook command submits a PySpark notebook to the cluster
JSON Input Data Format

    {
        "id": string,
        "filename": string,
        "args": string,
        "appargs": string
    }

id * | Specifies the ID of the cluster.
filename * | Specifies the path and file name of the PySpark notebook on the cluster. The path must begin with a /.
args | Specifies the arguments for the spark-submit job.
appargs | Specifies the arguments for the PySpark notebook application.

* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.
Successful Response

    {
        "result": "OK",
        "payload": "...output of the command.."
    }

Failed Response

    {
        "result": "ERR",
        "message": "Error message ..."
    }