Query GDPR Activity Logging

/services/v2/users/gdpr/activity/logging.json

- URL Params
No additional URL path params

- Query Params:
Optional:
user=user id (type is integer)
username=username (type is string)
from=start date (type is long) unix timestamp
to=end date (type is long) unix timestamp

- Data Params
No data params

🚧

For Permissions, Requirements, and More Detailed Information:

Reference the GDPR Plugin Docs in the Non-Reference portion of the documentation.

Sample Requests

curl 
-u answerhub:test123
-H "Accept:application/json" 
-H "Content-Type:application/json"
-X GET "https://apidocs.cloud.answerhub.com/services/v2/users/gdpr/activity/logging.json"
curl 
-u answerhub:test123
-H "Accept:application/json" 
-H "Content-Type:application/json"
-X GET "https://apidocs.cloud.answerhub.com/services/v2/users/gdpr/activity/logging.json?fromTimestamp=<unix-timestamp>"
curl 
-u answerhub:test123
-H "Accept:application/json" 
-H "Content-Type:application/json"
-X GET "https://apidocs.cloud.answerhub.com/services/v2/users/gdpr/activity/logging.json?fromTimestamp=<unix-timestamp>&toTimestamp=<unix-timestamp>"
curl 
-u answerhub:test123
-H "Accept:application/json" 
-H "Content-Type:application/json"
-X GET "https://apidocs.cloud.answerhub.com/services/v2/users/gdpr/activity/logging.json?fromTimestamp=<unix-timestamp>&toTimestamp=<unix-timestamp>&userId=<user-id>"
curl 
-u answerhub:test123
-H "Accept:application/json" 
-H "Content-Type:application/json"
-X GET "https://apidocs.cloud.answerhub.com/services/v2/users/gdpr/activity/logging.json?fromTimestamp=<unix-timestamp>&toTimestamp=<unix-timestamp>&userId=<user-id>&username=<username>"

Expected Responses

- Success Response:
Code: 200
Content: [{"endpointConsumerUserId":<consumer_user_id>,"endpointConsumerUsername":
<consumer_username>,"targetUserId":<target_user_id>,"targetUsername":
<target_username>,"responseStatus":<http_response_message>,"responseStatusCode":
<http_status_code>,"endpoint":,"operation":<http_operation>,"creationDate":}]

- Error Response:
Code: 422 UNPROCESSABLE ENTRY
Content: { error : "Invalid User Id" }

Sample Response

[
    {
        "endpointConsumerUserId": 112,
        "targetUserId": 7,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/7/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-22 17:06:49.0"
    },
    {
        "endpointConsumerUserId": 112,
        "targetUserId": 47,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/47/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-22 17:11:16.0"
    },
    {
        "endpointConsumerUserId": 112,
        "targetUserId": 7,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/7/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-22 17:11:24.0"
    },
    {
        "endpointConsumerUserId": 112,
        "targetUserId": 7,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/7/profile.json",
        "operation": "GET",
        "creationDate": "2019-02-22 17:14:41.0"
    },
    {
        "endpointConsumerUserId": 112,
        "targetUserId": 7,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/7/content.json",
        "operation": "GET",
        "creationDate": "2019-02-22 17:15:01.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 100,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/100/content.json",
        "operation": "GET",
        "creationDate": "2019-02-22 19:07:23.0"
    },
    {
        "endpointConsumerUserId": 7,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/activity/logging.json",
        "operation": "GET",
        "queryString": "userId=100&fromTimestamp=1549515600&toTimestamp=1550811600",
        "creationDate": "2019-02-22 19:39:28.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 100,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/100/profile.json",
        "operation": "GET",
        "creationDate": "2019-02-22 19:07:35.0"
    },
    {
        "endpointConsumerUserId": 7,
        "targetUserId": 100,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/100/anonymizeusercontent.json",
        "operation": "POST",
        "queryString": "anonTo=97",
        "creationDate": "2019-02-22 19:12:59.0"
    },
    {
        "endpointConsumerUserId": 108,
        "targetUserId": 121,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/121/anonymizeusercontent.json",
        "operation": "POST",
        "creationDate": "2019-02-22 19:30:42.0"
    },
    {
        "endpointConsumerUserId": 108,
        "targetUserId": 115,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/115/anonymizeusercontent.json",
        "operation": "POST",
        "queryString": "anonTo=114",
        "creationDate": "2019-02-22 19:54:37.0"
    },
    {
        "endpointConsumerUserId": 108,
        "targetUserId": 122,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/122/anonymizeusercontent.json",
        "operation": "POST",
        "queryString": "anonTo=114",
        "creationDate": "2019-02-22 20:13:18.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 100,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/100/content.json",
        "operation": "GET",
        "creationDate": "2019-02-25 17:00:24.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 108,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/108/content.json",
        "operation": "GET",
        "creationDate": "2019-02-25 17:02:01.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 108,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/108/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-25 19:59:16.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 108,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/108/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-25 20:47:44.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 7,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/7/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-25 20:47:53.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 108,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/108/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-25 20:51:26.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 108,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/108/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-25 21:00:21.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 108,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/108/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-25 21:05:43.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 100,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/100/content.json",
        "operation": "GET",
        "creationDate": "2019-02-25 16:58:05.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 108,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/108/content.json",
        "operation": "GET",
        "creationDate": "2019-02-25 19:56:51.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 11,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/11/attachments.json",
        "operation": "GET",
        "creationDate": "2019-02-25 20:51:19.0"
    },
    {
        "endpointConsumerUserId": 11,
        "targetUserId": 108,
        "responseStatus": "OK",
        "responseStatusCode": 200,
        "endpoint": "/services/v2/users/gdpr/108/profile.json",
        "operation": "GET",
        "creationDate": "2019-02-25 21:49:50.0"
    }
]
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!