Create a document only if its ID is new (POST)
One step with Elastic Stack. We can help you get access.
Get something done
Create a document only if its ID is new (POST)
with Elastic Stack
Use Elastic Stack: its Elk Stack Document API lets you create a document only if its ID is new (POST) in a single step (POST /{index}/_create/{id}). capabilities.work can help you get signed up and connected.
- Can I POST to the _create endpoint so a duplicate document ID is rejected rather than overwritten?
- Which pipeline option applies when I POST a create-only document into a data stream?
Say it to your AI assistant
- POST to _create to add document {id} to {index} only if the ID is unused.
- Using POST on _create, insert document {id} in {index} via pipeline {pipeline}.
For your developer
POST /{index}/_create/{id} in Elk Stack Document API. Full spec on APIs.io.