'use client'
import { ApiEndpoint, CodeBlock, ParameterTable } from '@/components/DevPortalLayout'
export function ProjectManagementSection() {
return (
<>
Project Management
Erstellen und verwalten Sie IACE-Projekte fuer einzelne Maschinen oder Produkte.
Request Body
{`curl -X POST "https://api.breakpilot.io/sdk/v1/iace/projects" \\
-H "Authorization: Bearer YOUR_API_KEY" \\
-H "Content-Type: application/json" \\
-d '{
"machine_name": "RoboArm X500",
"machine_type": "Industrieroboter",
"manufacturer": "TechCorp GmbH",
"description": "6-Achsen-Industrieroboter fuer Montagearbeiten"
}'`}
Response (201 Created)
{`{
"success": true,
"data": {
"id": "proj_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"machine_name": "RoboArm X500",
"machine_type": "Industrieroboter",
"manufacturer": "TechCorp GmbH",
"description": "6-Achsen-Industrieroboter fuer Montagearbeiten",
"status": "draft",
"completeness_score": 0,
"created_at": "2026-03-16T10:00:00Z"
}
}`}
{`curl -X GET "https://api.breakpilot.io/sdk/v1/iace/projects" \\
-H "Authorization: Bearer YOUR_API_KEY"`}
Response (200 OK)
{`{
"success": true,
"data": [
{
"id": "proj_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"machine_name": "RoboArm X500",
"machine_type": "Industrieroboter",
"status": "in_progress",
"completeness_score": 72,
"hazard_count": 14,
"created_at": "2026-03-16T10:00:00Z"
}
]
}`}
{`curl -X GET "https://api.breakpilot.io/sdk/v1/iace/projects/proj_a1b2c3d4" \\
-H "Authorization: Bearer YOUR_API_KEY"`}
>
)
}