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> /// <summary>
/// Publish a content item. /// Change status of a content item.
/// </summary> /// </summary>
/// <param name="app">The name of the app.</param> /// <param name="app">The name of the app.</param>
/// <param name="name">The name of the schema.</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> /// <param name="request">The status request.</param>
/// <returns> /// <returns>
/// 200 => Content published. /// 200 => Content status changed.
/// 404 => Content, schema or app not found. /// 404 => Content, schema or app not found.
/// 400 => Request is not valid. /// 400 => Request is not valid.
/// </returns> /// </returns>
@ -458,13 +458,13 @@ namespace Squidex.Areas.Api.Controllers.Contents
} }
/// <summary> /// <summary>
/// Create a new version. /// Create a new draft version.
/// </summary> /// </summary>
/// <param name="app">The name of the app.</param> /// <param name="app">The name of the app.</param>
/// <param name="name">The name of the schema.</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> /// <returns>
/// 200 => Content restored. /// 200 => Content draft created.
/// 404 => Content, schema or app not found. /// 404 => Content, schema or app not found.
/// </returns> /// </returns>
/// <remarks> /// <remarks>
@ -485,13 +485,13 @@ namespace Squidex.Areas.Api.Controllers.Contents
} }
/// <summary> /// <summary>
/// Discard changes. /// Delete the draft version.
/// </summary> /// </summary>
/// <param name="app">The name of the app.</param> /// <param name="app">The name of the app.</param>
/// <param name="name">The name of the schema.</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> /// <returns>
/// 200 => Content restored. /// 200 => Content draft deleted.
/// 404 => Content, schema or app not found. /// 404 => Content, schema or app not found.
/// </returns> /// </returns>
/// <remarks> /// <remarks>

Loading…
Cancel
Save