Skip to content

Commit 0e6fb3d

Browse files
committed
formatting changes
1 parent 3947a18 commit 0e6fb3d

File tree

5 files changed

+20
-21
lines changed

5 files changed

+20
-21
lines changed

opensolar/api/investors.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ Register Investor
66
{% endapi-method-summary %}
77

88
{% api-method-description %}
9-
10-
`curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" -d 'username=vgpwhash=e9a75486736a550af4fea861e2378305c4a555a05094dee1dca2f68afea49cc3a50e8de6ea131ea521311f4d6fb054a146e8282f8e35ff2e6368c1a62e909716&name=varunram&seedpwd=x&token=XEtmufgCPuKZGZkOUDUUEMBIqbuLIAwJ' "http://api2.openx.solar/investor/register?username=vg&token=XEtmufgCPuKZGZkOUDUUEMBIqbuLIAwJ"`
9+
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" -d 'username=vg&pwhash=e9a75486736a550af4fea861e2378305c4a555a05094dee1dca2f68afea49cc3a50e8de6ea131ea521311f4d6fb054a146e8282f8e35ff2e6368c1a62e909716&name=varunram&seedpwd=x&token=XEtmufgCPuKZGZkOUDUUEMBIqbuLIAwJ' "http://api2.openx.solar/investor/register"
1110
{% endapi-method-description %}
1211

1312
{% api-method-spec %}
@@ -51,7 +50,7 @@ Validate Investor
5150
{% endapi-method-summary %}
5251

5352
{% api-method-description %}
54-
**curl -X GET "**http://api2.openx.solar/investor/validate?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft**"**
53+
curl -X GET "http://api2.openx.solar/investor/validate?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft"
5554
{% endapi-method-description %}
5655

5756
{% api-method-spec %}
@@ -87,7 +86,7 @@ Get all Investors
8786
{% endapi-method-summary %}
8887

8988
{% api-method-description %}
90-
**curl -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" "**http://api2.openx.solar/investor/all**"**
89+
curl -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" "http://api2.openx.solar/investor/all"
9190
{% endapi-method-description %}
9291

9392
{% api-method-spec %}

opensolar/api/particleio.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Get all devices
66
{% endapi-method-summary %}
77

88
{% api-method-description %}
9-
**curl -X GET "**http://api2.openx.solar/particle/devices?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&productInfo=blah**"**
9+
curl -X GET "http://api2.openx.solar/particle/devices?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&productInfo=blah"
1010
{% endapi-method-description %}
1111

1212
{% api-method-spec %}
@@ -46,7 +46,7 @@ Get Product Info
4646
{% endapi-method-summary %}
4747

4848
{% api-method-description %}
49-
**curl -X GET "**http://api2.openx.solar/particle/productinfo?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&productInfo=blah**"**
49+
curl -X GET "http://api2.openx.solar/particle/productinfo?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&productInfo=blah"
5050
{% endapi-method-description %}
5151

5252
{% api-method-spec %}
@@ -118,7 +118,7 @@ Ping Device
118118
{% endapi-method-summary %}
119119

120120
{% api-method-description %}
121-
**curl -X GET "**http://api2.openx.solar/particle/deviceping?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&deviceId=blah**"**
121+
curl -X GET "http://api2.openx.solar/particle/deviceping?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&deviceId=blah"
122122
{% endapi-method-description %}
123123

124124
{% api-method-spec %}
@@ -154,7 +154,7 @@ Signal Device
154154
{% endapi-method-summary %}
155155

156156
{% api-method-description %}
157-
**curl -X GET "**http://api2.openx.solar/particle/devicesignal?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&deviceId=blah&signal=on**"**
157+
curl -X GET "http://api2.openx.solar/particle/devicesignal?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&deviceId=blah&signal=on"
158158
{% endapi-method-description %}
159159

160160
{% api-method-spec %}
@@ -190,7 +190,7 @@ Get Device ID
190190
{% endapi-method-summary %}
191191

192192
{% api-method-description %}
193-
**curl -X GET "**http://api2.openx.solar/particle/getdeviceid?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&serialNumber=blah**"**
193+
curl -X GET "http://api2.openx.solar/particle/getdeviceid?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&serialNumber=blah"
194194
{% endapi-method-description %}
195195

196196
{% api-method-spec %}
@@ -226,7 +226,7 @@ Get last diagnostic
226226
{% endapi-method-summary %}
227227

228228
{% api-method-description %}
229-
**curl -X GET "**http://api2.openx.solar/particle/diag/last?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&deviceId=blah**"**
229+
curl -X GET "http://api2.openx.solar/particle/diag/last?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&deviceId=blah"
230230
{% endapi-method-description %}
231231

232232
{% api-method-spec %}
@@ -262,7 +262,7 @@ Get all diagnostics
262262
{% endapi-method-summary %}
263263

