Add /taxonomies for global taxonomy information #198

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

Comments

Projects
None yet
2 participants
Owner

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 added this to the 1.1 milestone May 13, 2014

rmccue added the Enhancement label May 13, 2014

Member

tlovett1 commented May 16, 2014

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

@kadamwhite kadamwhite added a commit to kadamwhite/WP-API that referenced this issue May 23, 2014

@kadamwhite kadamwhite Add /taxonomies routes
It is frequently desireable to know about all taxonomies, regardless
of the post type to which they are bound; it is also more convenient
to be able to retrieve taxonomies from a base-level endpoint even
with the default post types and taxonomies.

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: #198
59c0806

@kadamwhite kadamwhite added a commit to kadamwhite/WP-API that referenced this issue May 23, 2014

@kadamwhite kadamwhite Add /taxonomies routes
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: #198
fb205c7

@kadamwhite kadamwhite added a commit to kadamwhite/WP-API that referenced this issue May 27, 2014

@kadamwhite kadamwhite Add /taxonomies routes
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: #198
ea234ea

rmccue added the Has Patch label Jun 2, 2014

rachelbaker closed this in #211 Jun 9, 2014

@kellbot kellbot pushed a commit to kellbot/WP-API that referenced this issue Aug 1, 2014

@kadamwhite kadamwhite Add /taxonomies routes
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: #198
2a9da99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment