xiaohutai / jsonapi

[Bolt Extension] JSON API for Bolt CMS

Home Page:https://market.bolt.cm/view/bolt/jsonapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Owner name in posts fields

HorlogeSkynet opened this issue ยท comments

Hey over here !

We started (again) working with your API, but one question remains for us : How could we retrieve the owner name of a post easily (users.displayname within the Bolt Schema) ?
attributes object already contains a ownerid field but it's a kinda pretty limited piece of information...

Thanks, bye ๐Ÿ‘‹

I've made a solution in a PR. But I'm not sure if this is the nicest approach. The PR #85 adds a ownerdisplayname if you set enabledisplaynames to true in your config file.

Hey ! Thanks for this. I fear we are not enough "used to" Bolt and Plugins environment to share your concerns, but as long as "it just works" we'd be totally OK ๐Ÿ˜ƒ

Closing here as #85 is opened.

I'll hope to have it merged next week or so ๐Ÿ‘

Perfect, that's pretty cool actually.
Could we expect to have a thought before from Bob or Gawain maybe ? ๐Ÿค”