User Log

From INAP Dropzone API
Jump to: navigation, search

The user log command will return a list of the last 100 actions for the primary user unless the {$userid} variable is submitted.

Contents

Path

  • /user/log/{$userid}

Method

Required Data Parameters

  • None

Optional Data Parameters

  • {$userid}: The user ID that is returned when using the list command.

Returned Data

stdClass Object(
  [success] => TRUE/FALSE
  [data] => Array(
    [0] => stdClass Object(
      [userid] => The user ID that did the action.
      [username] => The user that did the action.
      [ip] => The IP address that the action was done from.
      [timestamp] => The time the action was done at (unix timestamp).
      [action] => The action that was done.
      [type] => The module that the action was done under.
      [serverid] => The server ID that was affected, if the type is server.
    )
  )
)
Personal tools