Scheduling

Retrieve Task Attachment

Work with a Task Attachment.Retrieve a Task Attachment with the given ID.

get/admin/scheduling/tasks-attachments/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/scheduling/tasks-attachments/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired Tasks Attachment.

Response

idnumber

File id

hash_idstring

Hash id

typestring

File type

filename_originalstring

Original file name

filename_uploadedstring

Uploaded file name

download_linkstring

Link for downloading from web

download_api_linkstring

Link for downloading via API

download_all_api_linkstring

Link for downloading via API

task_idnumber

ID of task

comment_idnumber

ID of comment. Will be set if this file had been added for a comment

has_thumbnailboolean

Whether this file has a thumbnail.

thumbnail_linkstring

Link for thumbnail

sizestring

Contains the uploaded file size in bytes as an value, without any formatting

Example response

{
  "id": 7,
  "hash_id": "hash_id",
  "type": "scheduling_task_comment_attachment",
  "filename_original": "image.png",
  "filename_uploaded": "uploaded/file/name",
  "download_link": "https://your.splynx.domain/files?id={hash_id}&type=files_upload",
  "download_api_link": "admin/config/download/scheduling_task_comment_attachment--{id}",
  "download_all_api_link": "admin/config/download/scheduling_task_comment_attachment--{task_id}--all",
  "task_id": 5,
  "comment_id": 1,
  "has_thumbnail": true,
  "thumbnail_link": "your.splynx.domen/files--thumbnail?id={hash_id}&type=files_upload",
  "size": "1048576"
}

Changes

No recorded changes to this operation across all 1 revision of this API.