API & IntegrationReference
Project Publishing API
Publish a project, apply, award one applicant, hand off to Module 03.
Base path: /project-publishing. All routes require a session and @RequiresModule("project-publishing"). Misses return 404.
| Method | Path | Permission | Tool |
|---|---|---|---|
| GET | / | project-publishing:read | — |
| GET | /:id | project-publishing:read | — |
| POST | / | project-publishing:publish | create_published_project |
| POST | /:id/publish | project-publishing:publish | publish_project_to_partners |
| POST | /:id/apply | project-publishing:apply | apply_to_published_project |
| GET | /:id/applications | project-publishing:read | — |
| POST | /:id/award | project-publishing:award | award_project_to_applicant |
Create body: project_id, title, mode (ourselves | partners), optional description, required_document_type_ids, external_key.
Award body: application_id, optional external_key. Two concurrent awards cannot both succeed.