summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/pmsh_service/mod/api/pmsh_swagger.yml
diff options
context:
space:
mode:
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/api/pmsh_swagger.yml')
-rw-r--r--components/pm-subscription-handler/pmsh_service/mod/api/pmsh_swagger.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/api/pmsh_swagger.yml b/components/pm-subscription-handler/pmsh_service/mod/api/pmsh_swagger.yml
index 1f24f171..258ca51e 100644
--- a/components/pm-subscription-handler/pmsh_service/mod/api/pmsh_swagger.yml
+++ b/components/pm-subscription-handler/pmsh_service/mod/api/pmsh_swagger.yml
@@ -160,6 +160,37 @@ paths:
description: Exception occurred while querying database
/subscription/{subscription_name}/measurementGroups/{measurement_group_name}:
+ post:
+ description: Create a measurement group for a given subscription
+ operationId: mod.api.controller.post_meas_group
+ tags:
+ - "Measurement Group"
+ parameters:
+ - name : subscription_name
+ in: path
+ required: true
+ description: Name of the subscription
+ type: string
+ - name: measurement_group_name
+ in: path
+ required: true
+ description: Name of the measurement group
+ type: string
+ - in: "body"
+ name: "body"
+ required: true
+ schema:
+ $ref: "#/definitions/measurementGroup"
+ responses:
+ 201:
+ description: Successfully created measurement group
+ 404:
+ description: Subscription with the specified name not found
+ 409:
+ description: Duplicate data
+ 500:
+ description: Internal server error
+
get:
description: Get the measurement group and associated network functions
from PMSH by using sub name and meas group name