annotation = item.annotations.get(annotation_id='annotation_id') # # Get a single annotation. # # **Prerequisites**: You must have an item that has been annotated. You must have the role of an *owner* or # *developer* or be assigned a task that includes that item as an *annotation manager* or *annotator*. # # :param str annotation_id: The id of the annotation # :return: Annotation object or None # :return: Annotation object or None # :rtype: dtlpy.entities.annotation.Annotation # #
{- "id": "string",
- "url": "string",
- "type": "class",
- "label": "string",
- "attributes": [
- "string"
], - "coordinates": {
- "x": 0,
- "y": 0,
- "z": 0
}, - "metadata": {
- "property1": null,
- "property2": null
}, - "creator": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "itemId": "string",
- "item": "string",
- "datasetId": "string",
- "dataset": "string",
- "hash": "string",
- "labelSuggestions": {
- "property1": 0,
- "property2": 0
}, - "source": "ui",
- "description": "string",
- "srcAnnotation": "string"
}