ActorVersionCollectionClient
Hierarchy
- ResourceCollectionClient
- ActorVersionCollectionClient
Index
Properties
inheritedapifyClient
inheritedbaseUrl
inheritedhttpClient
optionalinheritedid
optionalinheritedparams
inheritedpublicBaseUrl
inheritedresourcePath
optionalinheritedsafeId
inheritedurl
Methods
create
Creates a new Actor version.
Parameters
actorVersion: ActorVersion
The Actor version data.
Returns Promise<FinalActorVersion>
The created Actor version object.
See more at https://docs.apify.com/api/v2/act-versions-post
list
Lists all Actor versions.
Awaiting the return value (as you would with a Promise) will result in a single API call. The amount of fetched items in a single API call is limited.
const paginatedList = await client.list();Asynchronous iteration is also supported. This will fetch additional pages if needed until all items are retrieved.
for await (const singleItem of client.list()) {...}Parameters
_options: ActorVersionCollectionListOptions = {}
Returns Promise<ActorVersionListResult> & AsyncIterable<FinalActorVersion, any, any>
A paginated iterator of Actor versions.
See more at https://docs.apify.com/api/v2/act-versions-get
Client for managing the collection of Actor versions.
Actor versions represent specific builds or snapshots of an Actor's code. This client provides methods to list and create versions for a specific Actor.