wunderio / wunderhub

A central content repository for the WunderSites.
http://docs.wunderhub.apiary.io/
GNU General Public License v2.0
3 stars 3 forks source link

Add a /api endpoint that documents the API, to support self-discovery #34

Open joesb opened 8 years ago

joesb commented 8 years ago

Cf. https://api.github.com/

tormi commented 8 years ago

Hi Joe, have you tried REST UI + REST API DOC combo?

joesb commented 8 years ago

Dude! We use restui already, but I didn't know rest_api_doc existed - it looks perfect! Just what I was starting to build. Excellent. Thanks for the pointer!

joesb commented 8 years ago

Rest API Doc does some great stuff but didn't quite give me all that I wanted, so I offered my code as a patch https://www.drupal.org/node/2621444#comment-10597754

I'll see what happens with that module patch. If it gets added soon, I'll add it to the WunderHub and drop this PR. If not, I'll maybe create a clone of the module on GitHub so I can deploy it with Composer.

cc @tormi

tormi commented 8 years ago

Cool!

tormi commented 8 years ago

@joesb, https://www.drupal.org/node/2621444#comment-10626988