Add an attachment to a job
Add an attachment to a job to provide additional or support information related to the job. The jobUpdateAttachments privilege is required to add an attachment to a job.
Body parameter
token: string
attachment: string
alias: string
folder: string
stepId: string
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X POST /{orgId}/{itemId}/jobs/{jobId}/attachments \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"alias": "string",
"url": "string"
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | Inline | |
| error |
Response details
Status Code 200
JobAttachmentResult
Name | Type | Required |
---|---|---|
|
| |
|
|