Now, the GET requests on the /{tenant}/{client}/indexes/{type}/{name} and /{tenant}/{client}/indexes/{type} endpoints return new response bodies.

This change was announced in this release note and provides the response format that meets the highest standards of consistency between different types of requests.

Responses for GET requests, such as requests to the /{tenant}/{client}/indexes/{type} endpoint, look similar to the example shown:


  {
    "keys" : {
      "$text" : true,
      "name" : 1,
      "code" : -1
    },
    "options" : {
      "name" : "indexName",
      "unique" : true,
      "sparse" : true,
      "weights" : {
        "$all" : 1,
        "title" : 5,
        "description" : 3
      },
      "default_language" : "english"
    }
  },
    ...
]

To learn more, refer to the latest API console API console.

  • Send feedback

    If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.

  • Get Help

    Use our private help channel. Receive updates over email and contact our specialists directly.

  • hybris Experts

    If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.