mirror of
https://github.com/bitwarden/server.git
synced 2025-04-09 23:28:12 -05:00
Stub out public api for org groups
This commit is contained in:
parent
5923b4c9bd
commit
176078f04b
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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user