Full name: projects.locations.instances.watchlists.entities.batchAdd
Adds a batch of entities under watchlist.
HTTP request
POST https://chronicle.googleapis.com/v1alpha/{parent}/entities:batchAdd
Path parameters
Parameters
parent
string
Required. The parent resource shared by all entities being added. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist} If this is set, the parent field in the AddWatchlistEntityRequest messages must either be empty or match this field.
Request body
The request body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-27 UTC."],[[["This endpoint, `projects.locations.instances.watchlists.entities.batchAdd`, allows for adding multiple entities to a watchlist in a single request."],["The HTTP request must be a `POST` request to the specified URL, including the required `parent` path parameter to identify the watchlist."],["The request body should contain a JSON object with an array of `AddWatchlistEntityRequest` objects, each specifying an entity to be added."],["The response body will return a JSON object containing an array of `Entity` objects representing the added entities."],["To use this endpoint, the request must include the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the user must have the `chronicle.entities.batchCreate` IAM permission on the `parent` resource."]]],[]]