Skip to main content
Version: 2.6

TaskClient

@hideconstructor

Hierarchy

  • ResourceClient
    • TaskClient

Index

Constructors

constructor

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

    • options: ApiClientSubResourceOptions

    Returns TaskClient

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

call

delete

  • delete(): Promise<void>

get

  • get(): Promise<undefined | Task>

getInput

lastRun

runs

start

update

  • update(newFields: Partial<Pick<Task, name | description | title | options | input>>): Promise<Task>

updateInput

webhooks