ActorClient
Hierarchy
- ResourceClient
- ActorClient
Index
Constructors
constructor
Parameters
options: ApiClientSubResourceOptions
Returns ActorClient
Properties
apifyClient
baseUrl
httpClient
optionalid
optionalparams
resourcePath
optionalsafeId
url
Methods
build
Parameters
versionNumber: string
options: ActorBuildOptions = {}
Returns Promise<Build>
builds
call
Starts an actor and waits for it to finish before returning the Run object. It waits indefinitely, unless the
waitSecs
option is provided. https://docs.apify.com/api/v2#/reference/actors/run-collection/run-actorParameters
optionalinput: unknown
options: ActorCallOptions = {}
Returns Promise<ActorRun>
delete
Returns Promise<void>
get
Returns Promise<undefined | Actor>
lastRun
Parameters
options: ActorLastRunOptions = {}
Returns RunClient
runs
start
Starts an actor and immediately returns the Run object. https://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor
Parameters
optionalinput: unknown
options: ActorStartOptions = {}
Returns Promise<ActorRun>
update
version
Parameters
versionNumber: string
Returns ActorVersionClient
versions
Returns ActorVersionCollectionClient