Skip to main content
POST
/
job
/
getPresignedPost
Obtain a pre-signed URL
curl --request POST \
  --url https://ontime-api.masternautconnect.com/jobs/job/getPresignedPost \
  --header 'Content-Type: application/json' \
  --header 'x-connect-token: <x-connect-token>' \
  --data '
{
  "jobId": "<string>",
  "resource": "<string>"
}
'
{
  "url": "<string>",
  "fields": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}

Headers

x-connect-token
string
required

Body

application/json
jobId
string

Unique job identifier

resource
string

File name and extension

Response

200 - application/json

getPresignedPost 200 response

url
string

Url needed to upload file.

fields
object[]

Information required to copy into the body of the Post call