docbrown/app/views/api/v0
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
..
admin/configs Add configs/show api for admins (#11358) 2020-12-01 12:22:07 -05:00
articles Add reading_time to articles api responses (#13446) 2021-04-19 17:11:55 -05:00
comments [deploy] API: add created_at datetime to comments (#9829) 2020-08-17 20:10:24 -04:00
followers Update GET /followers API endpoint (#13287) 2021-04-13 10:12:42 +07:00
follows API: Add route for fetching a user's followed tags (#9108) 2020-09-18 16:28:42 -05:00
listings API: Endpoint to get an organization's listings (#11823) 2020-12-18 12:20:35 -05:00
organizations API: Endpoint to get an organization's listings (#11823) 2020-12-18 12:20:35 -05:00
podcast_episodes Routine rubocop fixes (#10237) 2020-09-08 12:06:47 -04:00
profile_images [deploy] Introduce /api/profile_images/:username endpoint (#10547) 2020-10-14 14:24:25 -05:00
readinglist [deploy] API - New endpoint to retrieve the articles in the reading list of the authenticated user (#10540) 2020-10-14 13:20:03 -05:00
shared API: Endpoint to get an organization's listings (#11823) 2020-12-18 12:20:35 -05:00
tags Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
users API: Endpoint to get an organization's users (#11514) 2020-11-25 12:50:57 +01:00
videos Return video_source_url in API V0 Videos index (#11040) 2020-11-09 06:27:28 +01:00
webhooks Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00