/{orgId}/{itemId}/jobs/{jobId}/attachments
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 parameters
Supported content types: multipart/form-data
Name | Type | Required | Description |
---|---|---|---|
|
| ||
| The file to be uploaded and attached to the job. | ||
| Display name for the attachment. | ||
| Folder under which the attachment will be stored. | ||
| Optional. The Step ID value used to associate the attachment with a specific step. |
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}' \
--data '{"token":"string","attachment":"string","alias":"string","folder":"string","stepId":"string"}'
Response
Status | Meaning | Description | Schema |
---|---|---|---|
| success | Inline | |
| error |
Response details
Status Code 200
JobAttachmentResult
Name | Type | Required |
---|---|---|
|
| |
|
|