Permalink
Browse files

[docs] fixes keys docs and links it from webhooks

  • Loading branch information...
1 parent 26895b9 commit e0333e879181767142e3f443368f143ac8da8a6a @dscape dscape committed Nov 21, 2012
Showing with 10 additions and 10 deletions.
  1. +9 −9 chapters/json_api.md
  2. +1 −1 chapters/webhooks.md
View
@@ -112,12 +112,7 @@ All User accounts must be confirmed. When a new User is created, a confirmation
Token and provider are mandatory
- PUT /users/:user-id/tokens/:token-id
- {
- token: "SEVMTE8gWUVTIEkgQU0gRE9HCg", // mandatory
- provider: "github", // mandatory
- id: "a string id 123" // optional, helps humans identify the key
- }
+ POST /users/:user-id/tokens
### Get User Third Party Tokens
@@ -131,13 +126,18 @@ Third Party tokens serve this purpose. The current supported providers are:
GET /users/:user-id/thirdparty
```
-### Delete an API Token
+### Delete an Third Party Token
DELETE /users/:user-id/thirdparty/:token-id
-### Create an API Token
+### Create an Third Party Token
- PUT /users/:user-id/thirdparty/:token-id
+ POST /users/:user-id/thirdparty
+ {
+ token: "SEVMTE8gWUVTIEkgQU0gRE9HCg", // mandatory
+ provider: "github", // mandatory
+ id: "a string id 123" // optional, helps humans identify the key
+ }
## Databases
View
@@ -3,7 +3,7 @@
Access the `Admin` section on your open source node.js Github repository. Click `Service Hooks` and then `Nodejitsu`. You will be presented with a form with four fields:
* Username, which defaults to your Github username
-* Password, your password or a valid Nodejitsu authentication token
+* Password, your password or a valid [Nodejitsu API authentication token](https://github.com/nodejitsu/handbook#create-an-api-token)
* Branch, where you can define the branch you wish to deploy and defaults to master
* Endpoint, which defaults to https://webhooks.nodejitsu.com

0 comments on commit e0333e8

Please sign in to comment.