JDBC Driver for Trello

Build 24.0.9062

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 Accepts Input Streams Description
CardId String True False The ID of the card you eant to add the attachment.
Name String False False The name of the attachment. Max length 256.
MimeType String False False The mimeType of the attachment. Max length 256.
SetCover Boolean False False Determines whether to use the new attachment as a cover for the Card. Default: false
AttachmentPath String False False The local attachment path.
FileName String False 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.
Content String False True Alternative to AttachmentPath. The InputStream to read the attachment bytes from.
Url String False 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.9062