Add linked attachments to a job
Add linked attachments to a job to provide additional or support information related to the job. Linked attachments can be links to a file on a local or shared file system or a URL. The jobUpdateAttachments privilege is required to add an attachment to a job.
Body parameter
{
"attachments": [
{
"url": "string",
"alias": "string",
"folder": "string"
}
],
"stepId": "string"
}
Query parameters
Name | Type | Required |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X POST /{orgId}/{itemId}/jobs/{jobId}/attachmentslinked \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"attachments": [
{
"alias": "string",
"attachmentId": "string"
}
]
}
Status | Meaning | Description | Schema |
---|---|---|---|
| List of added attachments | Inline | |
| error |
Response details
Status Code 200
JobAttachmentLinkedResults
Name | Type | Required |
---|---|---|
| ||
|
| |
|
|