Skip to main content
Version: Next

RequestQueueClientRequestToUpdate

A request as the caller submits it to an update of a stored one.

The update addresses that request by its id, which a stored request always carries, so the shape is RequestQueueClientRequestSchema unchanged. The name stays published as the argument type of updateRequest().

Hierarchy

Index

Properties

optionalinheritederrorMessages

errorMessages?: null | string[]
null

Error messages recorded from failed processing attempts.

optionalinheritedhandledAt

handledAt?: null | Date

Format: date-time

2019-06-16T10:23:31.607Z

The timestamp when the request was marked as handled, if applicable.

optionalinheritedheaders

headers?: null | Record<string, unknown>
null

HTTP headers sent with the request.

inheritedid

id: string

optionalinheritedloadedUrl

loadedUrl?: null | string
https://apify.com/jobs

The final URL that was loaded, after redirects (if any).

optionalinheritedmethod

method?: GET | HEAD | POST | PUT | DELETE | CONNECT | OPTIONS | TRACE | PATCH

optionalinheritednoRetry

noRetry?: null | boolean
false

Indicates whether the request should not be retried if processing fails.

optionalinheritedpayload

payload?: null | string | Record<string, unknown>
null

The request payload, typically used with POST or PUT requests.

optionalinheritedretryCount

retryCount?: number

inheriteduniqueKey

uniqueKey: string

inheritedurl

url: string

optionalinheriteduserData

userData?: {}

Type declaration