LocalizationControllerPostGetLibraryByName - метод

Get localization library by specified unique name. Returns 204 (No Content), if library isn't found.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpGetAttribute("search")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<PlainLocalizationLibrary>> PostGetLibraryByName(
	[FromQueryAttribute] string name,
	[FromQueryAttribute(Name = "comments")] bool returnComments = false,
	CancellationToken cancellationToken = default
)

Параметры

name  String
Unique name of returned library.
returnComments  Boolean  (Optional)
Flag whether entries will be returned with comments for each entry. They are useful for localization editor. If false, when localization strings of specified language are returned, but not the comments.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

Возвращаемое значение

TaskActionResultPlainLocalizationLibrary
Localization library or 204 (No Content), if library isn't found.

См. также