Статус: Draft Дата: 2026-04-29
1. API principles
- API является product-facing для UI и internal-facing для core-сервисов.
- Долгие действия возвращают ссылку на
control-plane-service, а не исполняются здесь. - Mutating commands должны поддерживать idempotency key и
expected_version. - Сложные графы читаются из read models.
2. API groups
Resources
1 2 3 4 5 6 7 8 | |
Resource types
1 2 | |
Topology
1 2 3 4 5 | |
Capabilities
1 2 3 4 | |
Graph queries
1 2 3 | |
Internal commands from control-plane
1 2 3 | |
3. ResourceUpdateCommand
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
Rules:
- reject if
expected_versiondoes not match; - reject if command is not idempotent and command_id already exists with different payload;
- store operation reference but do not import full operation history.
4. Error categories
1 2 3 4 5 6 7 8 | |