wp-pwa/worona-wp-plugin

Create /discover endpoint

Closed this issue · 3 comments

Create /discover?first_folder=XXX&last_folder=XXXX endpoint. It has to use is_category(), is_single(),is_author()...

And return {id = XXX, type= XXX}

old comment: https://github.com/B3ST/B3-REST-API/blob/master/helpers/B3_RoutesHelper.php

@luisherranz we opened this issue 2 months ago haha

The endpoint is now working.

Endpoint

/discover

Params

first_folder
last_folder

Supports

  • Post
  • Page
  • Author
  • Category
  • Tag
  • Custom Post type
  • Custom Taxonomy