mirror of
https://github.com/bitwarden/server
synced 2025-12-19 17:53:44 +00:00
Stub out public api for org groups
This commit is contained in:
17
src/Api/Public/Controllers/GroupsController.cs
Normal file
17
src/Api/Public/Controllers/GroupsController.cs
Normal file
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user