Bulk Documents

POST /{appname}/search/{servicename}/_bulk

Index multiple documents in one batch call to the server.

Parameters

Path Parameters

  • appname - string - the name of your hyper cloud application.
    • value requirements
      • must begin with a lowercase letter (a-z)
      • must be lowercase letters (a-z)
      • digits (0-9)
      • any of these characters _ $ + -
  • servicename - string - the name of your hyper cloud service. see Parameters.

Request Body

The id property is required for each document in the request body.

JSON

Example

Curl

Responses

Status Code

Description

Example Response

200

Success

{"ok": true, "results": []}

500

Error

{"ok": false, "msg": "..."}

401

Access Denied

{"ok": false, "msg": "not authorized"}

403

Forbidden

{"ok":false,"msg":"Forbidden"}

Need Help?

You can always reach out to our support team for any additional assistance on slack.

ο»Ώ