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
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,9 @@ private static string FormatResponse(ParseResult parseResult, global::Apify.Post
public static Command Create(string? commandName = null)
{
var command = new Command(commandName ?? @"post-charge-run", @"Charge events in Actor run
Charge for events in the run of your [pay per event Actor](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event).
Charge for events in the run of your [pay-per-event Actor](/actors/monetize/pay-per-event).
The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,
the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.

:::info Learn more about pay-per-event pricing

For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/actors/publishing/monetize/pay-per-event).

:::
");
command.Arguments.Add(RunId);
command.Options.Add(IdempotencyKey);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ public static Command Create(string? commandName = null)
{
var command = new Command(commandName ?? @"post-resurrect-run", @"Resurrect Actor run
Resurrects a finished Actor run and returns an object that contains all the details about the resurrected run.
Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.
Only finished runs, that is, runs with status `SUCCEEDED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.
Run status will be updated to RUNNING and its container will be restarted with the same storages
(the same behaviour as when the run gets migrated to the new server).

For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
");
command.Arguments.Add(RunId);
command.Options.Add(Build);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ public static Command Create(string? commandName = null)
Actor run and returns an object that contains all the details about the
resurrected run.

Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED`
Only finished runs, i.e. runs with status `SUCCEEDED`, `FAILED`, `ABORTED`
and `TIMED-OUT` can be resurrected.
Run status will be updated to RUNNING and its container will be restarted
with the same storages
(the same behaviour as when the run gets migrated to the new server).

For more information, see the [Actor
docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
");
command.Arguments.Add(ActorId);
command.Arguments.Add(RunId);
Expand Down
21 changes: 6 additions & 15 deletions src/libs/Apify/Generated/Apify.ActorRunsClient.PostChargeRun.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,9 @@ partial void ProcessPostChargeRunResponseContent(

/// <summary>
/// Charge events in Actor run<br/>
/// Charge for events in the run of your [pay per event Actor](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event).<br/>
/// Charge for events in the run of your [pay-per-event Actor](/actors/monetize/pay-per-event).<br/>
/// The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,<br/>
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.<br/>
/// :::info Learn more about pay-per-event pricing<br/>
/// For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/actors/publishing/monetize/pay-per-event).<br/>
/// :::
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand Down Expand Up @@ -85,12 +82,9 @@ partial void ProcessPostChargeRunResponseContent(
}
/// <summary>
/// Charge events in Actor run<br/>
/// Charge for events in the run of your [pay per event Actor](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event).<br/>
/// Charge for events in the run of your [pay-per-event Actor](/actors/monetize/pay-per-event).<br/>
/// The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,<br/>
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.<br/>
/// :::info Learn more about pay-per-event pricing<br/>
/// For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/actors/publishing/monetize/pay-per-event).<br/>
/// :::
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand Down Expand Up @@ -773,12 +767,9 @@ partial void ProcessPostChargeRunResponseContent(
}
/// <summary>
/// Charge events in Actor run<br/>
/// Charge for events in the run of your [pay per event Actor](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event).<br/>
/// Charge for events in the run of your [pay-per-event Actor](/actors/monetize/pay-per-event).<br/>
/// The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,<br/>
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.<br/>
/// :::info Learn more about pay-per-event pricing<br/>
/// For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/actors/publishing/monetize/pay-per-event).<br/>
/// :::
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ partial void ProcessPostResurrectRunResponseContent(
/// <summary>
/// Resurrect Actor run<br/>
/// Resurrects a finished Actor run and returns an object that contains all the details about the resurrected run.<br/>
/// Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.<br/>
/// Only finished runs, that is, runs with status `SUCCEEDED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.<br/>
/// Run status will be updated to RUNNING and its container will be restarted with the same storages<br/>
/// (the same behaviour as when the run gets migrated to the new server).<br/>
/// For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
/// For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand Down Expand Up @@ -113,10 +113,10 @@ partial void ProcessPostResurrectRunResponseContent(
/// <summary>
/// Resurrect Actor run<br/>
/// Resurrects a finished Actor run and returns an object that contains all the details about the resurrected run.<br/>
/// Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.<br/>
/// Only finished runs, that is, runs with status `SUCCEEDED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.<br/>
/// Run status will be updated to RUNNING and its container will be restarted with the same storages<br/>
/// (the same behaviour as when the run gets migrated to the new server).<br/>
/// For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
/// For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ partial void ProcessActorRunResurrectPostResponseContent(
/// new namespace [`actor-runs`](#/reference/actor-runs).Resurrects a finished<br/>
/// Actor run and returns an object that contains all the details about the<br/>
/// resurrected run.<br/>
/// Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED`<br/>
/// Only finished runs, i.e. runs with status `SUCCEEDED`, `FAILED`, `ABORTED`<br/>
/// and `TIMED-OUT` can be resurrected.<br/>
/// Run status will be updated to RUNNING and its container will be restarted<br/>
/// with the same storages<br/>
/// (the same behaviour as when the run gets migrated to the new server).<br/>
/// For more information, see the [Actor<br/>
/// docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
/// docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
/// </summary>
/// <param name="actorId">
/// Example: compass~google-maps-extractor
Expand Down Expand Up @@ -115,13 +115,13 @@ partial void ProcessActorRunResurrectPostResponseContent(
/// new namespace [`actor-runs`](#/reference/actor-runs).Resurrects a finished<br/>
/// Actor run and returns an object that contains all the details about the<br/>
/// resurrected run.<br/>
/// Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED`<br/>
/// Only finished runs, i.e. runs with status `SUCCEEDED`, `FAILED`, `ABORTED`<br/>
/// and `TIMED-OUT` can be resurrected.<br/>
/// Run status will be updated to RUNNING and its container will be restarted<br/>
/// with the same storages<br/>
/// (the same behaviour as when the run gets migrated to the new server).<br/>
/// For more information, see the [Actor<br/>
/// docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
/// docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
/// </summary>
/// <param name="actorId">
/// Example: compass~google-maps-extractor
Expand Down
21 changes: 6 additions & 15 deletions src/libs/Apify/Generated/Apify.IActorRunsClient.PostChargeRun.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ public partial interface IActorRunsClient
{
/// <summary>
/// Charge events in Actor run<br/>
/// Charge for events in the run of your [pay per event Actor](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event).<br/>
/// Charge for events in the run of your [pay-per-event Actor](/actors/monetize/pay-per-event).<br/>
/// The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,<br/>
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.<br/>
/// :::info Learn more about pay-per-event pricing<br/>
/// For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/actors/publishing/monetize/pay-per-event).<br/>
/// :::
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand All @@ -32,12 +29,9 @@ public partial interface IActorRunsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Charge events in Actor run<br/>
/// Charge for events in the run of your [pay per event Actor](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event).<br/>
/// Charge for events in the run of your [pay-per-event Actor](/actors/monetize/pay-per-event).<br/>
/// The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,<br/>
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.<br/>
/// :::info Learn more about pay-per-event pricing<br/>
/// For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/actors/publishing/monetize/pay-per-event).<br/>
/// :::
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand All @@ -58,12 +52,9 @@ public partial interface IActorRunsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Charge events in Actor run<br/>
/// Charge for events in the run of your [pay per event Actor](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event).<br/>
/// Charge for events in the run of your [pay-per-event Actor](/actors/monetize/pay-per-event).<br/>
/// The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,<br/>
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.<br/>
/// :::info Learn more about pay-per-event pricing<br/>
/// For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/actors/publishing/monetize/pay-per-event).<br/>
/// :::
/// the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ public partial interface IActorRunsClient
/// <summary>
/// Resurrect Actor run<br/>
/// Resurrects a finished Actor run and returns an object that contains all the details about the resurrected run.<br/>
/// Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.<br/>
/// Only finished runs, that is, runs with status `SUCCEEDED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.<br/>
/// Run status will be updated to RUNNING and its container will be restarted with the same storages<br/>
/// (the same behaviour as when the run gets migrated to the new server).<br/>
/// For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
/// For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand Down Expand Up @@ -49,10 +49,10 @@ public partial interface IActorRunsClient
/// <summary>
/// Resurrect Actor run<br/>
/// Resurrects a finished Actor run and returns an object that contains all the details about the resurrected run.<br/>
/// Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.<br/>
/// Only finished runs, that is, runs with status `SUCCEEDED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.<br/>
/// Run status will be updated to RUNNING and its container will be restarted with the same storages<br/>
/// (the same behaviour as when the run gets migrated to the new server).<br/>
/// For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
/// For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
/// </summary>
/// <param name="runId">
/// Example: 3KH8gEpp4d8uQSe8T
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ public partial interface IActorsActorRunsClient
/// new namespace [`actor-runs`](#/reference/actor-runs).Resurrects a finished<br/>
/// Actor run and returns an object that contains all the details about the<br/>
/// resurrected run.<br/>
/// Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED`<br/>
/// Only finished runs, i.e. runs with status `SUCCEEDED`, `FAILED`, `ABORTED`<br/>
/// and `TIMED-OUT` can be resurrected.<br/>
/// Run status will be updated to RUNNING and its container will be restarted<br/>
/// with the same storages<br/>
/// (the same behaviour as when the run gets migrated to the new server).<br/>
/// For more information, see the [Actor<br/>
/// docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
/// docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
/// </summary>
/// <param name="actorId">
/// Example: compass~google-maps-extractor
Expand Down Expand Up @@ -54,13 +54,13 @@ public partial interface IActorsActorRunsClient
/// new namespace [`actor-runs`](#/reference/actor-runs).Resurrects a finished<br/>
/// Actor run and returns an object that contains all the details about the<br/>
/// resurrected run.<br/>
/// Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED`<br/>
/// Only finished runs, i.e. runs with status `SUCCEEDED`, `FAILED`, `ABORTED`<br/>
/// and `TIMED-OUT` can be resurrected.<br/>
/// Run status will be updated to RUNNING and its container will be restarted<br/>
/// with the same storages<br/>
/// (the same behaviour as when the run gets migrated to the new server).<br/>
/// For more information, see the [Actor<br/>
/// docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).
/// docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrect-a-finished-run).
/// </summary>
/// <param name="actorId">
/// Example: compass~google-maps-extractor
Expand Down
Loading
Loading