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

/widget-types/ endpoint #3

Open
NateWr opened this issue Jan 30, 2016 · 1 comment
Open

/widget-types/ endpoint #3

NateWr opened this issue Jan 30, 2016 · 1 comment

Comments

@NateWr
Copy link
Contributor

NateWr commented Jan 30, 2016

@westonruter I wasn't there for the discussion around switching /widgets/types/ to /widget-types/. But I presume this endpoint should also be switched to /widget-types/[type]?

@westonruter
Copy link
Member

You're right. We talked about this briefly, with the concern that /widgets/types could cause ambiguity with a widget that had an id_base of types if attempting to get all widgets of that type via /widgets/:id_base. True, this would be unlikely, and it's also true that it would be great if we could switch widgets to be universally addressable by a single numeric ID without having to include the id_base prefix.

@kadamwhite kadamwhite transferred this issue from WP-API/menus-endpoints Aug 14, 2019
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

No branches or pull requests

2 participants