Batch Job

Import batch job results

Import batch job data into Robotoff database. This endpoint is secured and requires bearer authentication.

This endpoint is mainly used by the batch job once the job is finished.

post/batch/import

Request

  • Base URL
    https://robotoff.openfoodfacts.org/api/v1
  • URL
    https://robotoff.openfoodfacts.org/api/v1/batch/import
  • Auth
    HTTP bearer

Query parameters

job_type'ingredients_spellcheck' required

The type of batch job launched.

batch_dirstring required
Example:gs://bucket/path/to/batch/results

The directory path where batch job results are stored

Response

Data successfully imported.

statusstring

Request successful. Importing processed data.

Changes

No recorded changes to this operation across all 4 revisions of this API.