philomena/lib/philomena_web/controllers/api/json
SomewhatDamaged 24b9863699 Featured image API route (#18)
* Add route

`/api/v1/json/features`

Shows current featured image

* Add route

`/api/v1/json/features`

Shows current featured image.

* Removed binding

* Moving this file to a more appropriate name.

* Correctly named and placed

Correctly named and placed to match its module name

* Updated per review

* Changed as per review

Renamed to `PhilomenaWeb.Api.Json.FeaturedController`
Moved to `lib/philomena_web/controllers/api/json/featured_controller.ex`

* Updated route

Route `/api/v1/json/images/featured` now uses `PhilomenaWeb.Api.Json.FeaturedController`

* like this

Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2020-01-05 20:09:45 -05:00
..
image Featured image API route (#18) 2020-01-05 20:09:45 -05:00
search Fix for distance (#16) 2020-01-03 10:37:20 -05:00
comment_controller.ex Adding /api/v1/json/comment/:id endpoint (#13) 2019-12-31 18:25:11 -05:00
forums_controller.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00
image_controller.ex add deletion/duplicate handling to api 2019-12-31 00:10:50 -05:00
oembed_controller.ex conn no longer necessary 2019-12-05 17:57:17 -05:00
posts_controller.ex apparently that was necessary 2020-01-02 19:00:47 -05:00
tag_controller.ex add parameter recoder to api tag controller 2019-12-31 23:22:35 -05:00
topics_controller.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00