From e07cfdce2ad7b6fb1e1857aea47ab7ffcb663eab Mon Sep 17 00:00:00 2001 From: Thomas Duval Date: Thu, 1 Mar 2018 20:09:39 +0100 Subject: Add information about which API attribute is important or not. In other terms, which attribute must be tested or not. Change-Id: I81d4270a41353aa1ec958aff74ee741e9d172fbc --- moon_manager/moon_manager/api/pdp.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'moon_manager/moon_manager/api/pdp.py') diff --git a/moon_manager/moon_manager/api/pdp.py b/moon_manager/moon_manager/api/pdp.py index 4f11135e..78931e1f 100644 --- a/moon_manager/moon_manager/api/pdp.py +++ b/moon_manager/moon_manager/api/pdp.py @@ -107,7 +107,7 @@ class PDP(Resource): "name": "...", "security_pipeline": [...], "keystone_project_id": "keystone_project_id1", - "description": "...", + "description": "... (optional)", } } :internal_api: get_pdp @@ -130,14 +130,14 @@ class PDP(Resource): "name": "...", "security_pipeline": [...], "keystone_project_id": "keystone_project_id1", - "description": "...", + "description": "... (optional)", } :return: { "pdp_id1": { "name": "...", "security_pipeline": [...], "keystone_project_id": "keystone_project_id1", - "description": "...", + "description": "... (optional)", } } :internal_api: add_pdp @@ -169,7 +169,7 @@ class PDP(Resource): :param user_id: user ID who do the request :return: { "result": "True or False", - "message": "optional message" + "message": "optional message (optional)" } :internal_api: delete_pdp """ @@ -193,7 +193,7 @@ class PDP(Resource): "name": "...", "security_pipeline": [...], "keystone_project_id": "keystone_project_id1", - "description": "...", + "description": "... (optional)", } } :internal_api: update_pdp -- cgit 1.2.3-korg