Browse Source

Update ContentsController.cs

pull/537/head
Sebastian Stehle 6 years ago
committed by GitHub
parent
commit
00bc022c58
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      backend/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs

18
backend/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs

@ -429,14 +429,14 @@ namespace Squidex.Areas.Api.Controllers.Contents
}
/// <summary>
/// Publish a content item.
/// Change status of a content item.
/// </summary>
/// <param name="app">The name of the app.</param>
/// <param name="name">The name of the schema.</param>
/// <param name="id">The id of the content item to publish.</param>
/// <param name="id">The id of the content item to change.</param>
/// <param name="request">The status request.</param>
/// <returns>
/// 200 => Content published.
/// 200 => Content status changed.
/// 404 => Content, schema or app not found.
/// 400 => Request is not valid.
/// </returns>
@ -458,13 +458,13 @@ namespace Squidex.Areas.Api.Controllers.Contents
}
/// <summary>
/// Create a new version.
/// Create a new draft version.
/// </summary>
/// <param name="app">The name of the app.</param>
/// <param name="name">The name of the schema.</param>
/// <param name="id">The id of the content item to discard changes.</param>
/// <param name="id">The id of the content item to create the draft for.</param>
/// <returns>
/// 200 => Content restored.
/// 200 => Content draft created.
/// 404 => Content, schema or app not found.
/// </returns>
/// <remarks>
@ -485,13 +485,13 @@ namespace Squidex.Areas.Api.Controllers.Contents
}
/// <summary>
/// Discard changes.
/// Delete the draft version.
/// </summary>
/// <param name="app">The name of the app.</param>
/// <param name="name">The name of the schema.</param>
/// <param name="id">The id of the content item to discard changes.</param>
/// <param name="id">The id of the content item to delete the draft from.</param>
/// <returns>
/// 200 => Content restored.
/// 200 => Content draft deleted.
/// 404 => Content, schema or app not found.
/// </returns>
/// <remarks>

Loading…
Cancel
Save