diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index 772e3107..27d43c5e 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -70,6 +70,12 @@ "permissionsRequired": ["fqm.query.async.results.get"], "modulePermissions": ["perms.users.get"] }, + { + "methods": ["GET"], + "pathPattern": "/fqm/version", + "permissionsRequired": ["fqm.version.get"], + "modulePermissions": ["perms.users.get"] + }, { "methods": ["POST"], "pathPattern": "/query/contents", @@ -170,6 +176,12 @@ "description": "Run a query synchronously and get results", "visible": true }, + { + "permissionName": "fqm.version.get", + "displayName": "FQM - Get version of fqm", + "description": "Get the version of fqm", + "visible": true + }, { "permissionName": "fqm.materializedViews.post", "displayName": "FQM - Refresh materialized views", @@ -191,7 +203,8 @@ "fqm.query.async.post", "fqm.query.async.results.get", "fqm.query.async.delete", - "fqm.query.sync.get" + "fqm.query.sync.get", + "fqm.version.get" ], "visible": true }