getLog
getLog
Gets the moderation log for a node with options for filtering by date range and xref_tags
Parameters
Name | Description |
start optional | Starting timestamp to get log range. |
end optional | Ending timestamp to get log range. |
optional | |
pg optional | |
num optional | |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcModeration?action=getLog&pg=1&num=100&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
{ "service":"svcModeration", "action":"getLog", "page":1, "per_page":100, "total":"2", "code":1, "message":"2 items returned.", "item":[ { "ml_id":"63513979", "node_id":"0", "moderator_id":"143240037", "moderator_ip":"", "action_taken":"REMOVED_FLAGS", "owner_id":"0", "xref_id":"0", "xref_type":"", "xref_tag":null, "text_before":"", "text_after":"", "date_updated":"2018-12-18 05:55:15", "action_reason":"", "notes":"" }, { "ml_id":"63740715", "node_id":"0", "moderator_id":"77627298", "moderator_ip":"", "action_taken":"REMOVED_FLAGS", "owner_id":"0", "xref_id":"0", "xref_type":"", "xref_tag":null, "text_before":"", "text_after":"", "date_updated":"2019-01-27 03:56:24", "action_reason":"", "notes":"" } ] } |
Service Information
Service | svcModeration |
Method | getLog |
Type | REST |
Response Types | JSON, XML |