This repository has been archived by the owner. It is now read-only.

Add /taxonomies for global taxonomy information #198

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

Comments

Projects
None yet
2 participants
@rmccue
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

@rmccue rmccue added the Enhancement label May 13, 2014

@tlovett1

This comment has been minimized.

Show comment
Hide comment
@tlovett1

tlovett1 May 16, 2014

Member

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

Member

tlovett1 commented May 16, 2014

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

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

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: WP-API#198

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

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: WP-API#198

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

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: WP-API#198

@rmccue rmccue added the Has Patch label Jun 2, 2014

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

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: WP-API#198
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.