Help & Support
Follow

LeanKit API: Get an Attachment's Metadata

This method retrieves a single file attachment's metadata.

Request URL (GET):

https://{accountname}.leankit.com/kanban/api/card/GetAttachments/{boardId}/{cardId}/{attachmentId}

Sample request:

https://myaccount.leankit.com/kanban/api/card/GetAttachments/101000/101622/116800

Sample response:

{
  "ReplyData": [
    {
      "Id": 256819669,
      "FileName": "Important Document.pdf",
      "Description": "Description of really important document",
      "CreatedOn": "10/15/2015 at 11:57:06 AM",
      "LastModified": "10/15/2015 at 11:57:06 AM",
      "StorageId": "0e4a503f-40e3-4740-a2fe-b8b32d781361",
      "AttachmentSize": 213,
      "CardId": 256817369,
      "CreatedById": 62984826,
      "CreatedByFullName": "David Neal",
      "LastModifiedById": 0,
      "LastModifiedByFullName": "",
      "Stream": null,
      "GravatarLink": "3ab1249be442027903e1180025340b3f"
    }
  ],
  "ReplyCode": 200,
  "ReplyText": null
}

 

 

 

 

 

 

Doc ID: 1191983335

Have more questions? Submit a request