aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager/moon_manager/api/meta_data.py
diff options
context:
space:
mode:
authorAsteroide <thomas.duval@orange.com>2018-03-08 16:18:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-08 16:18:12 +0000
commit4fca7b2db378fa5a97a2bd03ccdc934f9e57e150 (patch)
tree452138bb4081bb6cb8d543fe2d4078083856196b /moon_manager/moon_manager/api/meta_data.py
parent0f97a918f583edfe1c2e92ce4abadd7aef3b1c4f (diff)
parente07cfdce2ad7b6fb1e1857aea47ab7ffcb663eab (diff)
Merge "Add information about which API attribute is important or not. In other terms, which attribute must be tested or not."
Diffstat (limited to 'moon_manager/moon_manager/api/meta_data.py')
-rw-r--r--moon_manager/moon_manager/api/meta_data.py24
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
"""