IngestionClient

algoliasearch.api.IngestionClient
See theIngestionClient companion object
class IngestionClient(appId: String, apiKey: String, region: String, clientOptions: ClientOptions) extends ApiClient

Attributes

Companion
object
Graph
Supertypes
class ApiClient
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def createAuthentication(authenticationCreate: AuthenticationCreate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[AuthenticationCreateResponse]

Creates a new authentication resource.

Creates a new authentication resource.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def createDestination(destinationCreate: DestinationCreate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[DestinationCreateResponse]

Creates a new destination.

Creates a new destination.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def createSource(sourceCreate: SourceCreate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[SourceCreateResponse]

Creates a new source.

Creates a new source.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def createTask(taskCreate: TaskCreate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskCreateResponse]

Creates a new task.

Creates a new task.

Value parameters

taskCreate

Request body for creating a task.

Attributes

def createTaskV1(taskCreate: TaskCreateV1, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskCreateResponse]

Creates a new task using the v1 endpoint, please use createTask instead.

Creates a new task using the v1 endpoint, please use createTask instead.

Value parameters

taskCreate

Request body for creating a task.

Attributes

def createTransformation(transformationCreate: TransformationCreate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TransformationCreateResponse]

Creates a new transformation.

Creates a new transformation.

Value parameters

transformationCreate

Request body for creating a transformation.

Attributes

def customDelete[T : Manifest](path: String, parameters: Option[Map[String, Any]], requestOptions: Option[RequestOptions])(implicit evidence$1: Manifest[T], ec: ExecutionContext): Future[T]

This method allow you to send requests to the Algolia REST API.

This method allow you to send requests to the Algolia REST API.

Value parameters

parameters

Query parameters to apply to the current query.

path

Path of the endpoint, anything after "/1" must be specified.

Attributes

def customGet[T : Manifest](path: String, parameters: Option[Map[String, Any]], requestOptions: Option[RequestOptions])(implicit evidence$2: Manifest[T], ec: ExecutionContext): Future[T]

This method allow you to send requests to the Algolia REST API.

This method allow you to send requests to the Algolia REST API.

Value parameters

parameters

Query parameters to apply to the current query.

path

Path of the endpoint, anything after "/1" must be specified.

Attributes

def customPost[T : Manifest](path: String, parameters: Option[Map[String, Any]], body: Option[Any], requestOptions: Option[RequestOptions])(implicit evidence$3: Manifest[T], ec: ExecutionContext): Future[T]

This method allow you to send requests to the Algolia REST API.

This method allow you to send requests to the Algolia REST API.

Value parameters

body

Parameters to send with the custom request.

parameters

Query parameters to apply to the current query.

path

Path of the endpoint, anything after "/1" must be specified.

Attributes

def customPut[T : Manifest](path: String, parameters: Option[Map[String, Any]], body: Option[Any], requestOptions: Option[RequestOptions])(implicit evidence$4: Manifest[T], ec: ExecutionContext): Future[T]

This method allow you to send requests to the Algolia REST API.

This method allow you to send requests to the Algolia REST API.

Value parameters

body

Parameters to send with the custom request.

parameters

Query parameters to apply to the current query.

path

Path of the endpoint, anything after "/1" must be specified.

Attributes

def deleteAuthentication(authenticationID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[DeleteResponse]

Deletes an authentication resource. You can't delete authentication resources that are used by a source or a destination.

Deletes an authentication resource. You can't delete authentication resources that are used by a source or a destination.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

authenticationID

Unique identifier of an authentication resource.

Attributes

def deleteDestination(destinationID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[DeleteResponse]

Deletes a destination by its ID. You can't delete destinations that are referenced in tasks.

Deletes a destination by its ID. You can't delete destinations that are referenced in tasks.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

destinationID

Unique identifier of a destination.

Attributes

def deleteSource(sourceID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[DeleteResponse]

Deletes a source by its ID. You can't delete sources that are referenced in tasks.

Deletes a source by its ID. You can't delete sources that are referenced in tasks.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

sourceID

Unique identifier of a source.

Attributes

def deleteTask(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[DeleteResponse]

Deletes a task by its ID.

Deletes a task by its ID.

Value parameters

taskID

Unique identifier of a task.

Attributes

def deleteTaskV1(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[DeleteResponse]

Deletes a task by its ID using the v1 endpoint, please use deleteTask instead.

Deletes a task by its ID using the v1 endpoint, please use deleteTask instead.

Value parameters

taskID

Unique identifier of a task.

Attributes

def deleteTransformation(transformationID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[DeleteResponse]

Deletes a transformation by its ID.

Deletes a transformation by its ID.

Value parameters

transformationID

Unique identifier of a transformation.

Attributes

def disableTask(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskUpdateResponse]

Disables a task.

Disables a task.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

taskID

Unique identifier of a task.

Attributes

def disableTaskV1(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskUpdateResponse]

Disables a task using the v1 endpoint, please use disableTask instead.

Disables a task using the v1 endpoint, please use disableTask instead.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

taskID

Unique identifier of a task.

Attributes

def enableTask(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskUpdateResponse]

Enables a task.

Enables a task.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

taskID

Unique identifier of a task.

Attributes

def enableTaskV1(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskUpdateResponse]

Enables a task using the v1 endpoint, please use enableTask instead.

Enables a task using the v1 endpoint, please use enableTask instead.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

taskID

Unique identifier of a task.

Attributes

def generateTransformationCode(generateTransformationCodePayload: GenerateTransformationCodePayload, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[GenerateTransformationCodeResponse]

Generates code for the selected model based on the given prompt.

Generates code for the selected model based on the given prompt.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def getAuthentication(authenticationID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Authentication]

Retrieves an authentication resource by its ID.

Retrieves an authentication resource by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

authenticationID

Unique identifier of an authentication resource.

Attributes

def getDestination(destinationID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Destination]

Retrieves a destination by its ID.

Retrieves a destination by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

destinationID

Unique identifier of a destination.

Attributes

def getEvent(runID: String, eventID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Event]

Retrieves a single task run event by its ID.

Retrieves a single task run event by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

eventID

Unique identifier of an event.

runID

Unique identifier of a task run.

Attributes

def getRun(runID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Run]

Retrieve a single task run by its ID.

Retrieve a single task run by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

runID

Unique identifier of a task run.

Attributes

def getSource(sourceID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Source]

Retrieve a source by its ID.

Retrieve a source by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

sourceID

Unique identifier of a source.

Attributes

def getTask(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Task]

Retrieves a task by its ID.

Retrieves a task by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

taskID

Unique identifier of a task.

Attributes

def getTaskV1(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskV1]

Retrieves a task by its ID using the v1 endpoint, please use getTask instead.

Retrieves a task by its ID using the v1 endpoint, please use getTask instead.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

taskID

Unique identifier of a task.

Attributes

def getTransformation(transformationID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Transformation]

Retrieves a transformation by its ID.

Retrieves a transformation by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

transformationID

Unique identifier of a transformation.

Attributes

def listAuthentications(itemsPerPage: Option[Int], page: Option[Int], `type`: Option[Seq[AuthenticationType]], platform: Option[Seq[PlatformWithNone]], sort: Option[AuthenticationSortKeys], order: Option[OrderKeys], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[ListAuthenticationsResponse]

Retrieves a list of all authentication resources.

Retrieves a list of all authentication resources.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

`type`

Type of authentication resource to retrieve.

itemsPerPage

Number of items per page.

order

Sort order of the response, ascending or descending.

page

Page number of the paginated API response.

platform

Ecommerce platform for which to retrieve authentication resources.

sort

Property by which to sort the list of authentication resources.

Attributes

def listDestinations(itemsPerPage: Option[Int], page: Option[Int], `type`: Option[Seq[DestinationType]], authenticationID: Option[Seq[String]], sort: Option[DestinationSortKeys], order: Option[OrderKeys], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[ListDestinationsResponse]

Retrieves a list of destinations.

Retrieves a list of destinations.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

`type`

Destination type.

authenticationID

Authentication ID used by destinations.

itemsPerPage

Number of items per page.

order

Sort order of the response, ascending or descending.

page

Page number of the paginated API response.

sort

Property by which to sort the destinations.

Attributes

def listEvents(runID: String, itemsPerPage: Option[Int], page: Option[Int], status: Option[Seq[EventStatus]], `type`: Option[Seq[EventType]], sort: Option[EventSortKeys], order: Option[OrderKeys], startDate: Option[String], endDate: Option[String], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[ListEventsResponse]

Retrieves a list of events for a task run, identified by it's ID.

Retrieves a list of events for a task run, identified by it's ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

`type`

Event type for filtering the list of task runs.

endDate

Date and time in RFC 3339 format for the latest events to retrieve. By default, the current time is used.

itemsPerPage

Number of items per page.

order

Sort order of the response, ascending or descending.

page

Page number of the paginated API response.

runID

Unique identifier of a task run.

sort

Property by which to sort the list of task run events.

startDate

Date and time in RFC 3339 format for the earliest events to retrieve. By default, the current time minus three hours is used.

status

Event status for filtering the list of task runs.

Attributes

def listRuns(itemsPerPage: Option[Int], page: Option[Int], status: Option[Seq[RunStatus]], taskID: Option[String], sort: Option[RunSortKeys], order: Option[OrderKeys], startDate: Option[String], endDate: Option[String], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[RunListResponse]

Retrieve a list of task runs.

Retrieve a list of task runs.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

endDate

Date in RFC 3339 format for the latest run to retrieve. By default, the current day is used.

itemsPerPage

Number of items per page.

order

Sort order of the response, ascending or descending.

page

Page number of the paginated API response.

sort

Property by which to sort the list of task runs.

startDate

Date in RFC 3339 format for the earliest run to retrieve. By default, the current day minus seven days is used.

status

Run status for filtering the list of task runs.

taskID

Task ID for filtering the list of task runs.

Attributes

def listSources(itemsPerPage: Option[Int], page: Option[Int], `type`: Option[Seq[SourceType]], authenticationID: Option[Seq[String]], sort: Option[SourceSortKeys], order: Option[OrderKeys], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[ListSourcesResponse]

Retrieves a list of sources.

Retrieves a list of sources.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

`type`

Source type. Some sources require authentication.

authenticationID

Authentication IDs of the sources to retrieve. 'none' returns sources that doesn't have an authentication resource.

itemsPerPage

Number of items per page.

order

Sort order of the response, ascending or descending.

page

Page number of the paginated API response.

sort

Property by which to sort the list of sources.

Attributes

def listTasks(itemsPerPage: Option[Int], page: Option[Int], action: Option[Seq[ActionType]], enabled: Option[Boolean], sourceID: Option[Seq[String]], destinationID: Option[Seq[String]], triggerType: Option[Seq[TriggerType]], sort: Option[TaskSortKeys], order: Option[OrderKeys], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[ListTasksResponse]

Retrieves a list of tasks.

Retrieves a list of tasks.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

action

Actions for filtering the list of tasks.

destinationID

Destination IDs for filtering the list of tasks.

enabled

Whether to filter the list of tasks by the enabled status.

itemsPerPage

Number of items per page.

order

Sort order of the response, ascending or descending.

page

Page number of the paginated API response.

sort

Property by which to sort the list of tasks.

sourceID

Source IDs for filtering the list of tasks.

triggerType

Type of task trigger for filtering the list of tasks.

Attributes

def listTasksV1(itemsPerPage: Option[Int], page: Option[Int], action: Option[Seq[ActionType]], enabled: Option[Boolean], sourceID: Option[Seq[String]], destinationID: Option[Seq[String]], triggerType: Option[Seq[TriggerType]], sort: Option[TaskSortKeys], order: Option[OrderKeys], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[ListTasksResponseV1]

Retrieves a list of tasks using the v1 endpoint, please use getTasks instead.

Retrieves a list of tasks using the v1 endpoint, please use getTasks instead.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

action

Actions for filtering the list of tasks.

destinationID

Destination IDs for filtering the list of tasks.

enabled

Whether to filter the list of tasks by the enabled status.

itemsPerPage

Number of items per page.

order

Sort order of the response, ascending or descending.

page

Page number of the paginated API response.

sort

Property by which to sort the list of tasks.

sourceID

Source IDs for filtering the list of tasks.

triggerType

Type of task trigger for filtering the list of tasks.

Attributes

def listTransformationModels(requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TransformationModels]

Retrieves a list of existing LLM transformation helpers.

Retrieves a list of existing LLM transformation helpers.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def listTransformations(itemsPerPage: Option[Int], page: Option[Int], sort: Option[SortKeys], order: Option[OrderKeys], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[ListTransformationsResponse]

Retrieves a list of transformations.

Retrieves a list of transformations.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

itemsPerPage

Number of items per page.

order

Sort order of the response, ascending or descending.

page

Page number of the paginated API response.

sort

Property by which to sort the list.

Attributes

def pushTask(taskID: String, batchWriteParams: BatchWriteParams, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[RunResponse]

Push a batch request payload through the Pipeline. You can check the status of task pushes with the observability endpoints.

Push a batch request payload through the Pipeline. You can check the status of task pushes with the observability endpoints.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

batchWriteParams

Request body of a Search API batch request that will be pushed in the Connectors pipeline.

taskID

Unique identifier of a task.

Attributes

def runSource(sourceID: String, runSourcePayload: Option[RunSourcePayload], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[RunSourceResponse]

Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.

Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

sourceID

Unique identifier of a source.

Attributes

def runTask(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[RunResponse]

Runs a task. You can check the status of task runs with the observability endpoints.

Runs a task. You can check the status of task runs with the observability endpoints.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

taskID

Unique identifier of a task.

Attributes

def runTaskV1(taskID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[RunResponse]

Runs a task using the v1 endpoint, please use runTask instead. You can check the status of task runs with the observability endpoints.

Runs a task using the v1 endpoint, please use runTask instead. You can check the status of task runs with the observability endpoints.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

taskID

Unique identifier of a task.

Attributes

def searchAuthentications(authenticationSearch: AuthenticationSearch, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Seq[Authentication]]

Searches for authentication resources.

Searches for authentication resources.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def searchDestinations(destinationSearch: DestinationSearch, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Seq[Destination]]

Searches for destinations.

Searches for destinations.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def searchSources(sourceSearch: SourceSearch, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Seq[Source]]

Searches for sources.

Searches for sources.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def searchTasks(taskSearch: TaskSearch, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Seq[Task]]

Searches for tasks.

Searches for tasks.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def searchTasksV1(taskSearch: TaskSearch, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Seq[TaskV1]]

Searches for tasks using the v1 endpoint, please use searchTasks instead.

Searches for tasks using the v1 endpoint, please use searchTasks instead.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def searchTransformations(transformationSearch: TransformationSearch, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[Seq[Transformation]]

Searches for transformations.

Searches for transformations.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def triggerDockerSourceDiscover(sourceID: String, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[SourceWatchResponse]

Triggers a stream-listing request for a source. Triggering stream-listing requests only works with sources with type: docker and imageType: singer.

Triggers a stream-listing request for a source. Triggering stream-listing requests only works with sources with type: docker and imageType: singer.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

sourceID

Unique identifier of a source.

Attributes

def tryTransformation(transformationTry: TransformationTry, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TransformationTryResponse]

Try a transformation before creating it.

Try a transformation before creating it.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def tryTransformationBeforeUpdate(transformationID: String, transformationTry: TransformationTry, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TransformationTryResponse]

Try a transformation before updating it.

Try a transformation before updating it.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

transformationID

Unique identifier of a transformation.

Attributes

def updateAuthentication(authenticationID: String, authenticationUpdate: AuthenticationUpdate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[AuthenticationUpdateResponse]

Updates an authentication resource.

Updates an authentication resource.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

authenticationID

Unique identifier of an authentication resource.

Attributes

def updateDestination(destinationID: String, destinationUpdate: DestinationUpdate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[DestinationUpdateResponse]

Updates the destination by its ID.

Updates the destination by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

destinationID

Unique identifier of a destination.

Attributes

def updateSource(sourceID: String, sourceUpdate: SourceUpdate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[SourceUpdateResponse]

Updates a source by its ID.

Updates a source by its ID.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

sourceID

Unique identifier of a source.

Attributes

def updateTask(taskID: String, taskUpdate: TaskUpdate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskUpdateResponse]

Updates a task by its ID.

Updates a task by its ID.

Value parameters

taskID

Unique identifier of a task.

Attributes

def updateTaskV1(taskID: String, taskUpdate: TaskUpdateV1, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TaskUpdateResponse]

Updates a task by its ID using the v1 endpoint, please use updateTask instead.

Updates a task by its ID using the v1 endpoint, please use updateTask instead.

Value parameters

taskID

Unique identifier of a task.

Attributes

def updateTransformation(transformationID: String, transformationCreate: TransformationCreate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[TransformationUpdateResponse]

Updates a transformation by its ID.

Updates a transformation by its ID.

Value parameters

transformationID

Unique identifier of a transformation.

Attributes

def validateSource(sourceCreate: Option[SourceCreate], requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[SourceWatchResponse]

Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.

Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Attributes

def validateSourceBeforeUpdate(sourceID: String, sourceUpdate: SourceUpdate, requestOptions: Option[RequestOptions])(implicit ec: ExecutionContext): Future[SourceWatchResponse]

Validates an update of a source payload to ensure it can be created and that the data source can be reached by Algolia.

Validates an update of a source payload to ensure it can be created and that the data source can be reached by Algolia.

Required API Key ACLs:

  • addObject
  • deleteIndex
  • editSettings

Value parameters

sourceID

Unique identifier of a source.

Attributes

Inherited methods

override def close(): Unit

Attributes

Definition Classes
ApiClient -> AutoCloseable
Inherited from:
ApiClient