Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 56 additions & 59 deletions src/cli/Apify.CLI/CliRuntime.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,117 @@ public partial interface IDefaultDatasetClient
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <returns>The response metadata and an unbuffered body stream. The caller must dispose Body to release the HTTP response.</returns>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Apify.AutoSDKHttpResponse<global::System.IO.Stream>> ActorRunDatasetItemsGetAsBytesAsStreamAsResponseAsync(
string runId,
string? format = default,
bool? clean = default,
double? offset = default,
double? limit = default,
string? fields = default,
string? outputFields = default,
string? omit = default,
string? unwind = default,
string? flatten = default,
bool? desc = default,
bool? attachment = default,
string? delimiter = default,
bool? bom = default,
string? xmlRoot = default,
string? xmlRow = default,
bool? skipHeaderRow = default,
bool? skipHidden = default,
bool? skipEmpty = default,
bool? simplified = default,
string? view = default,
bool? skipFailedPages = default,
string? feedTitle = default,
string? feedDescription = default,
string? signature = default,
global::Apify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get the default dataset items from an Actor run<br/>
/// Returns data stored in the default dataset of the Actor run in the desired format.<br/>
/// This endpoint is a shortcut that resolves the run's `defaultDatasetId` and proxies to the<br/>
/// [Get dataset items](/api/v2/dataset-items-get) endpoint.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
/// </param>
/// <param name="format">
/// Example: json
/// </param>
/// <param name="clean">
/// Example: false
/// </param>
/// <param name="offset">
/// Example: 0
/// </param>
/// <param name="limit"></param>
/// <param name="fields">
/// Example: myValue,myOtherValue
/// </param>
/// <param name="outputFields">
/// Example: title,link
/// </param>
/// <param name="omit">
/// Example: myValue,myOtherValue
/// </param>
/// <param name="unwind">
/// Example: myValue,myOtherValue
/// </param>
/// <param name="flatten">
/// Example: myValue
/// </param>
/// <param name="desc">
/// Example: true
/// </param>
/// <param name="attachment">
/// Example: true
/// </param>
/// <param name="delimiter">
/// Example: ;
/// </param>
/// <param name="bom">
/// Example: false
/// </param>
/// <param name="xmlRoot">
/// Example: items
/// </param>
/// <param name="xmlRow">
/// Example: item
/// </param>
/// <param name="skipHeaderRow">
/// Example: true
/// </param>
/// <param name="skipHidden">
/// Example: false
/// </param>
/// <param name="skipEmpty">
/// Example: false
/// </param>
/// <param name="simplified">
/// Example: false
/// </param>
/// <param name="view">
/// Example: overview
/// </param>
/// <param name="skipFailedPages">
/// Example: false
/// </param>
/// <param name="feedTitle">
/// Example: Latest posts from r/pasta
/// </param>
/// <param name="feedDescription">
/// Example: Scraped forum posts
/// </param>
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,35 @@ public partial interface IDefaultKeyValueStoreClient
/// <param name="attachment">
/// Example: true
/// </param>
/// <returns>The response metadata and an unbuffered body stream. The caller must dispose Body to release the HTTP response.</returns>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Apify.AutoSDKHttpResponse<global::System.IO.Stream>> ActorRunKeyValueStoreRecordGetAsBytesAsStreamAsResponseAsync(
string runId,
string recordKey,
string? signature = default,
bool? attachment = default,
global::Apify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get record from the default key-value store of an Actor run<br/>
/// Gets a value stored under a specific key in the default key-value store of the Actor run.<br/>
/// This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the<br/>
/// [Get key-value store record](/api/v2/key-value-store-record-get) endpoint.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
/// </param>
/// <param name="recordKey">
/// Example: someKey
/// </param>
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <param name="attachment">
/// Example: true
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,35 @@ public partial interface IDefaultKeyValueStoreClient
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <returns>The response metadata and an unbuffered body stream. The caller must dispose Body to release the HTTP response.</returns>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Apify.AutoSDKHttpResponse<global::System.IO.Stream>> ActorRunKeyValueStoreRecordsGetAsStreamAsResponseAsync(
string runId,
string? collection = default,
string? prefix = default,
string? signature = default,
global::Apify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Download records from the default key-value store of an Actor run<br/>
/// Downloads all records from the default key-value store of the Actor run as a ZIP archive.<br/>
/// This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the<br/>
/// [Download key-value store records](/api/v2/key-value-store-records-get) endpoint.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
/// </param>
/// <param name="collection">
/// Example: my-collection
/// </param>
/// <param name="prefix">
/// Example: my-prefix/
/// </param>
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,123 @@ public partial interface ILastActorRunSDefaultDatasetClient
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <returns>The response metadata and an unbuffered body stream. The caller must dispose Body to release the HTTP response.</returns>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Apify.AutoSDKHttpResponse<global::System.IO.Stream>> ActorRunsLastDatasetItemsGetAsBytesAsStreamAsResponseAsync(
string actorId,
string? status = default,
global::Apify.RunOrigin? origin = default,
string? format = default,
bool? clean = default,
double? offset = default,
double? limit = default,
string? fields = default,
string? outputFields = default,
string? omit = default,
string? unwind = default,
string? flatten = default,
bool? desc = default,
bool? attachment = default,
string? delimiter = default,
bool? bom = default,
string? xmlRoot = default,
string? xmlRow = default,
bool? skipHeaderRow = default,
bool? skipHidden = default,
bool? skipEmpty = default,
bool? simplified = default,
string? view = default,
bool? skipFailedPages = default,
string? feedTitle = default,
string? feedDescription = default,
string? signature = default,
global::Apify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get the default dataset items from an Actor's last run<br/>
/// Returns data stored in the default dataset of the last Actor run in the desired format.<br/>
/// This endpoint is a shortcut that resolves the last run's `defaultDatasetId` and proxies to the<br/>
/// [Get dataset items](/api/v2/dataset-items-get) endpoint.
/// </summary>
/// <param name="actorId">
/// Example: compass~google-maps-extractor
/// </param>
/// <param name="status">
/// Example: SUCCEEDED
/// </param>
/// <param name="origin"></param>
/// <param name="format">
/// Example: json
/// </param>
/// <param name="clean">
/// Example: false
/// </param>
/// <param name="offset">
/// Example: 0
/// </param>
/// <param name="limit"></param>
/// <param name="fields">
/// Example: myValue,myOtherValue
/// </param>
/// <param name="outputFields">
/// Example: title,link
/// </param>
/// <param name="omit">
/// Example: myValue,myOtherValue
/// </param>
/// <param name="unwind">
/// Example: myValue,myOtherValue
/// </param>
/// <param name="flatten">
/// Example: myValue
/// </param>
/// <param name="desc">
/// Example: true
/// </param>
/// <param name="attachment">
/// Example: true
/// </param>
/// <param name="delimiter">
/// Example: ;
/// </param>
/// <param name="bom">
/// Example: false
/// </param>
/// <param name="xmlRoot">
/// Example: items
/// </param>
/// <param name="xmlRow">
/// Example: item
/// </param>
/// <param name="skipHeaderRow">
/// Example: true
/// </param>
/// <param name="skipHidden">
/// Example: false
/// </param>
/// <param name="skipEmpty">
/// Example: false
/// </param>
/// <param name="simplified">
/// Example: false
/// </param>
/// <param name="view">
/// Example: overview
/// </param>
/// <param name="skipFailedPages">
/// Example: false
/// </param>
/// <param name="feedTitle">
/// Example: Latest posts from r/pasta
/// </param>
/// <param name="feedDescription">
/// Example: Scraped forum posts
/// </param>
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,41 @@ public partial interface ILastActorRunSDefaultKeyValueStoreClient
/// <param name="attachment">
/// Example: true
/// </param>
/// <returns>The response metadata and an unbuffered body stream. The caller must dispose Body to release the HTTP response.</returns>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Apify.AutoSDKHttpResponse<global::System.IO.Stream>> ActorRunsLastKeyValueStoreRecordGetAsBytesAsStreamAsResponseAsync(
string actorId,
string recordKey,
string? status = default,
global::Apify.RunOrigin? origin = default,
string? signature = default,
bool? attachment = default,
global::Apify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get record from the default key-value store of an Actor's last run<br/>
/// Gets a value stored under a specific key in the default key-value store of the last Actor run.<br/>
/// This endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the<br/>
/// [Get key-value store record](/api/v2/key-value-store-record-get) endpoint.
/// </summary>
/// <param name="actorId">
/// Example: compass~google-maps-extractor
/// </param>
/// <param name="status">
/// Example: SUCCEEDED
/// </param>
/// <param name="origin"></param>
/// <param name="recordKey">
/// Example: someKey
/// </param>
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <param name="attachment">
/// Example: true
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,41 @@ public partial interface ILastActorRunSDefaultKeyValueStoreClient
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <returns>The response metadata and an unbuffered body stream. The caller must dispose Body to release the HTTP response.</returns>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Apify.AutoSDKHttpResponse<global::System.IO.Stream>> ActorRunsLastKeyValueStoreRecordsGetAsStreamAsResponseAsync(
string actorId,
string? status = default,
global::Apify.RunOrigin? origin = default,
string? collection = default,
string? prefix = default,
string? signature = default,
global::Apify.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Download records from the default key-value store of an Actor's last run<br/>
/// Downloads all records from the default key-value store of the last Actor run as a ZIP archive.<br/>
/// This endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the<br/>
/// [Download key-value store records](/api/v2/key-value-store-records-get) endpoint.
/// </summary>
/// <param name="actorId">
/// Example: compass~google-maps-extractor
/// </param>
/// <param name="status">
/// Example: SUCCEEDED
/// </param>
/// <param name="origin"></param>
/// <param name="collection">
/// Example: my-collection
/// </param>
/// <param name="prefix">
/// Example: my-prefix/
/// </param>
/// <param name="signature">
/// Example: 2wTI46Bg8qWQrV7tavlPI
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Apify.ApiException"></exception>
Expand Down
Loading
Loading