add deprecation notice

This commit is contained in:
Josh Kalderimis 2013-11-06 01:22:54 +01:00
parent 92dc3f55ec
commit 4deddc5843

View File

@ -3,6 +3,7 @@ require 'travis/api/app'
class Travis::Api::App
class Endpoint
class Requests < Endpoint
# DEPRECATED: this will be removed by 1st of December
post '/' do
Metriks.meter("api.request.restart").mark
respond_with service(:reset_model, params)