264264
{% api-method-description %}
265-
**curl -X GET "**http://api2.openx.solar/particle/diag/all?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&deviceId=blah**"**
265+
curl -X GET "http://api2.openx.solar/particle/diag/all?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah&deviceId=blah"
266266
{% endapi-method-description %}
267267

268268
{% api-method-spec %}
@@ -298,7 +298,7 @@ Get User Info
298298
{% endapi-method-summary %}
299299

300300
{% api-method-description %}
301-
**curl -X GET "**http://api2.openx.solar/particle/user/info?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah**"**
301+
curl -X GET "http://api2.openx.solar/particle/user/info?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah"
302302
{% endapi-method-description %}
303303

304304
{% api-method-spec %}
@@ -330,7 +330,7 @@ Get sim card info
330330
{% endapi-method-summary %}
331331

332332
{% api-method-description %}
333-
**curl -X GET"**http://api2.openx.solar/particle/sims?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah**"**
333+
**curl -X GET"**http://api2.openx.solar/particle/sims?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&accessToken=blah"
334334
{% endapi-method-description %}
335335

336336
{% api-method-spec %}

opensolar/api/recipients.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Get all recipients
66
{% endapi-method-summary %}
77

88
{% api-method-description %}
9-
**curl -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" "**http://api2.openx.solar/recipient/all**"**
9+
**curl -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" "**http://api2.openx.solar/recipient/all"
1010
{% endapi-method-description %}
1111

1212
{% api-method-spec %}
@@ -86,7 +86,7 @@ Validate Recipient
8686
{% endapi-method-summary %}
8787

8888
{% api-method-description %}
89-
**curl -X GET "**http://api2.openx.solar/recipient/validate?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft**"**
89+
curl -X GET "http://api2.openx.solar/recipient/validate?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft"
9090
{% endapi-method-description %}
9191

9292
{% api-method-spec %}
@@ -294,7 +294,7 @@ Choose blind auction
294294
{% endapi-method-summary %}
295295

296296
{% api-method-description %}
297-
**curl -X GET "**http://api2.openx.solar/recipient/auction/choose/blind?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft**"**
297+
curl -X GET "http://api2.openx.solar/recipient/auction/choose/blind?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft"
298298
{% endapi-method-description %}
299299

300300
{% api-method-spec %}
@@ -330,7 +330,7 @@ Choose vickrey auction
330330
{% endapi-method-summary %}
331331

332332
{% api-method-description %}
333-
**curl -X GET "**http://api2.openx.solar/recipient/auction/choose/vickrey?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft**"**
333+
curl -X GET "http://api2.openx.solar/recipient/auction/choose/vickrey?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft"
334334
{% endapi-method-description %}
335335

336336
{% api-method-spec %}
@@ -366,7 +366,7 @@ Choose time auction
366366
{% endapi-method-summary %}
367367

368368
{% api-method-description %}
369-
**curl -X GET "**http://api2.openx.solar/recipient/auction/choose/time?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft**"**
369+
curl -X GET "http://api2.openx.solar/recipient/auction/choose/time?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft"
370370
{% endapi-method-description %}
371371

372372
{% api-method-spec %}
@@ -566,7 +566,7 @@ Get Asset Trust Limit
566566
{% endapi-method-summary %}
567567

568568
{% api-method-description %}
569-
**curl -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" "**http://api2.openx.solar/user/increasetrustlimit?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&trust=10&seedpwd=x**"**
569+
**curl -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" "**http://api2.openx.solar/user/increasetrustlimit?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&trust=10&seedpwd=x"
570570
{% endapi-method-description %}
571571

572572
{% api-method-spec %}

opensolar/api/stages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Get data associated with a specific stage
221221
{% endapi-method-summary %}
222222

223223
{% api-method-description %}
224-
**curl -X GET "**http://api2.openx.solar/stages?index=1**"**
224+
curl -X GET "http://api2.openx.solar/stages?index=1"
225225
{% endapi-method-description %}
226226

227227
{% api-method-spec %}

openx/api/stablecoin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Get Stablecoin
1010
{% endapi-method-summary %}
1111

1212
{% api-method-description %}
13-
This endpoint fetches test stablecoin**curl -X GET "**http://api2.openx.solar/stablecoin/get?seed=SA5DXUTRWHQXOHPISTRLPH55NIUOSV2GB5NDTOSZ7H33KOK2TYYU556O&amount=1&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&username=john**"**
13+
This endpoint fetches test stablecoincurl -X GET "http://api2.openx.solar/stablecoin/get?seed=SA5DXUTRWHQXOHPISTRLPH55NIUOSV2GB5NDTOSZ7H33KOK2TYYU556O&amount=1&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&username=john"
1414
{% endapi-method-description %}
1515

1616
{% api-method-spec %}

0 commit comments

Comments
 (0)