capabilities.work

Index or replace a document with POST and an ID

One step with Elastic Stack. We can help you get access.

Get something done

Index or replace a document with POST and an ID

Use Elastic Stack: its Elk Stack Document API lets you index or replace a document with POST and an ID in a single step (POST /{index}/_doc/{id}). capabilities.work can help you get signed up and connected.

  • Can I POST a document to _doc with an explicit ID to add or overwrite it?
  • Which op_type should I pass to a POST _doc request so it only creates?
Say it to your AI assistant
  • POST my JSON to _doc as document {id} in index {index}.
  • Using POST with ID {id}, write to {index} with op_type {op_type}.
For your developer

POST /{index}/_doc/{id} in Elk Stack Document API. Full spec on APIs.io.