From 176078f04bc881119f6b446ae19e9aeb473085aa Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 26 Feb 2019 22:06:39 -0500 Subject: [PATCH] Stub out public api for org groups --- src/Api/Public/Controllers/GroupsController.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/Api/Public/Controllers/GroupsController.cs diff --git a/src/Api/Public/Controllers/GroupsController.cs b/src/Api/Public/Controllers/GroupsController.cs new file mode 100644 index 0000000000..4b8db4fecc --- /dev/null +++ b/src/Api/Public/Controllers/GroupsController.cs @@ -0,0 +1,17 @@ +using System; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; + +namespace Bit.Api.Public.Controllers +{ + [Route("public/groups")] + [Authorize("Organization")] + public class GroupsController : Controller + { + [HttpGet("{id}")] + public JsonResult Get(string id) + { + return new JsonResult("Hello " + id); + } + } +}