Document

Create or update document

post/api/{index}/_doc

Request

  • Base URL
    http://localhost:4080
  • URL
    http://localhost:4080/api/{index}/_doc
  • Auth
    HTTP basic

Path parameters

indexstring required

Index

Request body

object required

Response

OK

idstring
messagestring

Example response

{
  "id": "id",
  "message": "message"
}

Changes

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