Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Add /taxonomies for global taxonomy information #198

Closed
rmccue opened this issue May 13, 2014 · 1 comment
Closed

Add /taxonomies for global taxonomy information #198

rmccue opened this issue May 13, 2014 · 1 comment
Milestone

Comments

@rmccue
Copy link
Member

rmccue commented May 13, 2014

As a less confusing way of using taxonomies, we should add /taxonomies and /taxonomies/<tax> for the global information about these. We can then include a types parameter (probably what I intended for #197) that links out to both /posts/types/<type>/taxonomies/<tax> and /posts/types/<type>/taxonomies/<tax>/terms

@rmccue rmccue added this to the 1.1 milestone May 13, 2014
@tlovett1
Copy link
Member

I agree you should be able to access taxonomies like /taxonomies/.

kellbot pushed a commit to kellbot/WP-API that referenced this issue Aug 1, 2014
It is frequently desirable to know about all taxonomies, regardless
of the post type to which they are associated; it is also convenient
to be able to retrieve taxonomies from a base-level endpoint.

This adds the following routes to the taxonomies class:

- /taxonomies
- /taxonomies/(?P<taxonomy>\w+)
- /taxonomies/(?P<taxonomy>\w+)/terms
- /taxonomies/(?P<taxonomy>\w+)/terms/(?P<term>\w+)

Bug Reference: WP-API#198
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants