adding the ingest endpoint