POST /gateway/v2/job_attributes
Insert job into XDCDB

Params

Param name Description
jobid
required

Validations:

  • Must be a String

submittime
required

Validations:

  • Must be a String

xsederesourcename
required

Validations:

  • Must be a String

gatewayuser
required

Validations:

  • Must be a String

software
optional

Validations:

  • Must be a String

usage
optional

Validations:

  • Must be a Integer

vmid
optional

Validations:

  • Must be a String

debug
optional

Validations:

  • Must be a String


GET /gateway/v2/jobs/by_res_user_dates/<resource>/<username>/<start_date>/<end_date>
All jobs by a person (found by resource and username), for all resources, in a date range

Examples

GET /gateway/v2/jobs/by_res_user_dates/bridges.psc.xsede/reilleyd/2020-01-02/2020-04-15
{
  "message": null,
  "result": [
    {
    "resource_name": "bridges.psc.xsede",
    "charge_number": "TG-CHE160054",
    "job_id": 94247443,
    "account_id": 11863,
    "resource_id": 2819,
    "local_jobid": "8522434",
    "local_charge": "384.05",
    "start_time": "2020-04-24T15:52:21.000+00:00",
    "end_time": "2020-04-26T15:52:44.000+00:00",
    "submit_time": "2020-04-10T19:39:27.000+00:00",
    "wallduration": 172823,
    "grid_job_id": null,
    "jobname": "parent",
    "nodecount": 1,
    "processors": 8,
    "queue": "RM-SHARED",
    "allocation_id": 67136,
    "allocation_breakdown_id": 571244,
    "adjusted_charge": "384.05",
    "ts": "2020-04-26T17:13:33.334+00:00",
    "memory": null,
    "person_id": 71704,
    "username": "reilleyd"
    },
    ...
  ]
}

Params

Param name Description
resource
required

to identify the person

Validations:

  • Must be a String

username
required

to identify the person

Validations:

  • Must be a String

start_date
required

Validations:

  • Must be a String

end_date
required

Validations:

  • Must be a String


GET /gateway/v2/jobs/by_proj_dates/<charge_number>/<start_date>/<end_date>
All jobs run for a project in a date range

Examples

GET /gateway/v2/jobs/by_proj_dates/TG-CTS150057/2020-03-15/2020-04-25?apikey=...
{
  "message": null,
  "result": [
    {
      "resource_name": "stampede2.tacc.xsede",
      "charge_number": "TG-CTS150057",
      "job_id": 94251899,
      "account_id": 10918,
      "resource_id": 2825,
      "local_jobid": "5579827",
      "local_charge": "38.404",
      "start_time": "2020-04-24T05:29:56.000+00:00",
      "end_time": "2020-04-26T05:30:14.000+00:00",
      "submit_time": "2020-04-22T17:49:51.000+00:00",
      "wallduration": 172818,
      "grid_job_id": null,
      "jobname": null,
      "nodecount": 1,
      "processors": 272,
      "queue": "normal",
      "allocation_id": 68970,
      "allocation_breakdown_id": 608178,
      "adjusted_charge": "38.404",
      "ts": "2020-04-27T06:58:55.657+00:00",
      "memory": null,
      "person_id": 87062,
      "username": "tg864758"
    },
    ...
  ]
}

Params

Param name Description
charge_number
required

the project's code

Validations:

  • Must be a String

start_date
required

Validations:

  • Must be a String

end_date
required

Validations:

  • Must be a String


GET /gateway/v2/jobs
Last n jobs from an apikey, human-readable