mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
Adds docs for config and me resources
This commit is contained in:
@@ -18,6 +18,9 @@ import javax.ws.rs.core.Context;
|
|||||||
import javax.ws.rs.core.Response;
|
import javax.ws.rs.core.Response;
|
||||||
import javax.ws.rs.core.UriInfo;
|
import javax.ws.rs.core.UriInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* RESTful Web Service Resource to manage the configuration.
|
||||||
|
*/
|
||||||
@Path(ConfigResource.CONFIG_PATH_V2)
|
@Path(ConfigResource.CONFIG_PATH_V2)
|
||||||
public class ConfigResource {
|
public class ConfigResource {
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ import javax.ws.rs.core.Response;
|
|||||||
import javax.ws.rs.core.UriInfo;
|
import javax.ws.rs.core.UriInfo;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* RESTful Web Service Resource to get currently logged in users.
|
||||||
|
*/
|
||||||
@Path(MeResource.ME_PATH_V2)
|
@Path(MeResource.ME_PATH_V2)
|
||||||
public class MeResource {
|
public class MeResource {
|
||||||
static final String ME_PATH_V2 = "v2/me/";
|
static final String ME_PATH_V2 = "v2/me/";
|
||||||
|
|||||||
Reference in New Issue
Block a user