LocalizationV1ControllerGetEntries - метод

Get localization entries of specified language for all localization libraries. Method acknowledges overriding of localization strings with same names in different libraries.

Definition

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

Параметры

culture  Int32
Localization language of returned entries. For example 9 for English, 25 for Russian, etc.
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.

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

TaskActionResultListPlainLocalizationEntry
Localization entries of specified language for all localization libraries.

См. также