Skip to main content
Version: 2.6

ActorClient

@hideconstructor

Hierarchy

  • ResourceClient
    • ActorClient

Index

Constructors

constructor

  • new ActorClient(options): 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

  • build(versionNumber, options): Promise<Build>

builds

  • builds(): BuildCollectionClient

call

  • call(input, options): Promise<ActorRun>

delete

  • delete(): Promise<void>

get

  • get(): Promise<undefined | Actor>

lastRun

  • lastRun(options): RunClient

runs

  • runs(): RunCollectionClient

start

  • start(input, options): Promise<ActorRun>

update

  • update(newFields): Promise<Actor>

version

  • version(versionNumber): ActorVersionClient

versions

  • versions(): ActorVersionCollectionClient

webhooks

  • webhooks(): WebhookCollectionClient