pantheon-deprecated / terminus-deprecated

Deprecated CLI for Pantheon. Do not install. Current project:
https://github.com/pantheon-systems/cli
82 stars 24 forks source link

API Documentation #93

Open mikemilano opened 10 years ago

mikemilano commented 10 years ago

I think functionality is probably the priority now, but it would be helpful to contributors & consumers if the API was documented well.

Even if the intent is to approach this in another rev of the API, it would be helpful to have a little more info.

For example, here are just a couple questions that come up when looking at the API:

Eventual API documentation would have these for each call:

jwshea commented 10 years ago

:+1:

mikemilano commented 10 years ago

I've been wanting to test apiary.io for a while, and this was a good case to test it with. Their editor is pretty awesome, the documentation format is great, and it seems to provide for a solid collaboration platform for documenting APIs.

I haven't tried it, but it looks like they have tools on github so you don't have to host the docs with them as well.

http://docs.terminus.apiary.io/

I started some documentation there. It's a little tricky since the API isn't entirely restful with the path in a query string, but I think it will work.

I sent editor invites to Josh & Jon in case it's an option for documenting this API.

joshkoenig commented 10 years ago

Sweet! I think this would be a good call, and we're Heavybit siblings with Apiari, so we've got a good pipeline for feature suggestions and inside info. ;)

patcon commented 10 years ago

:+1: @mikemilano

mikemilano commented 10 years ago

Heavybit has some awesome companies listed, and Pantheon is right next to Apiary :) Stripe is there too, which is one of the best and well documented API's I've worked with.

I'll use this thread to identify questions that I've had, or have ended up figuring out, so the obvious items that should be documented are identified.