Scheduling

List activity for all tasks

Returns a list of activities for all tasks. By default limit 10 items for every task.

get/admin/scheduling/tasks-activity

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/scheduling/tasks-activity
  • Auth: HTTP basic

Response

task_idnumber

ID of task

activity_items_countnumber

The number of all activity items of the task

Example response

[
  {
    "task_id": 1,
    "activity_items_count": 20,
    "activity_items": [
      {
        "model": "models\\admin\\scheduling\\task\\SchedulingTaskComment",
        "action": "create",
        "source": "api",
        "autor_name": "Splynx test API key",
        "autor_id": 2,
        "date": "2019-06-19",
        "time": "16:52:16",
        "attributes_for_content": {
          "files": [
            {
              "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"
            }
          ],
          "comment": "'Test comment creating for activity'"
        }
      }
    ]
  }
]

Changes

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