diff options
author | Thomas Duval <thomas.duval@orange.com> | 2018-03-01 20:09:39 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2018-03-01 20:19:51 +0100 |
commit | e07cfdce2ad7b6fb1e1857aea47ab7ffcb663eab (patch) | |
tree | 8adc89b39310d8344e6c3f49e29d3bcbae56d046 /moon_manager/moon_manager/api/meta_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/meta_data.py')
-rw-r--r-- | moon_manager/moon_manager/api/meta_data.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/moon_manager/moon_manager/api/meta_data.py b/moon_manager/moon_manager/api/meta_data.py index 28aab445..104f26be 100644 --- a/moon_manager/moon_manager/api/meta_data.py +++ b/moon_manager/moon_manager/api/meta_data.py @@ -38,7 +38,7 @@ class SubjectCategories(Resource): :return: { "subject_category_id": { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } } :internal_api: get_subject_categories @@ -60,12 +60,12 @@ class SubjectCategories(Resource): :param user_id: user ID who do the request :request body: { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } :return: { "subject_category_id": { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } } :internal_api: add_subject_category @@ -87,7 +87,7 @@ class SubjectCategories(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_category """ @@ -121,7 +121,7 @@ class ObjectCategories(Resource): :return: { "object_category_id": { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } } :internal_api: get_object_categories @@ -143,12 +143,12 @@ class ObjectCategories(Resource): :param user_id: user ID who do the request :request body: { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } :return: { "object_category_id": { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } } :internal_api: add_object_category @@ -170,7 +170,7 @@ class ObjectCategories(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_category """ @@ -204,7 +204,7 @@ class ActionCategories(Resource): :return: { "action_category_id": { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } } :internal_api: get_action_categories @@ -226,12 +226,12 @@ class ActionCategories(Resource): :param user_id: user ID who do the request :request body: { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } :return: { "action_category_id": { "name": "name of the category", - "description": "description of the category" + "description": "description of the category (optional)" } } :internal_api: add_action_category @@ -253,7 +253,7 @@ class ActionCategories(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_category """ |