diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/api.rb | 1 | ||||
-rw-r--r-- | lib/api/something.rb | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb index ae161efb358..38cc81d3168 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -147,6 +147,7 @@ module API mount ::API::Runners mount ::API::Services mount ::API::Settings + mount ::API::Something mount ::API::SidekiqMetrics mount ::API::Snippets mount ::API::Subscriptions diff --git a/lib/api/something.rb b/lib/api/something.rb new file mode 100644 index 00000000000..6cf9126c861 --- /dev/null +++ b/lib/api/something.rb @@ -0,0 +1,13 @@ +module API + class Something < Grape::API + resource :something do + desc 'Delete something' + params do + + end + delete do + status 204 + end + end + end +end |