Cmdlets for Trello

Build 24.0.9060

UploadAttachment

Uploads an attachment to a specific card. Note: Must provide either AttachmentPath, Content/FileName or Url. Every aforementioned input takes precedence over the next one.

Input

Name Type Required Description
CardId String True The ID of the card you eant to add the attachment.
Name String False The name of the attachment. Max length 256.
MimeType String False The mimeType of the attachment. Max length 256.
SetCover Boolean False Determines whether to use the new attachment as a cover for the Card. Default: false
AttachmentPath String False The local attachment path.
FileName String False The file name including extension to be used for the AttachmentPath or Content input. FileName is optional for AttachmentPath input, and required for Content input.
Url String False A URL to attach. Must start with http:// or https://.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.
Bytes String The size of the attachment in bytes.
Date String When the action occurred.
AttachmentId String The generated ID for the new attachment file.
IdMember String The ID of the member who added the attachment.
Position String The position of the attachment in the attachments list.
Url String The full URL link to the attachment starting with http:// or https://.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060