POST /api/v1/machines
Register a new machine with hardware specifications
The Machine Service is a REST API that manages machine hardware profiles for the network boot infrastructure. It stores machine specifications (CPUs, memory, NICs, drives, accelerators) in Firestore and is queried by the Boot Service during boot operations and by administrators for configuration management.
The service is responsible for:
The service is consumed by:
Admin API endpoints are rate-limited to prevent abuse:
Rate limit headers are included in responses:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1700000000
When rate limit is exceeded, API returns 429 Too Many Requests using RFC 7807 Problem Details format (see ADR-0007):
{
"type": "https://api.example.com/errors/rate-limit-exceeded",
"title": "Rate Limit Exceeded",
"status": 429,
"detail": "Rate limit exceeded. Try again in 30 seconds.",
"instance": "/api/v1/machines",
"retry_after": 30
}
All error responses use Content-Type: application/problem+json.
The Admin API uses URL versioning (/api/v1/):
X-API-Version: v1 included in all responsesRegister a new machine with hardware specifications
List all registered machines
Retrieve a specific machine by ID
Update a machine’s hardware profile
Delete a machine registration
Startup probe endpoint for Cloud Run
Liveness probe endpoint for Cloud Run