From 23457cba44758090136b89e13fb83dbc52d69cda Mon Sep 17 00:00:00 2001 From: Patricio Cano Date: Fri, 17 Jun 2016 11:49:27 -0500 Subject: Added missing mount point for Sidekiq Metrics API, after it got lost on rebase. --- lib/api/api.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/api/api.rb') diff --git a/lib/api/api.rb b/lib/api/api.rb index 6cd909f6115..51ddd0dbfc4 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -59,5 +59,6 @@ module API mount ::API::Licenses mount ::API::Subscriptions mount ::API::Gitignores + mount ::API::SidekiqMetrics end end -- cgit v1.2.1 From 3f88221c2dcb1c42cc2f5a765d2586f1755128c3 Mon Sep 17 00:00:00 2001 From: "Z.J. van de Weg" Date: Wed, 8 Jun 2016 09:33:41 +0200 Subject: Add endpoints for Award Emoji This only supports Issues and MergeRequests right now because of the consistency of the routes those models provide. --- lib/api/api.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/api/api.rb') diff --git a/lib/api/api.rb b/lib/api/api.rb index 51ddd0dbfc4..7944c80cf7a 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -36,6 +36,7 @@ module API mount ::API::Session mount ::API::MergeRequests mount ::API::Notes + mount ::API::AwardEmoji mount ::API::Internal mount ::API::SystemHooks mount ::API::ProjectSnippets -- cgit v1.2.1 From 34558315d9deb305b062b825a9a1821ee17352cc Mon Sep 17 00:00:00 2001 From: "Z.J. van de Weg" Date: Fri, 10 Jun 2016 08:57:56 +0200 Subject: Sort API endpoints and implement feedback --- lib/api/api.rb | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) (limited to 'lib/api/api.rb') diff --git a/lib/api/api.rb b/lib/api/api.rb index 7944c80cf7a..ef23c4d5de0 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -26,40 +26,41 @@ module API # Ensure the namespace is right, otherwise we might load Grape::API::Helpers helpers ::API::Helpers - mount ::API::Groups + # Sort these alphabetically + mount ::API::AwardEmoji + mount ::API::Branches + mount ::API::Builds + mount ::API::CommitStatuses + mount ::API::Commits + mount ::API::DeployKeys + mount ::API::Files + mount ::API::Gitignores mount ::API::GroupMembers - mount ::API::Users - mount ::API::Projects - mount ::API::Repositories + mount ::API::Groups + mount ::API::Internal mount ::API::Issues - mount ::API::Milestones - mount ::API::Session + mount ::API::Keys + mount ::API::Labels + mount ::API::Licenses mount ::API::MergeRequests + mount ::API::Milestones + mount ::API::Namespaces mount ::API::Notes - mount ::API::AwardEmoji - mount ::API::Internal - mount ::API::SystemHooks - mount ::API::ProjectSnippets - mount ::API::ProjectMembers - mount ::API::DeployKeys mount ::API::ProjectHooks + mount ::API::ProjectMembers + mount ::API::ProjectSnippets + mount ::API::Projects + mount ::API::Repositories + mount ::API::Runners mount ::API::Services - mount ::API::Files - mount ::API::Commits - mount ::API::CommitStatuses - mount ::API::Namespaces - mount ::API::Branches - mount ::API::Labels + mount ::API::Session mount ::API::Settings - mount ::API::Keys + mount ::API::SidekiqMetrics + mount ::API::Subscriptions + mount ::API::SystemHooks mount ::API::Tags mount ::API::Triggers - mount ::API::Builds + mount ::API::Users mount ::API::Variables - mount ::API::Runners - mount ::API::Licenses - mount ::API::Subscriptions - mount ::API::Gitignores - mount ::API::SidekiqMetrics end end -- cgit v1.2.1 From 05a4a586b5e80f7d30de51199d5bb5bcf7f61705 Mon Sep 17 00:00:00 2001 From: "Z.J. van de Weg" Date: Fri, 17 Jun 2016 15:44:38 +0200 Subject: Add endpoints for award emoji on notes Docs also added. --- lib/api/api.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/api/api.rb') diff --git a/lib/api/api.rb b/lib/api/api.rb index ef23c4d5de0..0e7a1cc2623 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -26,7 +26,6 @@ module API # Ensure the namespace is right, otherwise we might load Grape::API::Helpers helpers ::API::Helpers - # Sort these alphabetically mount ::API::AwardEmoji mount ::API::Branches mount ::API::Builds -- cgit v1.2.1