diff --git a/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs b/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs index bd9b70cc3..92b2fce2c 100644 --- a/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs +++ b/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs @@ -93,7 +93,8 @@ namespace Squidex.Areas.Api.Controllers.Apps /// Client object that needs to be updated. /// /// 204 => Client updated. - /// 404 => App not found or client not found. + /// 400 => Client request not valid. + /// 404 => Client or app not found. /// /// /// Only the display name can be changed, create a new client if necessary. @@ -115,7 +116,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The id of the client that must be deleted. /// /// 204 => Client revoked. - /// 404 => App not found or client not found. + /// 404 => Client or app not found. /// /// /// The application that uses this client credentials cannot access the API after it has been revoked. diff --git a/src/Squidex/Areas/Api/Controllers/Apps/AppContributorsController.cs b/src/Squidex/Areas/Api/Controllers/Apps/AppContributorsController.cs index aa8cd6ac7..4f44f8288 100644 --- a/src/Squidex/Areas/Api/Controllers/Apps/AppContributorsController.cs +++ b/src/Squidex/Areas/Api/Controllers/Apps/AppContributorsController.cs @@ -88,7 +88,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// /// 204 => User removed from app. /// 400 => User is not assigned to the app. - /// 404 => App not found. + /// 404 => Contributor or app not found. /// [HttpDelete] [Route("apps/{app}/contributors/{id}/")] diff --git a/src/Squidex/Areas/Api/Controllers/Apps/AppLanguagesController.cs b/src/Squidex/Areas/Api/Controllers/Apps/AppLanguagesController.cs index cd89c8035..070dea103 100644 --- a/src/Squidex/Areas/Api/Controllers/Apps/AppLanguagesController.cs +++ b/src/Squidex/Areas/Api/Controllers/Apps/AppLanguagesController.cs @@ -71,7 +71,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The language to add to the app. /// /// 201 => Language created. - /// 400 => Language is an invalid language. + /// 400 => Language request not valid. /// 404 => App not found. /// [MustBeAppEditor] @@ -97,7 +97,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The language object. /// /// 204 => Language updated. - /// 400 => Language object is invalid. + /// 400 => Language request not valid. /// 404 => Language or app not found. /// [MustBeAppEditor] diff --git a/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs b/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs index 6d80d8a35..c33cbcf5a 100644 --- a/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs +++ b/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs @@ -64,6 +64,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// Pattern to be added to the app. /// /// 201 => Pattern generated. + /// 400 => Pattern request not valid. /// 404 => App not found. /// [HttpPost] @@ -89,7 +90,8 @@ namespace Squidex.Areas.Api.Controllers.Apps /// Pattern to be updated for the app. /// /// 204 => Pattern updated. - /// 404 => App not found or pattern not found. + /// 400 => Pattern request not valid. + /// 404 => Pattern or app not found. /// [HttpPut] [Route("apps/{app}/patterns/{id}/")] @@ -111,7 +113,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The id of the pattern to be deleted. /// /// 204 => Pattern removed. - /// 404 => App or pattern not found. + /// 404 => Pattern or app not found. /// /// /// Schemas using this pattern will still function using the same Regular Expression diff --git a/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs b/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs index 2215e838f..66b178361 100644 --- a/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs +++ b/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs @@ -83,7 +83,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The app object that needs to be added to squidex. /// /// 201 => App created. - /// 400 => App object is not valid. + /// 400 => App request not valid. /// 409 => App name is already in use. /// /// diff --git a/src/Squidex/Areas/Api/Controllers/Statistics/UsagesController.cs b/src/Squidex/Areas/Api/Controllers/Statistics/UsagesController.cs index 380ed2365..a1ce33008 100644 --- a/src/Squidex/Areas/Api/Controllers/Statistics/UsagesController.cs +++ b/src/Squidex/Areas/Api/Controllers/Statistics/UsagesController.cs @@ -130,8 +130,8 @@ namespace Squidex.Areas.Api.Controllers.Statistics /// The to date. /// /// 200 => Storage usage returned. - /// 404 => App not found. /// 400 => Range between from date and to date is not valid or has more than 100 days. + /// 404 => App not found. /// [HttpGet] [Route("apps/{app}/usages/storage/{fromDate}/{toDate}/")]