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

API element resources - full paths #5620

Merged

Conversation

AntonKhorev
Copy link
Collaborator

@AntonKhorev AntonKhorev commented Feb 5, 2025

full is not a standard action name, but it's also not really a nested resource. Here I'm mapping them to show action with a parameter. A similar thing is done with changeset discussions where the discussion/comment elements are extra things added to the usual show output if a parameter is set.

Also there were user/details in #5433 which we didn't turn into a nested resource.

@tomhughes
Copy link
Member

Looks good to me, thanks.

@tomhughes tomhughes merged commit 6df5bd4 into openstreetmap:master Feb 5, 2025
22 checks passed
@AntonKhorev AntonKhorev deleted the api-element-resources--full-paths branch February 6, 2025 12:40
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