|
|
|
@ -13,13 +13,13 @@ using Microsoft.AspNetCore.Mvc; |
|
|
|
using NSwag.Annotations; |
|
|
|
using Squidex.Infrastructure.CQRS.Commands; |
|
|
|
using Squidex.Infrastructure.Reflection; |
|
|
|
using Squidex.Modules.Api.Apps.Models; |
|
|
|
using Squidex.Controllers.Api.Apps.Models; |
|
|
|
using Squidex.Pipeline; |
|
|
|
using Squidex.Read.Apps.Services; |
|
|
|
using Squidex.Write.Apps; |
|
|
|
using Squidex.Write.Apps.Commands; |
|
|
|
|
|
|
|
namespace Squidex.Modules.Api.Apps |
|
|
|
namespace Squidex.Controllers.Api.Apps |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Manages and configures apps.
|
|
|
|
@ -76,8 +76,8 @@ namespace Squidex.Modules.Api.Apps |
|
|
|
/// 404 => App not found.
|
|
|
|
/// </returns>
|
|
|
|
/// <remarks>
|
|
|
|
/// Create a new client key for the app with the specified name.
|
|
|
|
/// The client key is auto generated on the server and returned.
|
|
|
|
/// Create a new key for the app with the specified name.
|
|
|
|
/// The client secret is auto generated on the server and returned. The client is valid for one year.
|
|
|
|
/// </remarks>
|
|
|
|
[HttpPost] |
|
|
|
[Route("apps/{app}/clients/")] |