ApplicationsControllerGetAttributesByAlias - метод
Get app attributes: modification date of its card Modified, and flag if architecture is 64-bit Client64Bit.
Returns 204 (No Content) if data is unavailable.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute("get-attributes")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<ApplicationAttributesResult>> GetAttributesByAlias(
[FromQueryAttribute(Name = "alias")] string applicationAlias,
[FromQueryAttribute(Name = "64bit")] bool? client64Bit,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("get-attributes")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetAttributesByAlias (
<FromQueryAttribute(Name := "alias")> applicationAlias As String,
<FromQueryAttribute(Name := "64bit")> client64Bit As Boolean?,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of ApplicationAttributesResult))
public:
[HttpGetAttribute(L"get-attributes")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<ApplicationAttributesResult^>^>^ GetAttributesByAlias(
[FromQueryAttribute(Name = L"alias")] String^ applicationAlias,
[FromQueryAttribute(Name = L"64bit")] Nullable<bool> client64Bit,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("get-attributes")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetAttributesByAlias :
[<FromQueryAttribute(Name = "alias")>] applicationAlias : string *
[<FromQueryAttribute(Name = "64bit")>] client64Bit : Nullable<bool> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<ApplicationAttributesResult>>
- applicationAlias String
- App alias.
- client64Bit NullableBoolean
-
Flag if app`s architecture is 64-bit. Specify null to return all available apps disregarding their architecture,
so app manager can choose suitable app by OS architecture and user settings.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultApplicationAttributesResultApp attributes, or 204 (No Content) is data is unavailable.