Commit b87439fa by Your Name

add missing file

parent 1f5684a7
post "#{APIPREFIX}/notifications" do
#get all notifications for a set of users and a range of dates
#for example
#http://localhost:4567/api/v1/notifications?api_key=PUT_YOUR_API_KEY_HERE
#with POST params
#user_ids=1217716,196353
#from=2013-03-18+13%3A52%3A47+-0400
#to=2013-03-19+13%3A53%3A11+-0400
#note this takes date format 8601 year-month-day-(hours:minutes:seconds difference from UTC
notifications_by_date_range_and_user_ids(CGI.unescape(params[:from]).to_time, CGI.unescape(params[:to]).to_time,params[:user_ids].split(','))
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment