Stay organized with collections
Save and categorize content based on your preferences.
Full name: projects.locations.datasets.annotationStores.annotations.create
Creates a new Annotation record. It is valid to create Annotation objects for the same source more than once since a unique ID is assigned to each record by this service.
HTTP request
POST https://healthcare.googleapis.com/v1beta1/{parent=projects/*/locations/*/datasets/*/annotationStores/*}/annotations
Required. The name of the Annotation store this annotation belongs to. For example, projects/my-project/locations/us-central1/datasets/mydataset/annotationStores/myannotationstore.
Authorization requires the following IAM permission on the specified resource parent:
healthcare.annotations.create
Request body
The request body contains an instance of Annotation.
Response body
If successful, the response body contains a newly created instance of Annotation.
[[["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-01-28 UTC."],[[["This API endpoint `projects.locations.datasets.annotationStores.annotations.create` allows the creation of a new Annotation record within a specified annotation store."],["Each Annotation created, even for the same source, receives a unique ID."],["The request URL uses gRPC Transcoding syntax and requires a `parent` parameter indicating the annotation store's location."],["To use this feature, the request needs to be authorized with either the `healthcare.annotations.create` IAM permission or one of the listed OAuth scopes."],["The endpoint accepts an Annotation object within the request body and returns the newly created Annotation in the response body upon success."]]],[]]