async putCrawlerCrawlSchedule()

in packages/enterprise-search/src/api/app/api.ts [307:319]


  async putCrawlerCrawlSchedule (this: That, params: T.PutCrawlerCrawlScheduleRequest, options?: TransportRequestOptions): Promise<T.PutCrawlerCrawlScheduleResponse> {
    const {
      engine_name,
      body,
      ...querystring
    } = params ?? {}
    return await this.transport.request<T.PutCrawlerCrawlScheduleResponse>({
      method: 'PUT',
      path: `/api/as/v1/engines/${engine_name}/crawler/crawl_schedule`,
      querystring,
      body: body
    }, options)
  }