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.
AuthorizationBearer <token>
Bearer token authentication for batch job import endpoints
In: header
Query Parameters
job_typestring
The type of batch job launched.
Value in
"ingredients_spellcheck"
batch_dirstring
The directory path where batch job results are stored
Response Body
curl -X POST "https://robotoff.openfoodfacts.org/api/v1/batch/import?job_type=ingredients_spellcheck&batch_dir=gs%3A%2F%2Fbucket%2Fpath%2Fto%2Fbatch%2Fresults"
{
"status": "string"
}
Empty