Interface IContentUrlSearchApiClient<TContent>
Interface for an API client that can search for content items by content URL.
Inherited Members
Namespace: Tableau.Migration.Api
Assembly: Tableau.Migration.dll
Syntax
public interface IContentUrlSearchApiClient<TContent> : IFilteredPagedListApiClient<TContent>, IPagedListApiClient<TContent>
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
Methods
SearchByContentUrlAsync(string, CancellationToken)
Finds the content items with the given content URL.
Declaration
Task<IResult<IImmutableList<TContent>>> SearchByContentUrlAsync(string contentUrl, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| string | contentUrl | The content URL to search for. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<IResult<IImmutableList<TContent>>> | The result of the search operation with the found item, or null. |