Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 765 lines (554 sloc) 33.128 kb
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
1 <?xml version="1.0" encoding="UTF-8"?>
2 <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4 xmlns:apigee="http://api.apigee.com/wadl/2010/07/"
5 xmlns="http://wadl.dev.java.net/2009/02"
6 xsi:schemaLocation="http://wadl.dev.java.net/2009/02 http://apigee.com/schemas/wadl-schema.xsd http://api.apigee.com/wadl/2010/07/ http://apigee.com/schemas/apigee-wadl-extensions.xsd">
7
8 <!-- Base defines the domain and base path of the endpoint -->
9 <resources base="http://api.nodester.com">
10
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
11 <resource path="coupon">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
12 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
13
14 <!-- Methods should each have a unique id. -->
15 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
16 <method id="request_coupon" name="POST" apigee:displayName="RequestCoupon">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
17
18 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
19 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
20 <apigee:tag primary="true">Coupon</apigee:tag>
21 <apigee:tag>RequestCoupon</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
22 </apigee:tags>
23
24 <!-- Is authentication required for this method? -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
25 <apigee:authentication required="false" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
26
27 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
28 <apigee:example url="/coupon" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
29
30 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
31 <doc title="" apigee:url="http://nodester.com/api.html">
32 Submits a registration coupon request for nodester node.js hosting.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
33 </doc>
34
35 <request>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
36 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
37 <param name="email" required="true" type="xsd:string" style="query" default="">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
38 <!-- Docs are optional, but recommended. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
39 <doc>The email address where you would like the nodester coupon sent</doc>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
40 </param>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
41 </request>
42
43 </method>
44 </resource>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
45
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
46 <resource path="user">
47 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
48
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
49 <!-- Methods should each have a unique id. -->
50 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
51 <method id="create_user" name="POST" apigee:displayName="CreateUser">
52
53 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
54 <apigee:tags>
55 <apigee:tag primary="true">User</apigee:tag>
56 <apigee:tag>CreateUser</apigee:tag>
57 </apigee:tags>
58
59
60 <!-- Is authentication required for this method? -->
61 <apigee:authentication required="false" />
62
63 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
64 <apigee:example url="/user" />
65
66 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
67 <doc title="" apigee:url="http://nodester.com/api.html">
68 Creates a nodester user account with the coupon code received.
69 </doc>
70
71 <request>
72 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
73
74 <param name="coupon" required="true" type="xsd:string" style="query" default="">
75 <doc>Coupon code received from nodester</doc>
76 </param>
77 <param name="user" required="true" type="xsd:string" style="query" default="">
78 <doc>Desired username on nodester</doc>
79 </param>
80 <param name="password" required="true" type="xsd:string" style="query" default="">
81 <doc>Desired password on nodester (do not use special characters like @ symbol)</doc>
82 </param>
83 <param name="email" required="true" type="xsd:string" style="query" default="">
84 <doc>Desired email address on nodester</doc>
85 </param>
86 <param name="rsakey" required="true" type="xsd:string" style="query" default="">
87 <doc>Your RSA key. Ensure that all + in the ssh key are substituted for their %2B counter parts, else your key will break. Run this on your command line to copy your RSA string and swap out the plus signs: "cat ~/.ssh/id_rsa.pub | sed s/'+'/'%2B'/g | pbcopy</doc>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
88 </param>
89
90 </request>
91
92 </method>
93
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
94 <!-- Methods should each have a unique id. -->
95 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
96 <method id="update_user" name="PUT" apigee:displayName="UpdateUser">
97
98 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
99 <apigee:tags>
100 <apigee:tag primary="true">User</apigee:tag>
101 <apigee:tag>UpdateUser</apigee:tag>
102 </apigee:tags>
103
104
105 <!-- Is authentication required for this method? -->
106 <apigee:authentication required="true" />
107
108 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
109 <apigee:example url="/user" />
110
111 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
112 <doc title="" apigee:url="http://nodester.com/api.html">
113 Update a nodester user account i.e. change password, email, rsakey.
114 </doc>
115
116 <request>
117 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
118
119 <param name="password" required="false" type="xsd:string" style="query" default="">
120 <doc>Desired password on nodester (do not use special characters like @ symbol)</doc>
121 </param>
122 <param name="email" required="false" type="xsd:string" style="query" default="">
123 <doc>Desired email address on nodester</doc>
124 </param>
125 <param name="rsakey" required="false" type="xsd:string" style="query" default="">
126 <doc>Your RSA key. Ensure that all + in the ssh key are substituted for their %2B counter parts, else your key will break. Run this on your command line to copy your RSA string and swap out the plus signs: "cat ~/.ssh/id_rsa.pub | sed s/'+'/'%2B'/g | pbcopy</doc>
127 </param>
128
129 </request>
130
131 </method>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
132
133 <!-- Methods should each have a unique id. -->
134 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
135 <method id="delete_user" name="DELETE" apigee:displayName="DeleteUser">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
136
137 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
138 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
139 <apigee:tag primary="true">User</apigee:tag>
140 <apigee:tag>DeleteUser</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
141 </apigee:tags>
142
143
144 <!-- Is authentication required for this method? -->
145 <apigee:authentication required="true" />
146
147 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
148 <apigee:example url="/user" />
149
150 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
151 <doc title="" apigee:url="http://nodester.com/api.html">
152 Delete your nodester user account.
153 </doc>
154
155 </method>
156 </resource>
157
158 <resource path="apps">
159 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
160
161 <!-- Methods should each have a unique id. -->
162 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
163 <method id="get_apps" name="GET" apigee:displayName="GetApps">
164
165 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
166 <apigee:tags>
167 <apigee:tag primary="true">Apps</apigee:tag>
168 <apigee:tag>GetApps</apigee:tag>
169 </apigee:tags>
170
171 <!-- Is authentication required for this method? -->
172 <apigee:authentication required="true" />
173
174 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
175 <apigee:example url="/apps" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
176
177 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
178 <doc title="" apigee:url="http://nodester.com/api.html">
179 Gets a listing of your nodester apps.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
180 </doc>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
181
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
182 </method>
183
184
185 <!-- Methods should each have a unique id. -->
186 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
187 <method id="create_app" name="POST" apigee:displayName="CreateApp">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
188
189 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
190 <apigee:tags>
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
191 <apigee:tag primary="true">Apps</apigee:tag>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
192 <apigee:tag>CreateApp</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
193 </apigee:tags>
194
195
196 <!-- Is authentication required for this method? -->
197 <apigee:authentication required="true" />
198
199 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
200 <apigee:example url="/apps" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
201
202 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
203 <doc title="" apigee:url="http://nodester.com/api.html">
204 Creates a nodester application.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
205 </doc>
206
207 <request>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
208 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
209
210 <param name="appname" required="true" type="xsd:string" style="query" default="">
211 <doc>Desired application name on nodester</doc>
212 </param>
1ef7ec3 @chrismatthieu changed the name applogs get
chrismatthieu authored
213 <param name="start" required="true" type="xsd:string" style="query" default="server.js">
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
214 <doc>Name of your starting javascript file if not server.js</doc>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
215 </param>
216
217 </request>
218
219 </method>
220
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
221 <!-- Methods should each have a unique id. -->
222 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
223 <method id="update_app" name="PUT" apigee:displayName="UpdateApp">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
224
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
225 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
226 <apigee:tags>
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
227 <apigee:tag primary="true">Apps</apigee:tag>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
228 <apigee:tag>UpdateApp</apigee:tag>
229 </apigee:tags>
230
231
232 <!-- Is authentication required for this method? -->
233 <apigee:authentication required="true" />
234
235 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
236 <apigee:example url="/apps" />
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
237
238 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
239 <doc title="" apigee:url="http://nodester.com/api.html">
240 Update a nodester application i.e. change its starting javascript file name.
241 </doc>
242
243 <request>
244 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
245
246 <param name="appname" required="true" type="xsd:string" style="query" default="">
247 <doc>Desired application name on nodester</doc>
248 </param>
1ef7ec3 @chrismatthieu changed the name applogs get
chrismatthieu authored
249 <param name="start" required="true" type="xsd:string" style="query" default="">
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
250 <doc>Name of your starting javascript file if not server.js</doc>
251 </param>
252
253 </request>
254
255 </method>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
256
257 <!-- Methods should each have a unique id. -->
258 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
259 <method id="startstop_app" name="PUT" apigee:displayName="StartStopApp">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
260
261 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
262 <apigee:tags>
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
263 <apigee:tag primary="true">Apps</apigee:tag>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
264 <apigee:tag>Start/Stop App</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
265 </apigee:tags>
266
267
268 <!-- Is authentication required for this method? -->
269 <apigee:authentication required="true" />
270
271 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
272 <apigee:example url="/apps" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
273
274 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
275 <doc title="" apigee:url="http://nodester.com/api.html">
276 Start or stop a nodester application.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
277 </doc>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
278
279 <request>
280 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
281
282 <param name="appname" required="true" type="xsd:string" style="query" default="">
283 <doc>Desired application name on nodester</doc>
284 </param>
285 <param name="running" required="true" type="xsd:string" style="query" default="true">
286 <doc>Set running to true or false to start or stop your application</doc>
287 </param>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
288
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
289 </request>
290
291 </method>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
292
293
294 <!-- Methods should each have a unique id. -->
295 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
296 <method id="delete_app" name="DELETE" apigee:displayName="DeleteApp">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
297
298 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
299 <apigee:tags>
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
300 <apigee:tag primary="true">Apps</apigee:tag>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
301 <apigee:tag>DeleteApp</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
302 </apigee:tags>
303
304
305 <!-- Is authentication required for this method? -->
306 <apigee:authentication required="true" />
307
308 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
309 <apigee:example url="/apps/{appname}" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
310
311 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
312 <doc title="" apigee:url="http://nodester.com/api.html">
313 Delete your nodester application.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
314 </doc>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
315
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
316 <!-- <request>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
317 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
318
319 <param name="appname" required="true" type="xsd:string" style="query" default="">
320 <doc>Name of application to delete on nodester</doc>
321 </param>
322
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
323 </request> -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
324
325 </method>
326
327
328 <method id="app_info" name="GET" apigee:displayName="GetAppInfo">
329
330 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
331 <apigee:tags>
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
332 <apigee:tag primary="true">Apps</apigee:tag>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
333 <apigee:tag>GetAppInfo</apigee:tag>
334 </apigee:tags>
335
336
337 <!-- Is authentication required for this method? -->
338 <apigee:authentication required="true" />
339
340 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
341 <apigee:example url="/apps/{appname}" />
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
342
343 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
344 <doc title="" apigee:url="http://nodester.com/api.html">
345 Get information about your nodester application.
346 </doc>
347
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
348 </method>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
349
25517a2 @chrismatthieu updated apps api changes
chrismatthieu authored
350
351
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
352 </resource>
353
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
354
355 <resource path="applogs">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
356 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
357
358 <!-- Methods should each have a unique id. -->
359 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
1ef7ec3 @chrismatthieu changed the name applogs get
chrismatthieu authored
360 <method id="get_applogs" name="GET" apigee:displayName="GetAppLogs">
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
361
362 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
363 <apigee:tags>
364 <apigee:tag primary="true">AppLogs</apigee:tag>
1ef7ec3 @chrismatthieu changed the name applogs get
chrismatthieu authored
365 <apigee:tag>GetAppLogs</apigee:tag>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
366 </apigee:tags>
367
368 <!-- Is authentication required for this method? -->
369 <apigee:authentication required="true" />
370
371 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
372 <apigee:example url="/applogs/{appname}" />
373
374 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
375 <doc title="" apigee:url="http://nodester.com/api.html">
376 Fetch your nodester application logs.
377 </doc>
378
379 </method>
380 </resource>
381
382 <resource path="env">
383 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
384
385 <!-- Methods should each have a unique id. -->
386 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
387 <method id="get_env" name="GET" apigee:displayName="GetEnv">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
388
389 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
390 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
391 <apigee:tag primary="true">Env</apigee:tag>
392 <apigee:tag>GetEnv</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
393 </apigee:tags>
394
395
396 <!-- Is authentication required for this method? -->
397 <apigee:authentication required="true" />
398
399 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
400 <apigee:example url="/env" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
401
402 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
403 <doc title="" apigee:url="http://nodester.com/api.html">
404 Gets environment information on a key.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
405 </doc>
406
407 <request>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
408 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
409
410 <param name="appname" required="true" type="xsd:string" style="query" default="">
411 <doc>Provide nodester application name</doc>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
412 </param>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
413 <param name="key" required="true" type="xsd:string" style="query" default="">
414 <doc>Provide nodester environment key</doc>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
415 </param>
416
417 </request>
418
419 </method>
420
421 <!-- Methods should each have a unique id. -->
422 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
423 <method id="update_env" name="PUT" apigee:displayName="UpdateEnv">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
424
425 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
426 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
427 <apigee:tag primary="true">Env</apigee:tag>
428 <apigee:tag>UpdateEnv</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
429 </apigee:tags>
430
431
432 <!-- Is authentication required for this method? -->
433 <apigee:authentication required="true" />
434
435 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
436 <apigee:example url="/env" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
437
438 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
439 <doc title="" apigee:url="http://nodester.com/api.html">
440 Update a nodester environment key.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
441 </doc>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
442
443 <request>
444 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
445
446 <param name="appname" required="true" type="xsd:string" style="query" default="">
447 <doc>Provide nodester application name</doc>
448 </param>
449 <param name="key" required="true" type="xsd:string" style="query" default="">
450 <doc>Provide nodester environment key</doc>
451 </param>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
452
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
453 </request>
454
455 </method>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
456
457 <!-- Methods should each have a unique id. -->
458 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
459 <method id="delete_env" name="DELETE" apigee:displayName="DeleteEnv">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
460
461 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
462 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
463 <apigee:tag primary="true">Env</apigee:tag>
464 <apigee:tag>DeleteEnv</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
465 </apigee:tags>
466
467
468 <!-- Is authentication required for this method? -->
469 <apigee:authentication required="true" />
470
471 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
472 <apigee:example url="/env/{appname}/{key}" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
473
474 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
475 <doc title="" apigee:url="http://nodester.com/api.html">
476 Delete nodester environment key.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
477 </doc>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
478
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
479 <!-- <request>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
480 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
481
482 <param name="appname" required="true" type="xsd:string" style="query" default="">
483 <doc>Provide nodester application name</doc>
484 </param>
485 <param name="key" required="true" type="xsd:string" style="query" default="">
486 <doc>Provide nodester environment key</doc>
487 </param>
488
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
489 </request> -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
490
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
491 </method>
492 </resource>
493
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
494 <resource path="status">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
495 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
496
497 <!-- Methods should each have a unique id. -->
498 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
499 <method id="get_status" name="GET" apigee:displayName="GetStatus">
500
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
501 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
502 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
503 <apigee:tag primary="true">Status</apigee:tag>
504 <apigee:tag>GetStatus</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
505 </apigee:tags>
506
507 <!-- Is authentication required for this method? -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
508 <apigee:authentication required="false" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
509
510 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
511 <apigee:example url="/status" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
512
513 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
514 <doc title="" apigee:url="http://nodester.com/api.html">
515 Gets nodester system status.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
516 </doc>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
517
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
518 </method>
519 </resource>
520
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
521 <resource path="npm">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
522 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
523
524 <!-- Methods should each have a unique id. -->
525 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
526 <method id="npm_install" name="POST" apigee:displayName="NPMinstall">
527
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
528 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
529 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
530 <apigee:tag primary="true">NPM</apigee:tag>
531 <apigee:tag>NPMinstall</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
532 </apigee:tags>
533
534 <!-- Is authentication required for this method? -->
535 <apigee:authentication required="true" />
536
537 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
538 <apigee:example url="/npm" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
539
540 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
541 <doc title="" apigee:url="http://nodester.com/api.html">
542 Install, uninstall, and update NPM modules on your nodester application.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
543 </doc>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
544
545 <request>
546 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
547 <param name="appname" required="true" type="xsd:string" style="query" default="">
548 <!-- Docs are optional, but recommended. -->
549 <doc>Provide nodester application name</doc>
550 </param>
551 <param name="action" required="true" type="xsd:string" style="query" default="install">
552 <!-- Docs are optional, but recommended. -->
553 <doc>Values can be install, uninstall, or update</doc>
554 </param>
555 <param name="package" required="true" type="xsd:string" style="query" default="">
556 <!-- Docs are optional, but recommended. -->
557 <doc>Provide the name of the NPM module</doc>
558 </param>
559 </request>
560
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
561 </method>
562 </resource>
563
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
564 <resource path="appdomains">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
565 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
566
567 <!-- Methods should each have a unique id. -->
568 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
569 <method id="get_domains" name="GET" apigee:displayName="GetDomains">
570
571 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
572 <apigee:tags>
573 <apigee:tag primary="true">AppDomains</apigee:tag>
574 <apigee:tag>GetDomains</apigee:tag>
575 </apigee:tags>
576
577
578 <!-- Is authentication required for this method? -->
579 <apigee:authentication required="true" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
580
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
581 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
582 <apigee:example url="/appdomains" />
583
584 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
585 <doc title="" apigee:url="http://nodester.com/api.html">
586 Gets list of your domains.
587 </doc>
588
589 </method>
590
591 <!-- Methods should each have a unique id. -->
592 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
593 <method id="create_domain" name="POST" apigee:displayName="CreateDomain">
594
595 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
596 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
597 <apigee:tag primary="true">AppDomains</apigee:tag>
598 <apigee:tag>CreateDomain</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
599 </apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
600
601
602 <!-- Is authentication required for this method? -->
603 <apigee:authentication required="true" />
604
605 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
606 <apigee:example url="/appdomains" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
607
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
608 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
609 <doc title="" apigee:url="http://nodester.com/api.html">
610 Creates app domain for hosting example.com.
611 </doc>
612
613 <request>
614 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
615
616 <param name="appname" required="true" type="xsd:string" style="query" default="">
617 <doc>Provide nodester application name</doc>
618 </param>
619 <param name="domain" required="true" type="xsd:string" style="query" default="">
620 <doc>Provide your domain such as example.com to nodester</doc>
621 </param>
622
623 </request>
624
625 </method>
626
627 <!-- Methods should each have a unique id. -->
628 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
629 <method id="delete_domain" name="DELETE" apigee:displayName="DeleteDomain">
630
631 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
632 <apigee:tags>
633 <apigee:tag primary="true">AppDomains</apigee:tag>
634 <apigee:tag>DeleteDomain</apigee:tag>
635 </apigee:tags>
636
637
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
638 <!-- Is authentication required for this method? -->
639 <apigee:authentication required="true" />
640
641 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
642 <apigee:example url="/appdomains/{appname}/{domain}" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
643
644 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
645 <doc title="" apigee:url="http://nodester.com/api.html">
646 Deletes app domain for hosting example.com.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
647 </doc>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
648
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
649 <!-- <request>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
650 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
651
652 <param name="appname" required="true" type="xsd:string" style="query" default="">
653 <doc>Provide nodester application name</doc>
654 </param>
655 <param name="domain" required="true" type="xsd:string" style="query" default="">
656 <doc>Provide your domain such as example.com to nodester</doc>
657 </param>
658
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
659 </request> -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
660
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
661 </method>
662 </resource>
663
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
664 <resource path="reset_password">
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
665 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
666
667 <!-- Methods should each have a unique id. -->
668 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
669 <method id="reset_password_post" name="POST" apigee:displayName="ResetPasswordRequest">
670
671 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
672 <apigee:tags>
673 <apigee:tag primary="true">ResetPassword</apigee:tag>
674 <apigee:tag>ResetPasswordRequest</apigee:tag>
675 </apigee:tags>
676
677
678 <!-- Is authentication required for this method? -->
679 <apigee:authentication required="false" />
680
681 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
682 <apigee:example url="/reset_password" />
683
684 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
685 <doc title="" apigee:url="http://nodester.com/api.html">
686 Sends a e-mail with a token to reset your user password.
687 </doc>
688
689 <request>
690 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
691
692 <param name="user" required="true" type="xsd:string" style="query" default="">
693 <doc>Provide your nodester username</doc>
694 </param>
695
696 </request>
697
698 </method>
699
700 <!-- Methods should each have a unique id. -->
701 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
702 <method id="reset_password_put" name="PUT" apigee:displayName="ResetPasswordToken">
703
704 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
705 <apigee:tags>
706 <apigee:tag primary="true">ResetPassword</apigee:tag>
707 <apigee:tag>ResetPasswordToken</apigee:tag>
708 </apigee:tags>
709
710
711 <!-- Is authentication required for this method? -->
712 <apigee:authentication required="true" />
713
714 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
715 <apigee:example url="/reset_password/{token}" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
716
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
717 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
718 <doc title="" apigee:url="http://nodester.com/api.html">
719 Updates your password using the provided token.
720 </doc>
721
722 <request>
723 <param name="Content-Type" required="true" type="xsd:string" style="header" default="application/x-www-form-urlencoded"/>
724
725 <param name="password" required="true" type="xsd:string" style="query" default="">
726 <doc>Provide your new nodester password</doc>
727 </param>
728
729 </request>
730
731 </method>
732
733 </resource>
734
735 <resource path="gitreset">
736 <!-- Resources that are the same but have multiple verbs can have multiple method items in the WADL. -->
737
738 <!-- Methods should each have a unique id. -->
739 <!-- The attribute displayName can be used to control the name that appears in the list in the Console. -->
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
740 <method id="git-reset" name="DELETE" apigee:displayName="GitReset">
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
741
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
742 <!-- Tags are used to organize the list of methods. Primary tag will list the default placement. -->
743 <apigee:tags>
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
744 <apigee:tag primary="true">GitReset</apigee:tag>
745 <apigee:tag>GitReset</apigee:tag>
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
746 </apigee:tags>
747
748 <!-- Is authentication required for this method? -->
749 <apigee:authentication required="true" />
750
751 <!-- Example element is used to specify the sample URL to display in the Console's request URL field. -->
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
752 <apigee:example url="/gitreset/{appname}" />
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
753
754 <!-- The content of the doc element is shown as a tooltip in the Console's method list. -->
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
755 <doc title="" apigee:url="http://nodester.com/api.html">
756 Resets your Nodester git repository and npm list.
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
757 </doc>
a95034e @chrismatthieu updated wadl to conform to new delete apis
chrismatthieu authored
758
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
759 </method>
760 </resource>
761
762
7916e96 @chrismatthieu full api coverage
chrismatthieu authored
763
2f8e10d @chrismatthieu initial checkin
chrismatthieu authored
764 </resources>
765 </application>
Something went wrong with that request. Please try again.