Get annotations with component
Developing
GET
/project/{projectId}/annotation/components
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/project//annotation/components'
Response Response Example
{
"status": 200,
"message": "Annotations retrieved successfully",
"data": [
{
"id": "annotation_123abc",
"projectModelId": "projectModel_456def",
"pickModelComponentId": "component_789ghi",
"annotationData": {
"type": "polygon",
"coordinates": [
[
100,
100
],
[
150,
100
],
[
150,
150
],
[
100,
150
]
]
},
"pageNumber": 1,
"createdById": "user_001",
"approvedById": "user_002",
"status": "Approved",
"totalComponents": 5,
"completedComponents": 3,
"estimatedStartDate": "2025-06-10T08:00:00.000Z",
"estimatedEndDate": "2025-06-15T18:00:00.000Z",
"startedAt": "2025-06-10T08:00:00.000Z",
"completedAt": null,
"completionPercentage": 60,
"parentAnnotationId": null,
"createdAt": "2025-06-01T10:00:00.000Z",
"updatedAt": "2025-06-02T15:30:00.000Z"
},
{
"id": "annotation_456def",
"projectModelId": "projectModel_789ghi",
"pickModelComponentId": "component_012jkl",
"annotationData": {
"type": "rectangle",
"coordinates": [
[
200,
200
],
[
250,
200
],
[
250,
250
],
[
200,
250
]
]
},
"pageNumber": 2,
"createdById": "user_003",
"approvedById": null,
"status": "Pending",
"totalComponents": 3,
"completedComponents": 0,
"estimatedStartDate": "2025-06-12T08:00:00.000Z",
"estimatedEndDate": "2025-06-20T18:00:00.000Z",
"startedAt": null,
"completedAt": null,
"completionPercentage": 0,
"parentAnnotationId": "annotation_123abc",
"createdAt": "2025-06-05T12:00:00.000Z",
"updatedAt": "2025-06-05T12:00:00.000Z"
}
]
}
Request
Path Params
projectId
stringÂ
required
Responses
Modified at 2025-06-06 15:14:55