[wp-meta] [Making WordPress.org] #5569: rest api not returns all information about some embedded objects of post

Making WordPress.org noreply at wordpress.org
Sun Jan 10 04:08:25 UTC 2021


#5569: rest api not returns all information about some embedded objects of post
-----------------------------+--------------------
 Reporter:  sashakozlovskiy  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:
Component:  General          |   Keywords:
-----------------------------+--------------------
 When i want to get all information,for example,about category of post,i
 can get only name and id of category. But i want to get also description
 of category. Yes,i know,that i can do aditional http request,using
 category id,but why for author i have this information,but for category
 and may be for tag - not? Please fix this issue in your rest api. Also i
 have field links,but i don't want to have this in json. Why in json i get
 it? You can see example of this  issues in link https://опиши-мне.рф/wp-
 json/wp/v2/posts/1935?_fields=id,title&_embed=author,wp:term. Thank you
 for your reply.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5569>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list