Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.25 KB

Readme.md

File metadata and controls

14 lines (11 loc) · 1.25 KB

Build Status Code Climate

Version npm Dependencies npm Downloads

mongoRateLimited: function(access_token, tag, defaultScope)

mongo: function(access_token, requiredScope)

connectMongo: function(nconf)

rateLimited: function()

auditCount: function(access_token, tag, since)

Use this function to get the count of a particular tag in the audit trail. If you pass the optional since parameter it will limit the count to number of audit trail entries since that time. Whatever is passed with the since parameter will be passed to moment(since) to build a date object directly so you can use any of the valid parse objects for moment