Fetching the project model components
Developing
GET
/project/{projectId}/component
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/project//component'
Response Response Example
{
"statusCode": 200,
"success": true,
"message": "Project components retrieved successfully",
"data": [
{
"id": "cmp_abc123",
"name": "Foundation Inspection",
"iconName": "foundation-icon",
"imageUrl": "https://cdn.example.com/icons/foundation.png",
"pickModelId": "mdl_456xyz",
"isThumbnailIcon": false,
"createdAt": "2025-05-30T10:20:30.000Z",
"updatedAt": "2025-05-30T10:20:30.000Z"
},
{
"id": "cmp_def456",
"name": "Electrical Safety",
"iconName": "electric-icon",
"imageUrl": "https://cdn.example.com/icons/electrical.png",
"pickModelId": "mdl_789qwe",
"isThumbnailIcon": false,
"createdAt": "2025-05-30T11:00:00.000Z",
"updatedAt": "2025-05-30T11:00:00.000Z"
}
// ... more components
]
}
Request
Path Params
projectId
stringÂ
required
Responses
Modified at 2025-06-06 16:19:30