Controller: Vault Management: GetActivity
GetActivity
Get activity for a Vault
Authentication Methods
- With a username and password
Input Parameter | Type | Description |
---|---|---|
Token* | String | Security token |
FileserverName* | NMSA |
Output Parameter | Type | Description |
---|---|---|
Success | Boolean | True if success, false if failed |
*=Required
FILTERING
Can be filtered on:
- firstname: string
- lastname: string
- email address: string
- from: unixdstamp
- filepath: string
CURL EXAMPLE
Get the first 50 results for the path '/Folder', from a specific date, filtered by email and sorted by date decending
curl -g 'https://example.com/ctrller/api.php?&FileserverName=nmsa514257120231&Offset=0&Limit=50&Sort=-time&Token=8m5p30bmosiuobqp79keig15o0&Task=GetActivity&FilterBy=email&FilterValue=user01@example.com&FilterBy=filepath&FilterValue=/Folder&FilterBy=from&FilterValue=1580983200'
Response
<Response>
<Status>1</Status>
<Message>Success</Message>
<TotalCount>4</TotalCount>
<FileserverName>nmsa514257120231</FileserverName>
<ActivityLog>
<Activity>
<FilePath>Folder/1.jpg</FilePath>
<NodeType>File</NodeType>
<EventType>Created</EventType>
<Time>1580983407</Time>
<LocationID>dfffe217-18be-4584-9468-2b12a23b6f4e</LocationID>
<LocationName>Google Chrome-Windows</LocationName>
<Account>
<Name>nmua396188538423</Name>
<Email>user01@example.com</Email>
<FirstName>firstname</FirstName>
<LastName>lastname</LastName>
</Account>
</Activity>
<Activity>
<FilePath>Folder/2.jpg</FilePath>
<NodeType>File</NodeType>
<EventType>Created</EventType>
<Time>1580983407</Time>
<LocationID>dfffe217-18be-4584-9468-2b12a23b6f4e</LocationID>
<LocationName>Google Chrome-Windows</LocationName>
<Account>
<Name>nmua396188538423</Name>
<Email>user01@example.com</Email>
<FirstName>firstname</FirstName>
<LastName>lastname</LastName>
</Account>
</Activity>
<Activity>
<FilePath>Folder/3.jpg</FilePath>
<NodeType>File</NodeType>
<EventType>Created</EventType>
<Time>1580983407</Time>
<LocationID>dfffe217-18be-4584-9468-2b12a23b6f4e</LocationID>
<LocationName>Google Chrome-Windows</LocationName>
<Account>
<Name>nmua396188538423</Name>
<Email>user01@example.com</Email>
<FirstName>firstname</FirstName>
<LastName>lastname</LastName>
</Account>
</Activity>
<Activity>
<FilePath>Folder/4.jpg</FilePath>
<NodeType>File</NodeType>
<EventType>Created</EventType>
<Time>1580983408</Time>
<LocationID>dfffe217-18be-4584-9468-2b12a23b6f4e</LocationID>
<LocationName>Google Chrome-Windows</LocationName>
<Account>
<Name>nmua396188538423</Name>
<Email>user01@example.com</Email>
<FirstName>firstname</FirstName>
<LastName>lastname</LastName>
</Account>
</Activity>
</ActivityLog>
</Response>