Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass only HEAD and GET /api/0.6/(elements) requests to cgimap #738

Merged

Conversation

AntonKhorev
Copy link
Contributor

In openstreetmap/openstreetmap-website#5591 I added a standard create action for elements to OSM API. It's performed by POSTs at element index routes:

  • /api/0.6/nodes
  • /api/0.6/ways
  • /api/0.6/relations

However those are still mapped to cgimap on the servers, even though cgimap doesn't support POST requests at these paths. cgimap doesn't have any functionality for single-element writes and there are no plans to add it, only changeset uploads are supported for writing map data.

@tomhughes tomhughes merged commit 898b244 into openstreetmap:master Feb 11, 2025
102 checks passed
@AntonKhorev AntonKhorev deleted the cgimap-elements-get-only branch February 11, 2025 13:14
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.

2 participants