Skip to main content
Version: 2.6

ActorClient

@hideconstructor

Hierarchy

  • ResourceClient
    • ActorClient

Index

Constructors

constructor

  • new ActorClient(options: ApiClientSubResourceOptions): ActorClient
  • Parameters

    • options: ApiClientSubResourceOptions

    Returns ActorClient

Properties

apifyClient

apifyClient: ApifyClient

baseUrl

baseUrl: string

httpClient

httpClient: HttpClient

optionalid

id?: string

optionalparams

params?: Record<string, unknown>

resourcePath

resourcePath: string

optionalsafeId

safeId?: string

url

url: string

Methods

build

builds

call

delete

  • delete(): Promise<void>

get

  • get(): Promise<undefined | Actor>

lastRun

runs

start

update

  • update(newFields: Partial<Pick<Actor, name | description | isPublic | seoTitle | seoDescription | issuesEnabled | title | restartOnError | versions | categories | defaultRunOptions>>): Promise<Actor>

version

  • version(versionNumber: string): ActorVersionClient

versions

  • versions(): ActorVersionCollectionClient

webhooks