#1009 closed enhancement (fixed)
WordCamp JSON API: Expose session & speaker relationship
Reported by: | tareiking | Owned by: | iandunn |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | needs-patch |
Cc: |
Description
When retrieving a individual session via the API (ie: http://sf.wordcamp.org/2014/wp-json/posts/655135), there is no meta / information for the speaker(s) who is assigned to the session.
Similarly, when viewing an individual speaker (http://sf.wordcamp.org/2014/wp-json/posts/652591)
Is it possible to get exposure to the session and speaker relationships via the API?
Change History (7)
#2
@
10 years ago
@iandunn Let me know if you need any help testing a potential patch. A full array session
and speaker
posts sounds ideal!
Hopefully my tickets aren't doubling up on work you already have planned? If you have a roadmap, I'd be happy to take a look before creating new tickets.
#3
@
10 years ago
- Owner set to iandunn
- Status changed from new to accepted
There's no formal roadmap, I'm just working off the feedback I get. It's good to have tickets, though, so keep on creating them :)
Yup, that's already in the works :)
Speakers will have a
sessions
array with fullwcb_session
posts, and Sessions will have aspeaker
post. I've got most of the code written, but there's a recursion bug that I still need to get sorted out.