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
Returns BuildCollectionClient
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
input: unknownoptional
options: ActorCallOptions = {}
Returns Promise<ActorRun>
delete
Returns Promise<void>
get
Returns Promise<undefined | Actor>
lastRun
Parameters
options: ActorLastRunOptions = {}
Returns RunClient
runs
Returns RunCollectionClient
start
Starts an actor and immediately returns the Run object. https://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor
Parameters
input: unknownoptional
options: ActorStartOptions = {}
Returns Promise<ActorRun>
update
Parameters
newFields: Partial<Pick<Actor, name | description | isPublic | seoTitle | seoDescription | issuesEnabled | title | restartOnError | versions | categories | defaultRunOptions>>
Returns Promise<Actor>
version
Parameters
versionNumber: string
Returns ActorVersionClient
versions
Returns ActorVersionCollectionClient
webhooks
Returns WebhookCollectionClient