diff options
author | 2018-03-01 20:09:39 +0100 | |
---|---|---|
committer | 2018-03-01 20:19:51 +0100 | |
commit | e07cfdce2ad7b6fb1e1857aea47ab7ffcb663eab (patch) | |
tree | 8adc89b39310d8344e6c3f49e29d3bcbae56d046 /moon_manager/moon_manager/api/data.py | |
parent | dbd38cc0f28257772580d42905d2d398fc1d1705 (diff) |
Add information about which API attribute is important or not.
In other terms, which attribute must be tested or not.
Change-Id: I81d4270a41353aa1ec958aff74ee741e9d172fbc
Diffstat (limited to 'moon_manager/moon_manager/api/data.py')
-rw-r--r-- | moon_manager/moon_manager/api/data.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/moon_manager/moon_manager/api/data.py b/moon_manager/moon_manager/api/data.py index b74ca385..88c9d59a 100644 --- a/moon_manager/moon_manager/api/data.py +++ b/moon_manager/moon_manager/api/data.py @@ -46,7 +46,7 @@ class SubjectData(Resource): "data": { "subject_data_id": { "name": "name of the data", - "description": "description of the data" + "description": "description of the data (optional)" } } }] @@ -73,7 +73,7 @@ class SubjectData(Resource): :param user_id: user ID who do the request :request body: { "name": "name of the data", - "description": "description of the data" + "description": "description of the data (optional)" } :return: { "policy_id": "policy_id1", @@ -81,7 +81,7 @@ class SubjectData(Resource): "data": { "subject_data_id": { "name": "name of the data", - "description": "description of the data" + "description": "description of the data (optional)" } } } @@ -108,7 +108,7 @@ class SubjectData(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_subject_data """ @@ -151,7 +151,7 @@ class ObjectData(Resource): "data": { "object_data_id": { "name": "name of the data", - "description": "description of the data" + "description": "description of the data (optional)" } } }] @@ -178,7 +178,7 @@ class ObjectData(Resource): :param user_id: user ID who do the request :request body: { "name": "name of the data", - "description": "description of the data" + "description": "description of the data (optional)" } :return: { "policy_id": "policy_id1", @@ -186,7 +186,7 @@ class ObjectData(Resource): "data": { "object_data_id": { "name": "name of the data", - "description": "description of the data" + "description": "description of the data (optional)" } } } @@ -213,7 +213,7 @@ class ObjectData(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_object_data """ @@ -256,7 +256,7 @@ class ActionData(Resource): "data": { "action_data_id": { "name": "name of the data", - "description": "description of the data" + "description": "description of the data (optional)" } } }] @@ -291,7 +291,7 @@ class ActionData(Resource): "data": { "action_data_id": { "name": "name of the data", - "description": "description of the data" + "description": "description of the data (optional)" } } } @@ -318,7 +318,7 @@ class ActionData(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_action_data """ |