{"action":"opened","issue":{"url":"https://api.github.com/repos/billimanjaro/billimanjaro/issues/10","labels_url":"https://api.github.com/repos/billimanjaro/billimanjaro/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/billimanjaro/billimanjaro/issues/10/comments","events_url":"https://api.github.com/repos/billimanjaro/billimanjaro/issues/10/events","html_url":"https://github.com/billimanjaro/billimanjaro/issues/10","id":105006868,"number":10,"title":"API documentation","user":{"login":"lord2800","id":715922,"avatar_url":"https://avatars.githubusercontent.com/u/715922?v=3","gravatar_id":"","url":"https://api.github.com/users/lord2800","html_url":"https://github.com/lord2800","followers_url":"https://api.github.com/users/lord2800/followers","following_url":"https://api.github.com/users/lord2800/following{/other_user}","gists_url":"https://api.github.com/users/lord2800/gists{/gist_id}","starred_url":"https://api.github.com/users/lord2800/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lord2800/subscriptions","organizations_url":"https://api.github.com/users/lord2800/orgs","repos_url":"https://api.github.com/users/lord2800/repos","events_url":"https://api.github.com/users/lord2800/events{/privacy}","received_events_url":"https://api.github.com/users/lord2800/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/billimanjaro/billimanjaro/labels/admin","name":"admin","color":"c7def8"},{"url":"https://api.github.com/repos/billimanjaro/billimanjaro/labels/api","name":"api","color":"207de5"},{"url":"https://api.github.com/repos/billimanjaro/billimanjaro/labels/client","name":"client","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-05T06:01:09Z","updated_at":"2015-09-05T06:01:09Z","closed_at":null,"body":"Eventually I'll build a wiki out of this (just like #5), but for now, this will have to suffice. All endpoints prefixed with `/v1` (i.e. `/v1/account/abcd123`).\r\n\r\n- Account\r\n - [ ] `GET /account` - Returns a paginated list with links to the previous and next pages.\r\n - [ ] `GET /account/:id` - Returns an `account` resource based on the specified id.\r\n - [ ] `POST /account` - Create a new `account` resource, will return the `account` resource that was created.\r\n - [ ] `PUT /account/:id` - Update an existing `account` based on the specified id, will return the updated version of the `account` resource.\r\n - [ ] `DELETE /account/:id` - Mark an `account` resource as disabled. Note that it will still be returned by a `GET`, but the `disabled` field will be `true`. Returns no content.\r\n- Package\r\n - [ ] `GET /package` - Returns a paginated list with links to the previous and next pages.\r\n - [ ] `GET /package/:id` - Returns a `package` resource based on the specified id.\r\n - [ ] `POST /package` - Create a new `package` resource, will return the `package` resource that was created.\r\n - [ ] `DELETE /package/:id` - Mark a `package` resource as not `visible`. Note that it will still be returned by a `GET`, but the `visible` field will be `false`. Returns no content.\r\n- Feature\r\n - [ ] `GET /feature` - Returns a paginated list with links to the previous and next pages.\r\n - [ ] `GET /feature/:id` - Returns a `feature` resource based on the specified id.\r\n - [ ] `POST /feature` - Create a new `feature` resource, will return the `feature` resource that was created.\r\n - [ ] `DELETE /feature/:id` - Mark a `feature` resource as not `visible`. Note that it will still be returned by a `GET`, but the `visible` field will be `false`. Returns no content.\r\n- Invoice\r\n - [ ] `GET /invoice/:user` - Returns a paginated list with links to the previous and next pages.\r\n - [ ] `GET /invoice/:user/:id` - Return an `invoice` resource based on the specified id.\r\n- Payment\r\n - [ ] `POST /payment/:userid` - Create a new payment request to be fulfilled with the specified credentials."}}