AttachProjectGatewayProject
POST/admin/v1/project-gateways/:id/projects
Attach a project to a project gateway (idempotent). Establishes a gateway<->project binding in the many-to-many project_gateway_projects relationship.
A project gateway may host only ONE project: attaching a second, different project is rejected (detach the current project first). Re-attaching the same project is a no-op.
Ensure the attached project has assigned models BEFORE setting the
gateway's URL: under strict isolation a gateway with no assigned models
serves an EMPTY route map and will return 404 for every request. The
response carries any such warnings in the warnings field.
Request
Responses
- 200
Success