Scheduler

POST /api/scheduler/job

Changed on

POST operation for /api/scheduler/job

post/api/scheduler/job

Request

  • The document declares no server URL.
  • Auth
    socaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)

Headers

X-EDH-USERstring required

SOCA username for authentication

X-EDH-TOKENstring required

SOCA authentication token

Request body application/x-www-form-urlencoded

payloadstring base64 required

Base64 encoded job submission script

interpreterstring required

Interpreter to use (either valid scheduler identifier or system interpreter such as /bin/bash, /bin/csh, /bin/sh or /bin/zsh)

Example request

{
  "payload": "IyEvYmluL2Jhc2gKI1BCUyAtTiBteV9qb2IKZWNobyAiSGVsbG8gV29ybGQi",
  "interpreter": "qsub"
}

Response

Job submitted successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "123"
}

Changes

    • breaking

      the request property became required

    • info

      the endpoint scheme security socaAuth AND socaToken was added to the API

    • info

      the endpoint scheme security edhAuth AND edhToken was removed from the API

    • info

      the endpoint scheme security edhAuth AND edhToken was added to the API

    • info

      the endpoint scheme security socaAuth AND socaToken was removed from the API