Type Alias RunWaitResultScriptByPathGetData

RunWaitResultScriptByPathGetData: {
    cacheTtl?: string;
    includeHeader?: string;
    jobId?: string;
    parentJob?: string;
    path: string;
    payload?: string;
    queueLimit?: string;
    tag?: string;
    workspace: string;
}

Type declaration

  • OptionalcacheTtl?: string

    Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl

  • OptionalincludeHeader?: string

    List of headers's keys (separated with ',') whove value are added to the args Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key

  • OptionaljobId?: string

    The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)

  • OptionalparentJob?: string

    The parent job that is at the origin and responsible for the execution of this script if any

  • path: string
  • Optionalpayload?: string

    The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent encodeURIComponent(btoa(JSON.stringify({a: 2})))

  • OptionalqueueLimit?: string

    The maximum size of the queue for which the request would get rejected if that job would push it above that limit

  • Optionaltag?: string

    Override the tag to use

  • workspace: string