diff --git a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs index 17070ecf8..24ec24e27 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs @@ -33,7 +33,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// /// The name of the app. /// - /// 200 => Client keys returned. + /// 200 => Clients returned. /// 404 => App not found. /// /// @@ -62,7 +62,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the app. /// Client object that needs to be added to the app. /// - /// 201 => Client generated. + /// 201 => Client created. /// 400 => Client request not valid. /// 404 => App not found. /// @@ -118,7 +118,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the app. /// The id of the client that must be deleted. /// - /// 200 => Client revoked. + /// 200 => Client deleted. /// 404 => Client or app not found. /// /// diff --git a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppContributorsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppContributorsController.cs index 1672a30a9..4e5ad1c62 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppContributorsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppContributorsController.cs @@ -45,7 +45,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// /// The name of the app. /// - /// 200 => App contributors returned. + /// 200 => Contributors returned. /// 404 => App not found. /// [HttpGet] @@ -71,8 +71,8 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the app. /// Contributor object that needs to be added to the app. /// - /// 201 => User assigned to app. - /// 400 => User is not found. + /// 201 => Contributor assigned to app. + /// 400 => Contributor request not valid. /// 404 => App not found. /// [HttpPost] @@ -94,7 +94,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// /// The name of the app. /// - /// 200 => User removed from app. + /// 200 => Contributor removed. /// 404 => Contributor or app not found. /// [HttpDelete] @@ -117,7 +117,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the app. /// The id of the contributor. /// - /// 200 => User removed from app. + /// 200 => Contributor removed. /// 404 => Contributor or app not found. /// [HttpDelete] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppLanguagesController.cs b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppLanguagesController.cs index 982473b98..8f07b66bf 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppLanguagesController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppLanguagesController.cs @@ -35,7 +35,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// /// The name of the app. /// - /// 200 => Language configuration returned. + /// 200 => Languages returned. /// 404 => App not found. /// [HttpGet] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs index 63e445b9a..3f0f76f95 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs @@ -63,7 +63,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the app. /// Pattern to be added to the app. /// - /// 201 => Pattern generated. + /// 201 => Pattern created. /// 400 => Pattern request not valid. /// 404 => App not found. /// @@ -112,7 +112,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the app. /// The id of the pattern to be deleted. /// - /// 200 => Pattern removed. + /// 200 => Pattern deleted. /// 404 => Pattern or app not found. /// /// diff --git a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppRolesController.cs b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppRolesController.cs index 53292cf69..b8d018d09 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppRolesController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppRolesController.cs @@ -37,7 +37,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// /// The name of the app. /// - /// 200 => App roles returned. + /// 200 => Roles returned. /// 404 => App not found. /// [HttpGet] @@ -88,8 +88,8 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the app. /// Role object that needs to be added to the app. /// - /// 201 => User assigned to app. - /// 400 => Role name already in use. + /// 201 => Role created. + /// 400 => Role request not valid. /// 404 => App not found. /// [HttpPost] @@ -138,7 +138,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the role. /// /// 200 => Role deleted. - /// 400 => Role is in use by contributor or client or default role. + /// 400 => Role is in use by contributor or client or a default role. /// 404 => Role or app not found. /// [HttpDelete] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppWorkflowsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppWorkflowsController.cs index 8848a8029..8645038e2 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppWorkflowsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppWorkflowsController.cs @@ -38,7 +38,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// /// The name of the app. /// - /// 200 => App workflows returned. + /// 200 => Workflows returned. /// 404 => App not found. /// [HttpGet] @@ -64,8 +64,8 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The name of the app. /// The new workflow. /// - /// 200 => Workflow updated. - /// 400 => Workflow request is not valid. + /// 200 => Workflow created. + /// 400 => Workflow request not valid. /// 404 => Workflow or app not found. /// [HttpPost] @@ -90,7 +90,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The id of the workflow to update. /// /// 200 => Workflow updated. - /// 400 => Workflow request is not valid. + /// 400 => Workflow request not valid. /// 404 => Workflow or app not found. /// [HttpPut] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs index f54fcd01e..dbf193ddc 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs @@ -151,6 +151,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The values to update. /// /// 200 => App updated. + /// 400 => App request not valid. /// 404 => App not found. /// [HttpPut] @@ -172,6 +173,7 @@ namespace Squidex.Areas.Api.Controllers.Apps /// The file to upload. /// /// 200 => App image uploaded. + /// 400 => App request not valid. /// 404 => App not found. /// [HttpPost] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Assets/AssetFoldersController.cs b/backend/src/Squidex/Areas/Api/Controllers/Assets/AssetFoldersController.cs index af67c6c7e..c59190e78 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Assets/AssetFoldersController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Assets/AssetFoldersController.cs @@ -75,6 +75,7 @@ namespace Squidex.Areas.Api.Controllers.Assets /// The asset folder object that needs to be added to the App. /// /// 201 => Asset folder created. + /// 400 => Asset folder request not valid. /// 404 => App not found. /// [HttpPost] @@ -100,8 +101,8 @@ namespace Squidex.Areas.Api.Controllers.Assets /// The asset folder object that needs to updated. /// /// 200 => Asset folder updated. - /// 400 => Asset folder name not valid. - /// 404 => Asset or app not found. + /// 400 => Asset folder request not valid. + /// 404 => Asset folder or app not found. /// [HttpPut] [Route("apps/{app}/assets/folders/{id}/", Order = -1)] @@ -126,7 +127,8 @@ namespace Squidex.Areas.Api.Controllers.Assets /// The asset folder object that needs to updated. /// /// 200 => Asset folder moved. - /// 404 => Asset or app not found. + /// 400 => Asset folder request not valid. + /// 404 => Asset folder or app not found. /// [HttpPut] [Route("apps/{app}/assets/folders/{id}/parent", Order = -1)] @@ -150,7 +152,7 @@ namespace Squidex.Areas.Api.Controllers.Assets /// The id of the asset folder to delete. /// /// 204 => Asset folder deleted. - /// 404 => Asset or app not found. + /// 404 => Asset folder or app not found. /// [HttpDelete] [Route("apps/{app}/assets/folders/{id}/", Order = -1)] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Assets/AssetsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Assets/AssetsController.cs index b2cd8b3c3..1450b69bd 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Assets/AssetsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Assets/AssetsController.cs @@ -177,9 +177,9 @@ namespace Squidex.Areas.Api.Controllers.Assets /// True to duplicate the asset, event if the file has been uploaded. /// /// 201 => Asset created. - /// 404 => App not found. - /// 413 => Asset exceeds the maximum upload size. /// 400 => Asset request not valid. + /// 413 => Asset exceeds the maximum upload size. + /// 404 => App not found. /// /// /// You can only upload one file at a time. The mime type of the file is not calculated by Squidex and is required correctly. @@ -214,9 +214,9 @@ namespace Squidex.Areas.Api.Controllers.Assets /// The file to upload. /// /// 200 => Asset updated. - /// 404 => Asset or app not found. - /// 413 => Asset exceeds the maximum upload size. /// 400 => Asset request not valid. + /// 413 => Asset exceeds the maximum upload size. + /// 404 => Asset or app not found. /// /// /// Use multipart request to upload an asset. @@ -245,7 +245,7 @@ namespace Squidex.Areas.Api.Controllers.Assets /// The asset object that needs to updated. /// /// 200 => Asset updated. - /// 400 => Asset name not valid. + /// 400 => Asset request not valid. /// 404 => Asset or app not found. /// [HttpPut] @@ -271,6 +271,7 @@ namespace Squidex.Areas.Api.Controllers.Assets /// The asset object that needs to updated. /// /// 200 => Asset moved. + /// 400 => Asset request not valid. /// 404 => Asset or app not found. /// [HttpPut] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Backups/BackupsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Backups/BackupsController.cs index 7a9e89baf..10941e581 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Backups/BackupsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Backups/BackupsController.cs @@ -61,6 +61,7 @@ namespace Squidex.Areas.Api.Controllers.Backups /// The name of the app. /// /// 204 => Backup started. + /// 400 => Backup contingent reached. /// 404 => App not found. /// [HttpPost] @@ -81,7 +82,7 @@ namespace Squidex.Areas.Api.Controllers.Backups /// The name of the app. /// The id of the backup to delete. /// - /// 204 => Backup started. + /// 204 => Backup deleted. /// 404 => Backup or app not found. /// [HttpDelete] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs index 3ad296038..0c1945ab2 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Comments/CommentsController.cs @@ -42,7 +42,7 @@ namespace Squidex.Areas.Api.Controllers.Comments /// When passing in a version you can retrieve all updates since then. /// /// - /// 200 => All comments returned. + /// 200 => Comments returned. /// 404 => App not found. /// [HttpGet] @@ -72,7 +72,7 @@ namespace Squidex.Areas.Api.Controllers.Comments /// The comment object that needs to created. /// /// 201 => Comment created. - /// 400 => Comment is not valid. + /// 400 => Comment request not valid. /// 404 => App not found. /// [HttpPost] @@ -100,7 +100,7 @@ namespace Squidex.Areas.Api.Controllers.Comments /// The comment object that needs to updated. /// /// 204 => Comment updated. - /// 400 => Comment text not valid. + /// 400 => Comment request not valid. /// 404 => Comment or app not found. /// [HttpPut] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs index 1c8e7c8f3..f3362ca3f 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs @@ -45,8 +45,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The name of the app. /// The graphql query. /// - /// 200 => Contents retrieved or mutated. - /// 404 => Schema or app not found. + /// 200 => Contents returned or mutated. + /// 404 => App not found. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -77,8 +77,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The name of the app. /// The graphql query. /// - /// 200 => Contents retrieved or mutated. - /// 404 => Schema or app not found. + /// 200 => Contents returned or mutated. + /// 404 => App not found. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -109,8 +109,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The name of the app. /// The graphql queries. /// - /// 200 => Contents retrieved or mutated. - /// 404 => Schema or app not found. + /// 200 => Contents returned or mutated. + /// 404 => App not found. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -141,7 +141,7 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The name of the app. /// The optional ids of the content to fetch. /// - /// 200 => Contents retrieved. + /// 200 => Contents returned. /// 404 => App not found. /// /// @@ -170,7 +170,7 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The name of the app. /// The required query object. /// - /// 200 => Contents retrieved. + /// 200 => Contents returned. /// 404 => App not found. /// /// @@ -201,7 +201,7 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The optional ids of the content to fetch. /// The optional json query. /// - /// 200 => Contents retrieved. + /// 200 => Contents retunred. /// 404 => Schema or app not found. /// /// @@ -233,7 +233,7 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The name of the schema. /// The required query object. /// - /// 200 => Contents retrieved. + /// 200 => Contents returned. /// 404 => Schema or app not found. /// /// @@ -265,7 +265,7 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The name of the schema. /// The id of the content to fetch. /// - /// 200 => Content found. + /// 200 => Content returned. /// 404 => Content, schema or app not found. /// /// @@ -293,9 +293,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The id of the content to fetch. /// The version fo the content to fetch. /// - /// 200 => Content found. + /// 200 => Content version returned. /// 404 => Content, schema or app not found. - /// 400 => Content data is not valid. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -323,8 +322,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The optional custom content id. /// /// 201 => Content created. + /// 400 => Content request not valid. /// 404 => Content, schema or app not found. - /// 400 => Content data is not valid. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -356,8 +355,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The import request. /// /// 201 => Contents created. + /// 400 => Content request not valid. /// 404 => Content references, schema or app not found. - /// 400 => Content data is not valid. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -387,8 +386,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The bulk update request. /// /// 201 => Contents created. + /// 400 => Content request not valid. /// 404 => Content references, schema or app not found. - /// 400 => Content data is not valid. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -420,8 +419,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The full data for the content item. /// /// 200 => Content updated. + /// 400 => Content request not valid. /// 404 => Content references, schema or app not found. - /// 400 => Content data is not valid. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -449,8 +448,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The full data for the content item. /// /// 200 => Content updated. + /// 400 => Content request not valid. /// 404 => Content references, schema or app not found. - /// 400 => Content data is not valid. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -478,8 +477,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The patch for the content item. /// /// 200 => Content patched. + /// 400 => Content request not valid. /// 404 => Content, schema or app not found. - /// 400 => Content patch is not valid. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -507,8 +506,8 @@ namespace Squidex.Areas.Api.Controllers.Contents /// The status request. /// /// 200 => Content status changed. + /// 400 => Content request not valid. /// 404 => Content, schema or app not found. - /// 400 => Content request is not valid. /// /// /// You can read the generated documentation for your app at /api/content/{appName}/docs. @@ -590,6 +589,7 @@ namespace Squidex.Areas.Api.Controllers.Contents /// True to check referrers of this content. /// /// 204 => Content deleted. + /// 400 => Content cannot be deleted. /// 404 => Content, schema or app not found. /// /// diff --git a/backend/src/Squidex/Areas/Api/Controllers/Rules/RulesController.cs b/backend/src/Squidex/Areas/Api/Controllers/Rules/RulesController.cs index 82205e1d4..e7d70ac3a 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Rules/RulesController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Rules/RulesController.cs @@ -107,7 +107,7 @@ namespace Squidex.Areas.Api.Controllers.Rules /// The rule object that needs to be added to the app. /// /// 201 => Rule created. - /// 400 => Rule is not valid. + /// 400 => Rule request not valid. /// 404 => App not found. /// [HttpPost] @@ -151,7 +151,7 @@ namespace Squidex.Areas.Api.Controllers.Rules /// The rule object that needs to be added to the app. /// /// 200 => Rule updated. - /// 400 => Rule is not valid. + /// 400 => Rule request not valid. /// 404 => Rule or app not found. /// [HttpPut] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemaFieldsController.cs b/backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemaFieldsController.cs index b9ad5c1b5..59326b949 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemaFieldsController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemaFieldsController.cs @@ -35,7 +35,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The field object that needs to be added to the schema. /// /// 201 => Schema field created. - /// 400 => Schema field properties not valid. + /// 400 => Schema field request not valid. /// 404 => Schema or app not found. /// 409 => Schema field name already in use. /// @@ -62,7 +62,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The field object that needs to be added to the schema. /// /// 201 => Schema field created. - /// 400 => Schema field properties not valid. + /// 400 => Schema field request not valid. /// 409 => Schema field name already in use. /// 404 => Schema, field or app not found. /// @@ -88,7 +88,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The request that contains the field names. /// /// 200 => Schema UI fields defined. - /// 400 => Schema field contains invalid field names. + /// 400 => Schema field request not valid. /// 404 => Schema or app not found. /// [HttpPut] @@ -113,7 +113,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The request that contains the field ids. /// /// 200 => Schema fields reordered. - /// 400 => Schema field ids do not cover the fields of the schema. + /// 400 => Schema field request not valid. /// 404 => Schema or app not found. /// [HttpPut] @@ -139,7 +139,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The request that contains the field ids. /// /// 200 => Schema fields reordered. - /// 400 => Schema field ids do not cover the fields of the schema. + /// 400 => Schema field request not valid. /// 404 => Schema, field or app not found. /// [HttpPut] @@ -165,7 +165,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The field object that needs to be added to the schema. /// /// 200 => Schema field updated. - /// 400 => Schema field properties not valid or field is locked. + /// 400 => Schema field request not valid. /// 404 => Schema, field or app not found. /// [HttpPut] @@ -192,7 +192,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The field object that needs to be added to the schema. /// /// 200 => Schema field updated. - /// 400 => Schema field properties not valid or field is locked. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// [HttpPut] @@ -217,6 +217,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to lock. /// /// 200 => Schema field shown. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// /// @@ -245,6 +246,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to lock. /// /// 200 => Schema field hidden. + /// 400 => Schema field request not valid or field locked. /// 404 => Field, schema, or app not found. /// /// @@ -272,6 +274,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to hide. /// /// 200 => Schema field hidden. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// /// @@ -300,6 +303,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to hide. /// /// 200 => Schema field hidden. + /// 400 => Schema field request not valid or field locked. /// 404 => Field, schema, or app not found. /// /// @@ -327,6 +331,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to show. /// /// 200 => Schema field shown. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// /// @@ -355,6 +360,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to show. /// /// 200 => Schema field shown. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// /// @@ -382,6 +388,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to enable. /// /// 200 => Schema field enabled. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// /// @@ -410,6 +417,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to enable. /// /// 200 => Schema field enabled. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// /// @@ -437,6 +445,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to disable. /// /// 200 => Schema field disabled. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// /// @@ -465,6 +474,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to disable. /// /// 200 => Schema field disabled. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// /// @@ -492,7 +502,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to disable. /// /// 200 => Schema field deleted. - /// 400 => Field is locked. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// [HttpDelete] @@ -518,7 +528,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The id of the field to disable. /// /// 200 => Schema field deleted. - /// 400 => Field is locked. + /// 400 => Schema field request not valid or field locked. /// 404 => Schema, field or app not found. /// [HttpDelete] diff --git a/backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemasController.cs b/backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemasController.cs index c1c7d96bb..bb07653f2 100644 --- a/backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemasController.cs +++ b/backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemasController.cs @@ -112,7 +112,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The schema object that needs to be added to the app. /// /// 201 => Schema created. - /// 400 => Schema name or properties are not valid. + /// 400 => Schema request not valid. /// 409 => Schema name already in use. /// [HttpPost] @@ -137,7 +137,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The schema object that needs to updated. /// /// 200 => Schema updated. - /// 400 => Schema properties are not valid. + /// 400 => Schema request not valid. /// 404 => Schema or app not found. /// [HttpPut] @@ -162,7 +162,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The schema object that needs to updated. /// /// 200 => Schema updated. - /// 400 => Schema properties are not valid. + /// 400 => Schema request not valid. /// 404 => Schema or app not found. /// [HttpPut] @@ -187,6 +187,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The schema object that needs to updated. /// /// 200 => Schema updated. + /// 400 => Schema request not valid. /// 404 => Schema or app not found. /// [HttpPut] @@ -211,7 +212,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The preview urls for the schema. /// /// 200 => Schema updated. - /// 400 => Schema urls are not valid. + /// 400 => Schema request not valid. /// 404 => Schema or app not found. /// [HttpPut] @@ -236,7 +237,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas /// The schema scripts object that needs to updated. /// /// 200 => Schema updated. - /// 400 => Schema scripts are not valid. + /// 400 => Schema request not valid. /// 404 => Schema or app not found. /// [HttpPut]