docbrown/app/views/api/v0/articles
Daniel Uber 2f1dad4e37
Add reading_time to articles api responses (#13446)
* Add reading_time to articles api responses

Fixes #13436

* Update api docs to match changes to the articles response

* Follow up docs updates

- increment api docs version
- add reading_time to articles/me responses
- add reading time to the show response example format

* Change reading_time attribute to reading_time_minutes

Update the article builder to use `article.reading_time` and present
it as `"reading_time_minutes"`.

Update the api spec to expect the new property name instead of the attribute.

* Update api documentation to reflect the new name

- Change reading_time -> reading_time_minutes.
- I decided to keep the (possibly redundant) description text here.
2021-04-19 17:11:55 -05:00
..
_article.json.jbuilder Add reading_time to articles api responses (#13446) 2021-04-19 17:11:55 -05:00
_flare_tag.json.jbuilder
index.json.jbuilder API: Endpoint to get an organization's articles (#12237) 2021-01-13 13:09:58 +01:00
me.json.jbuilder Rubocop: Address Metrics/BlockLength violations (#9246) 2020-07-10 13:53:32 -04:00
onboarding.json.jbuilder [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
show.json.jbuilder