Method: Algolia::IngestionClient#run_source
- Defined in:
- lib/algolia/api/ingestion_client.rb
#run_source(source_id, run_source_payload = nil, request_options = {}) ⇒ RunSourceResponse
Runs all tasks linked to a source, only available for Shopify, BigCommerce and commercetools sources. Creates one run per task.
Required API Key ACLs:
- addObject
- deleteIndex
- editSettings
2426 2427 2428 2429 |
# File 'lib/algolia/api/ingestion_client.rb', line 2426 def run_source(source_id, run_source_payload = nil, = {}) response = run_source_with_http_info(source_id, run_source_payload, ) @api_client.deserialize(response.body, [:debug_return_type] || "Ingestion::RunSourceResponse") end |