indexer

POST /indexer-api/v1/full/add

Changed on

Add one or more documents to a running import session.

Request

  • Base URL
    http://indexer-service
  • URL
    http://indexer-service/indexer-api/v1/full/add
  • Auth
    HTTP basic

Request body */*

Example request

{
  "documents": [
    {
      "attributes": [
        {
          "name": "color",
          "value": "red",
          "code": "ff0000"
        }
      ],
      "categories": [
        [
          {
            "id": "7001",
            "name": "Electronics"
          },
          {
            "id": "7011",
            "name": "Notebooks"
          }
        ],
        [
          {
            "id": "9000",
            "name": "Sale"
          }
        ]
      ]
    }
  ]
}

Response

documents successfully added

Changes

    • info

      added subschema #13 to the /// request property anyOf list

    • breaking

      the // request property type changed from no type to array

    • info

      added subschema #7 subschema #8 subschema #9 subschema #10 subschema #11 subschema #12 to the /// request property anyOf list