Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added gitreset to API docs

  • Loading branch information...
commit 8b6c9369dd0bc1b04bb51ac40f7d8c724c38af03 1 parent 1578c1a
Chris Matthieu chrismatthieu authored

Showing 1 changed file with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. +5 2 api.html
7 api.html
@@ -123,7 +123,7 @@
123 123 <tr><td><b>apps</b></td><td>&nbsp;</td><td>&nbsp;</td></tr>
124 124 <tr><td>&nbsp;</td><td><a class="btn disabled primary">GET</a></td><td><b>/apps</b> - Returns a list of all apps created by a user account (requires basic auth)<br/>
125 125 <code>curl -X GET -u "testuser:123" http://nodester.com/apps</code></td></tr>
126   - <tr><td>&nbsp;</td><td><b>app</b></td><td>&nbsp;</td></tr>
  126 + <tr><td><b>app</b></td><td>&nbsp;</td><td>&nbsp;</td></tr>
127 127 <tr><td>&nbsp;</td><td><a class="btn disabled success">POST</a></td><td><b>/app</b> - Creates nodejs app for hosting (requires basic auth and returns the port address required for use along with a git repo to push to)<br/>
128 128 <code>curl -X POST -u "testuser:123" -d "appname=a&start=hello.js" http://api.nodester.com/app</code></td></tr>
129 129 <tr><td>&nbsp;</td><td><a class="btn disabled">PUT</a></td><td><b>/app</b> - Updates starting app name (requires basic auth, appname, and starting page and returns the port address required for use along with a git repo to push to and running status of the app)<br/>
@@ -147,7 +147,7 @@
147 147 <tr><td><b>status</b></td><td>&nbsp;</td><td>&nbsp;</td></tr>
148 148 <tr><td>&nbsp;</td><td><a class="btn disabled primary">GET</a></td><td><b>/status</b> - Returns platform status and number of apps hosted and running<br/>
149 149 <code>curl http://nodester.com/status</code></td></tr>
150   - <tr><td>&nbsp;</td><td><b>npm</b></td><td>&nbsp;</td></tr>
  150 + <tr><td><b>npm</b></td><td>&nbsp;</td><td>&nbsp;</td></tr>
151 151 <tr><td>&nbsp;</td><td><a class="btn disabled success">POST</a></td><td><b>/npm</b> - Allows you to manage the NPM packages for an application.<br/>
152 152 <code>curl -X POST -u "testuser:123" -d "appname=a&action=install&package=express" http://api.nodester.com/npm</code><br/>
153 153 <code>curl -X POST -u "testuser:123" -d "appname=a&action=update&package=express" http://api.nodester.com/npm</code><br/>
@@ -164,6 +164,9 @@
164 164 <code>curl -X POST -d "user=your_username" http://nodester.com/reset_password</code></td></tr>
165 165 <tr><td>&nbsp;</td><td><a class="btn disabled">PUT</a></td><td><b>/reset_password/&lt;token&gt;</b> - Updates your password using the provided token<br/>
166 166 <code>curl -X PUT -d "password=your_new_password" http://nodester.com/reset_password/&lt;token&gt;</code></td></tr>
  167 + <tr><td><b>gitreset</b></td><td>&nbsp;</td><td>&nbsp;</td></tr>
  168 + <tr><td>&nbsp;</td><td><a class="btn disabled danger">DELETE</a></td><td><b>/gitreset</b> - Resets your Nodester git repository and npm list (pass in appname)<br/>
  169 + <code>curl -X DELETE -u "testuser:123" -d "appname=a" http://api.nodester.com/gitreset</code></td></tr>
167 170
168 171 </table>
169 172

0 comments on commit 8b6c936

Please sign in to comment.
Something went wrong with that request. Please try again.