Get users' Activity Log
  • 03 Feb 2021
  • 2 Minutes To Read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Get users' Activity Log

  • Print
  • Share
  • Dark
    Light

User Activity Log

Method for getting logs of users' actions. Available logs of invites (to company, group or object), changing sharing settings, objects creation and deletion.

URL

https://api.corezoid.com/api/2/download/{API_LOGIN}/{GMT_UNIXTIME}/{SIGNATURE}

Request Body

{
    "ops": [
        {
            "type": "list",
            "obj": "history",
            "list_type": "delete",
            "list_obj": "user",
            "start": 1609485475,
            "end":  1611923371,
            "limit": 1,
            "company_id": null
        }
    ]
}
Parameter Type Required Description Possible value
ops JSON Object + The list of operations to proceed via Corezoid API. A parameter keeping JSON objects with operations * The number is user-limited by RPS limit.
type string + A request type list
obj string + An object of request history
list_type string - Filter for events type create, link, delete
list_obj string - Filter for events level instance, user, group, folder, conv, dashboard
start number + The start date of the log, timestamp 1596614666
end number + The end date of the log, timestamp 1596615266, up to six month form start date
limit number - by defauld 10, max 100
company_id string - An ID of an Company An ID of an existing Company or null for default company

Response Body

{
    "request_proc": "ok",
    "ops": [
        {
            "id": "",
            "proc": "ok",
            "obj": "history",
            "list": [
                {
                    "id": 12272147,
                    "create_time": 1595942598,
                    "user_id": 13б
                    "user_name": "Test",
                    "login": "corezoid@gmail.com",
                    "company_id": null,
                    "project_id": null,
                    "obj": "invite",
                    "type": "create",
                    "obj_type": null,
                    "obj_id": null,
                    "obj_name": null,
                    "obj_to": null,
                    "obj_to_id": null,
                    "obj_to_name": null,
                    "request": "{\"login\":\"corezoidtestinvite@gmail.com\",\"login_type\":\"google\",\"type\":\"create\",\"obj\":\"invite\"}",
                    "response": "{\"id\":\"\",\"obj\":\"invite\",\"url\":\"https://admin-pre.corezoid.com/api/2/plugins/invite/80739adf37a987d1999ad56v4a2933625fa2aбac\",\"proc\":\"ok\"}"
                }
            ]
        }
    ]
}
Parameter Type Description Possible value
request_proc string The overall processing status of all transactions from the request ok, error
ops JSON Object The list of operations proceeded via Corezoid API. A parameter keeping JSON objects with operations
id string A request id empty
proc string The processing status of a specific operation ok, error
obj string The list of report data
list array External identifier of the task
id number Identifier of the log entry
create_time number Creation time of the log entry ---
user_id number Identifier of the user that performed action ---
user_name string Name of the user that performed action ---
login string Login of the user that performed action ---
company_id string ID of an Company where action performed ---
project_id number ID of an Project where action performed ---
obj string Category of action ---
type string Type of action ---
obj_type string Object of action ---
obj_id number ID of object of action ---
obj_name string Name of object of action ---
obj_to string Subject of action ---
obj_to_id number ID of subject of action ---
obj_to_name string Name of subject of action ---
request string Original Corezoid API request ---
response string Original Corezoid API response ---
Was This Article Helpful?