Skip to content
Snippets Groups Projects
Commit db025752 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Small corrections (coscine/issues#1069)

parent 2a416ca0
No related branches found
No related tags found
1 merge request!8Topic/1069 activated feature doku
......@@ -46,7 +46,7 @@ namespace Coscine.Api.ActivatedFeatures.Controllers
/// <summary>
/// Returns features of the project.
/// </summary>
/// <param name="projectId">Project from which the features are taken</param>
/// <param name="projectId">Project for which the features are returned</param>
/// <returns>Features or StatusCode 401</returns>
[HttpGet("[controller]/{projectId}")]
public ActionResult<List<FeatureObject>> GetFeatures(string projectId)
......@@ -68,7 +68,7 @@ namespace Coscine.Api.ActivatedFeatures.Controllers
/// <summary>
/// Returns activated features of the project.
/// </summary>
/// <param name="projectId">Project from which the activated feature is taken</param>
/// <param name="projectId">Project for which the activated features are returned</param>
/// <returns>ActiveFeatures or StatusCode 401</returns>
[HttpGet("[controller]/{projectId}/activeFeatures")]
public ActionResult<List<FeatureObject>> GetActiveFeatures(string projectId)
......@@ -89,7 +89,7 @@ namespace Coscine.Api.ActivatedFeatures.Controllers
/// <summary>
/// Returns the inactive features of the project.
/// </summary>
/// <param name="projectId">Project from which the inactivate features are taken</param>
/// <param name="projectId">Project for which the inactivate features are returned</param>
/// <returns>InactiveFeatures or StatusCode 401</returns>
[HttpGet("[controller]/{projectId}/inactiveFeatures")]
public ActionResult<List<FeatureObject>> GetInactiveFeatures(string projectId)
......@@ -110,7 +110,7 @@ namespace Coscine.Api.ActivatedFeatures.Controllers
/// <summary>
/// Activates the feature of the project.
/// </summary>
/// <param name="projectId">Project from which the feature is activated</param>
/// <param name="projectId">Project for which the feature is activated</param>
/// <param name="featureId">Feature</param>
/// <returns>StatusCode 204 or 401</returns>
[HttpGet("[controller]/{projectId}/activateFeature/{featureId}")]
......@@ -134,7 +134,7 @@ namespace Coscine.Api.ActivatedFeatures.Controllers
/// <summary>
/// Deactives the feature of the project.
/// </summary>
/// <param name="projectId">Project from which the feature is deactivated</param>
/// <param name="projectId">Project for which the feature is deactivated</param>
/// <param name="featureId">Feature</param>
/// <returns>StatusCode 204 or 401</returns>
[HttpGet("[controller]/{projectId}/deactivateFeature/{featureId}")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment