From 5b77f08c21401060a66b884c5733025d941b75df Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 16 Jan 2018 14:20:14 -0500 Subject: [PATCH] highlight notes about permissions on API endpoints Change-Id: I04d7ff33386af31f3ad84727366add2f462d2084 Signed-off-by: Doug Hellmann --- storyboard/api/v1/projects.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/storyboard/api/v1/projects.py b/storyboard/api/v1/projects.py index 85b4f04b..9d698831 100644 --- a/storyboard/api/v1/projects.py +++ b/storyboard/api/v1/projects.py @@ -145,7 +145,8 @@ class ProjectsController(rest.RestController): @wsme_pecan.wsexpose(wmodels.Project, body=wmodels.Project) def post(self, project): """Create a new project. - This command is only available to Admin users. + + .. note:: This command is only available to Admin users. Example:: @@ -166,7 +167,8 @@ class ProjectsController(rest.RestController): @wsme_pecan.wsexpose(wmodels.Project, int, body=wmodels.Project) def put(self, project_id, project): """Modify this project. - This command is only available to Admin users. + + .. note:: This command is only available to Admin users. Example::