Skip to main content

Interface IXperiflowWebAppClient

Namespace: Workspace.XBR.Xperiflow.Core.RestApi.WebApp

Assembly: Xperiflow.dll

Declaration
public interface IXperiflowWebAppClient

Methods

GetWebAppCollectionResourceAsync(XperiflowSessionInfo, string?, MemoizedCacheInfo?, CancellationToken)

WebAppCollectionResource

Declaration
Task<GetWebAppCollectionResourceResponseContext> GetWebAppCollectionResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, string? query = null, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns a collection of all web applications.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.WebApp.GetWebAppCollectionResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.StringqueryA pinq query string.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

GetStylesheetsResourceAsync(XperiflowSessionInfo, IEnumerable<string>?, string?, int?, int?, string?, MemoizedCacheInfo?, CancellationToken)

StylesheetsResource

Declaration
Task<GetStylesheetsResourceResponseContext> GetStylesheetsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, IEnumerable<string>? fields = null, string? filter = null, int? page = null, int? records_per_page = null, string? order_bys = null, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Returns a datatable of Stylesheets

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.WebApp.GetStylesheetsResourceResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
System.Collections.Generic.IEnumerable<System.String>fieldsA json list of column names to return in the request.
System.StringfilterA json dictionary of a filter statement.
System.Nullable<System.Int32>pageThe page to return if using pagination.
System.Nullable<System.Int32>records_per_pageThe amount of records per page to return if using pagination.
System.Stringorder_bysA json dictionary containing an order by statement.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PostStylesheetsResourceAsync(XperiflowSessionInfo, BodyListXpfStylesheetDto, MemoizedCacheInfo?, CancellationToken)

StylesheetsResource

Declaration
Task<PostStylesheetsResourceContext> PostStylesheetsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, BodyListXpfStylesheetDto body, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Creates a stylesheet and saves it to the database and filesystem.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.WebApp.PostStylesheetsResourceContext >

created

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Core.RestApi.WebApp.BodyListXpfStylesheetDtobody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

DeleteStylesheetsResourceAsync(XperiflowSessionInfo, MemoizedCacheInfo?, CancellationToken)

StylesheetsResource

Declaration
Task<NullDataXperiflowResponseContext> DeleteStylesheetsResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Deletes all stylesheets from the database and filesystem regardless of where or when they originated.

Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.WebApp.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

PostStylesheetsBulkDeleteResourceAsync(XperiflowSessionInfo, Body, MemoizedCacheInfo?, CancellationToken)

StylesheetsBulkDeleteResource

Declaration
Task<NullDataXperiflowResponseContext> PostStylesheetsBulkDeleteResourceAsync(XperiflowSessionInfo x_OS_SessionInfo, Body body, MemoizedCacheInfo? cacheInfo = null, CancellationToken cancellationToken = default)
Remarks

Delete a list of Stylesheets from the database and filesystem.

Body params:

  • item_ids (List[str]): The names of stylesheets to delete
Returns

Task< Workspace.XBR.Xperiflow.Core.RestApi.WebApp.NullDataXperiflowResponseContext >

ok

Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.Core.Session.XperiflowSessionInfox_OS_SessionInfoOneStream session info header object.
Workspace.XBR.Xperiflow.Core.RestApi.WebApp.Bodybody
Workspace.XBR.Xperiflow.Utilities.Http.MemoizedCacheInfocacheInfo
System.Threading.CancellationTokencancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions

Workspace.XBR.Xperiflow.Core.RestApi.Exceptions.XperiflowApiException A server side error occurred.

Was this page helpful?