Skip to content

userActivities

No description available.

Arguments

Argument Type Description
filter ListObjectFilesFiltersInput
sort FileResultSortInput Sorts to apply when listing file results.
timeRange UserTimeRangeInput Time range specified in the user's local timezone.
userId (required) String!
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.

Returns

FileResultConnection!

Sample

query UserActivities($userId: String!) {
  userActivities(
    userId: $userId
    first: 10
  ) {
    nodes {
      accessibleBySidsRepresentation
      accessibleBySidsRepresentationShortForm
      createdBy
      creationTime
      dbEntityType
      directory
      errorCode
      filename
      isDirectAcl
      lastAccessTime
      lastModifiedTime
      lastScanTime
      mode
      modifiedBy
      nativePath
      numActivities
      numActivitiesDelta
      numChildren
      numDescendantErrorFiles
      numDescendantFiles
      numDescendantFolders
      numDescendantSkippedExtFiles
      numDescendantSkippedSizeFiles
      openAccessType
      owner
      paginationId
      riskLevel
      riskReasons
      size
      snapshotFid
      snapshotTimestamp
      stalenessType
      stdPath
      totalSensitiveHits
      type
      userAccessType
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "userId": "example-string"
}
{
  "data": {
    "userActivities": {
      "nodes": [
        [
          {
            "accessibleBySidsRepresentation": "example-string",
            "accessibleBySidsRepresentationShortForm": "example-string",
            "createdBy": "example-string",
            "creationTime": 0,
            "dbEntityType": "DATABASE",
            "directory": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}