You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/Api/IngestionClient.php
+68-2Lines changed: 68 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1791,15 +1791,81 @@ public function listTransformations($itemsPerPage = null, $page = null, $sort =
1791
1791
}
1792
1792
1793
1793
/**
1794
-
* Push a `batch` request payload through the Pipeline. You can check the status of task pushes with the observability endpoints.
1794
+
* Pushes records through the Pipeline, directly to an index. You can make the call synchronous by providing the `watch` parameter, for asynchronous calls, you can use the observability endpoints and/or debugger dashboard to see the status of your task. If you want to leverage the [pre-indexing data transformation](https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/how-to/transform-your-data/), this is the recommended way of ingesting your records. This method is similar to `pushTask`, but requires an `indexName` instead of a `taskID`. If zero or many tasks are found, an error will be returned.
1795
+
*
1796
+
* Required API Key ACLs:
1797
+
* - addObject
1798
+
* - deleteIndex
1799
+
* - editSettings
1800
+
*
1801
+
* @param string $indexName Name of the index on which to perform the operation. (required)
* @param bool $watch When provided, the push operation will be synchronous and the API will wait for the ingestion to be finished before responding. (optional)
1809
+
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
* Pushes records through the Pipeline, directly to an index. You can make the call synchronous by providing the `watch` parameter, for asynchronous calls, you can use the observability endpoints and/or debugger dashboard to see the status of your task. If you want to leverage the [pre-indexing data transformation](https://www.algolia.com/doc/guides/sending-and-managing-data/send-and-update-your-data/how-to/transform-your-data/), this is the recommended way of ingesting your records. This method is similar to `push`, but requires a `taskID` instead of a `indexName`, which is useful when many `destinations` target the same `indexName`.
1795
1861
*
1796
1862
* Required API Key ACLs:
1797
1863
* - addObject
1798
1864
* - deleteIndex
1799
1865
* - editSettings
1800
1866
*
1801
1867
* @param string $taskID Unique identifier of a task. (required)
1802
-
* @param array|PushTaskPayload $pushTaskPayload Request body of a Search API `batch` request that will be pushed in the Connectors pipeline. (required)
0 commit comments