diff --git a/Application/EdFi.Ods.AdminApi.Common/Infrastructure/AdminApiEndpointBuilder.cs b/Application/EdFi.Ods.AdminApi.Common/Infrastructure/AdminApiEndpointBuilder.cs index 954fd468b..3b17abaa4 100644 --- a/Application/EdFi.Ods.AdminApi.Common/Infrastructure/AdminApiEndpointBuilder.cs +++ b/Application/EdFi.Ods.AdminApi.Common/Infrastructure/AdminApiEndpointBuilder.cs @@ -43,9 +43,6 @@ public static AdminApiEndpointBuilder MapPost(IEndpointRouteBuilder endpoints, s public static AdminApiEndpointBuilder MapPut(IEndpointRouteBuilder endpoints, string route, Delegate handler) => new(endpoints, HttpVerb.PUT, route, handler); - public static AdminApiEndpointBuilder MapPatch(IEndpointRouteBuilder endpoints, string route, Delegate handler) - => new(endpoints, HttpVerb.PATCH, route, handler); - public static AdminApiEndpointBuilder MapDelete(IEndpointRouteBuilder endpoints, string route, Delegate handler) => new(endpoints, HttpVerb.DELETE, route, handler); @@ -73,10 +70,10 @@ public AdminApiEndpointBuilder RequireAuthorization(PolicyDefinition authorizati public void BuildForVersions(params AdminApiVersions.AdminApiVersion[] versions) { - BuildForVersions(string.Empty, versions); + BuildForVersions(string.Empty, false, versions); } - public void BuildForVersions(string authorizationPolicy, params AdminApiVersions.AdminApiVersion[] versions) + public void BuildForVersions(string authorizationPolicy, bool display409 = false, params AdminApiVersions.AdminApiVersion[] versions) { if (versions.Length == 0) throw new ArgumentException("Must register for at least 1 version"); @@ -98,7 +95,6 @@ public void BuildForVersions(string authorizationPolicy, params AdminApiVersions HttpVerb.POST => _endpoints.MapPost(versionedRoute, _handler), HttpVerb.PUT => _endpoints.MapPut(versionedRoute, _handler), HttpVerb.DELETE => _endpoints.MapDelete(versionedRoute, _handler), - HttpVerb.PATCH => _endpoints.MapPatch(versionedRoute, _handler), _ => throw new ArgumentOutOfRangeException($"Unconfigured HTTP verb for mapping: {_verb}") }; @@ -125,7 +121,8 @@ public void BuildForVersions(string authorizationPolicy, params AdminApiVersions builder.WithGroupName(version.ToString()); builder.WithResponseCode(401, "Unauthorized. The request requires authentication"); builder.WithResponseCode(403, "Forbidden. The request is authenticated, but not authorized to access this resource"); - builder.WithResponseCode(409, "Conflict. The request is authenticated, but it has a conflict with an existing element"); + if (display409) + builder.WithResponseCode(409, "Conflict. The request is authenticated, but it has a conflict with an existing element"); builder.WithResponseCode(500, FeatureCommonConstants.InternalServerErrorResponseDescription); if (_route.Contains("id", StringComparison.InvariantCultureIgnoreCase)) @@ -192,5 +189,5 @@ public AdminApiEndpointBuilder AllowAnonymous() return this; } - private enum HttpVerb { GET, POST, PUT, DELETE, PATCH } + private enum HttpVerb { GET, POST, PUT, DELETE } } diff --git a/Application/EdFi.Ods.AdminApi/Features/Applications/AddApplication.cs b/Application/EdFi.Ods.AdminApi/Features/Applications/AddApplication.cs index cbfae7270..d86b4957c 100644 --- a/Application/EdFi.Ods.AdminApi/Features/Applications/AddApplication.cs +++ b/Application/EdFi.Ods.AdminApi/Features/Applications/AddApplication.cs @@ -25,7 +25,7 @@ public void MapEndpoints(IEndpointRouteBuilder endpoints) AdminApiEndpointBuilder.MapPost(endpoints, "/applications", Handle) .WithDefaultSummaryAndDescription() .WithRouteOptions(b => b.WithResponse(201)) - .BuildForVersions(AdminApiVersions.V2); + .BuildForVersions(string.Empty, true, AdminApiVersions.V2); } public static async Task Handle(Validator validator, IAddApplicationCommand addApplicationCommand, IMapper mapper, IUsersContext db, AddApplicationRequest request, IOptions options) diff --git a/build.ps1 b/build.ps1 index 66ba65e5a..5c4504de8 100755 --- a/build.ps1 +++ b/build.ps1 @@ -227,21 +227,6 @@ function GenerateOpenAPI { } } -function GenerateOpenAPIAdminConsole { - Invoke-Execute { - Push-Location $solutionRoot/EdFi.Ods.AdminApi/ - $outputOpenAPI = "../../docs/api-specifications/openapi-yaml/admin-api-console-$APIVersion.yaml" - $dllPath = "./bin/Release/net8.0/EdFi.Ods.AdminApi.dll" - - try { - dotnet tool run swagger tofile --output $outputOpenAPI --yaml $dllPath adminconsole - } - finally { - Pop-Location - } - } -} - function GenerateDocumentation { Invoke-Execute { $outputOpenAPI = "docs/api-specifications/openapi-yaml/admin-api-$APIVersion.yaml" @@ -250,14 +235,6 @@ function GenerateDocumentation { } } -function GenerateDocumentationAdminConsole { - Invoke-Execute { - $outputOpenAPI = "docs/api-specifications/openapi-yaml/admin-api-console-$APIVersion.yaml" - $outputMD = "docs/api-specifications/markdown/admin-api-console-$APIVersion-summary.md" - widdershins --search false --omitHeader true --code true --summary $outputOpenAPI -o $outputMD - } -} - function PublishAdminApi { Invoke-Execute { $project = "$solutionRoot/EdFi.Ods.AdminApi/" @@ -433,9 +410,7 @@ function Invoke-GenerateOpenAPIAndMD { Invoke-Step { Restore } Invoke-Step { Compile } Invoke-Step { GenerateOpenAPI } - Invoke-Step { GenerateOpenAPIAdminConsole } Invoke-Step { GenerateDocumentation } - Invoke-Step { GenerateDocumentationAdminConsole } } function Invoke-SetAssemblyInfo { diff --git a/docs/api-specifications/openapi-yaml/admin-api-1.4.3.yaml b/docs/api-specifications/openapi-yaml/admin-api-1.4.3.yaml index d872b48cd..f9af4e3b9 100644 --- a/docs/api-specifications/openapi-yaml/admin-api-1.4.3.yaml +++ b/docs/api-specifications/openapi-yaml/admin-api-1.4.3.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - title: Admin API Documentation - description: 'The Ed-Fi Admin API is a REST API-based administrative interface for managing vendors, applications, client credentials, and authorization rules for accessing an Ed-Fi API.' - version: v1 + version: 1.4.3 + title: "Ed-Fi Admin API" + description: The Ed-Fi Admin API is a REST API-based administrative interface for managing vendors, applications, client credentials, and authorization rules for accessing an Ed-Fi API. paths: /v1/vendors: get: diff --git a/docs/api-specifications/openapi-yaml/admin-api-2.2.3.yaml b/docs/api-specifications/openapi-yaml/admin-api-2.3.0.yaml similarity index 93% rename from docs/api-specifications/openapi-yaml/admin-api-2.2.3.yaml rename to docs/api-specifications/openapi-yaml/admin-api-2.3.0.yaml index a1d5da08f..16841d7e1 100644 --- a/docs/api-specifications/openapi-yaml/admin-api-2.2.3.yaml +++ b/docs/api-specifications/openapi-yaml/admin-api-2.3.0.yaml @@ -13,8 +13,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '/v2/tenants/{tenantName}': @@ -32,8 +30,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. /v2/resourceClaims: @@ -89,8 +85,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -119,8 +113,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -177,8 +169,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -235,8 +225,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -315,8 +303,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -343,8 +329,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -369,8 +353,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -404,8 +386,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -431,8 +411,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -492,8 +470,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -520,8 +496,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -546,8 +520,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -581,8 +553,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -608,8 +578,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -673,8 +641,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -701,8 +667,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -727,8 +691,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -762,8 +724,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -789,8 +749,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -839,8 +797,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -867,8 +823,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -893,8 +847,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -928,8 +880,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -955,8 +905,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1005,8 +953,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -1033,8 +979,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -1059,8 +1003,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1094,8 +1036,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1121,8 +1061,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1146,8 +1084,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1211,8 +1147,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -1239,8 +1173,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -1265,8 +1197,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1300,8 +1230,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1327,8 +1255,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1377,8 +1303,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -1451,8 +1375,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -1509,8 +1431,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1544,8 +1464,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1571,8 +1489,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1596,8 +1512,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1627,8 +1541,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1659,8 +1571,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -1687,8 +1597,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -1717,8 +1625,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1752,8 +1658,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1779,8 +1683,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1840,8 +1742,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '200': @@ -1886,8 +1786,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -1910,8 +1808,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '400': @@ -1948,8 +1844,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -1981,8 +1875,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -2015,8 +1907,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -2117,8 +2007,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -2149,8 +2037,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -2174,8 +2060,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404': @@ -2205,8 +2089,6 @@ paths: description: Unauthorized. The request requires authentication '403': description: 'Forbidden. The request is authenticated, but not authorized to access this resource' - '409': - description: 'Conflict. The request is authenticated, but it has a conflict with an existing element' '500': description: Internal server error. An unhandled error occurred on the server. See the response body for details. '404':