Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

Latest commit

 

History

History
95 lines (83 loc) · 1.98 KB

readme.md

File metadata and controls

95 lines (83 loc) · 1.98 KB

My Activities

Get my activities

Sample

import { MyActivities } from 'top-tracker'

const parameters = {}
const input = {}

new MyActivities(parameters)
    .call(input)
    .then((output) => {})
    .catch(({ message, payload }) => {})
  • Parameters
/* whitout parameters */
  • Input
{
    "access_token": "isString",
    "project_ids": [
        "isNumber"
    ],
    "start_date": "isISODate",
    "end_date": "isISODate"
}
  • Output
[
    {
        "id": "isNumber",
        "description": "isString",
        "offline": "isBoolean",
        "offline_type": "isString",
        "user_id": "isNumber",
        "project_id": "isNumber",
        "start_time": "isISODate",
        "end_time": "isISODate",
        "abilities": [
            "isString"
        ],
        "user_agent": {
            "client": "isString",
            "version": "isString",
            "os_type": "isString",
            "os_version": "isString"
        },
        "changed_manually": "isBoolean",
        "invoice_custom_id": "isNumber",
        "mouse_clicks": "isNumber",
        "keyboard_hits": "isNumber",
        "shot_ids": [
            "isNumber"
        ],
        "screenshot_count": "isNumber",
        "duration": "isNumber",
        "project_name": "isString",
        "last_shot": {
            "id": "isNumber",
            "thumb_url": "isString",
            "taken_at": "isISODate",
            "archived_at": "isISODate"
        },
        "shots": [
            {
                "id": "isNumber",
                "type": "isString",
                "url": "isString",
                "thumb_url": "isString",
                "taken_at": "isISODate",
                "is_time_randomized": "isBoolean",
                "blurred": "isBoolean",
                "archived_at": "isISODate",
                "abilities": [
                    "isString"
                ],
                "associated_shot": "isString"
            }
        ]
    }
]