Skip to content

Add v2 endpoint to create project in workspace - #689

Merged
MarcelGeo merged 2 commits into
developfrom
feat/issue-3549-v2-create-project
Sep 30, 2026
Merged

MarcelGeo merged 2 commits into
developfrom
feat/issue-3549-v2-create-project

Conversation

@harminius

@harminius harminius commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Resolves https://github.com/MerginMaps/server-private/issues/3549

POST /v2/workspaces/{workspace_id}/projects creates an empty project (v0) and returns a v2 Project object.
Body: name (required).

@harminius
harminius requested review from MarcelGeo and varmar05 and removed request for MarcelGeo September 29, 2026 14:58
@coveralls

coveralls commented Sep 29, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 36685131669

Coverage increased (+0.02%) to 92.69%

Details

  • Coverage increased (+0.02%) from the base build.
  • Patch coverage: 2 uncovered changes across 1 file (69 of 71 lines covered, 97.18%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
server/mergin/sync/public_api_v2_controller.py 27 25 92.59%
Total (4 files) 71 69 97.18%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 11217
Covered Lines: 10397
Line Coverage: 92.69%
Coverage Strength: 0.93 hits per line

💛 - Coveralls

Comment thread server/mergin/sync/public_api_v2.yaml Outdated
name:
type: string
example: survey
public:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we specified, we probably do not need a public flag.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆗

@harminius
harminius requested a review from MarcelGeo September 30, 2026 07:43
@MarcelGeo
MarcelGeo merged commit fe4e869 into develop Sep 30, 2026
5 checks passed
@MarcelGeo
MarcelGeo deleted the feat/issue-3549-v2-create-project branch September 30, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants