Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
harmandeveloperprogram committed Feb 27, 2016
1 parent 959503b commit ab87e03
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/iOS/hkwhub-spec.doctree
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/_build/html/_sources/iOS/hkwhub-spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ When you call the HKIoTCloud API calls, you should pass the value of the access
a. Init session
^^^^^^^^^^^^^^^

- curl -X POST -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://hkiotcloud.herokuapp.com/api/v1/init_session
- curl -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://hkiotcloud.herokuapp.com/api/v1/init_session

This returns the SessionToken. The returned SessionToken is used by all subsequent REST API request in the body.

Expand Down Expand Up @@ -597,7 +597,7 @@ This starts a new session. As a response, the client will receive a SessionToken

.. code-block:: json

curl -X POST -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://<server_host>/api/v1/init_session
curl -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://<server_host>/api/v1/init_session

- Response:

Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/iOS/hkwhub-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ <h4>Get an Access Token and Refresh Token (HKIoTCloud mode only)<a class="header
<div class="section" id="a-init-session">
<h4>a. Init session<a class="headerlink" href="#a-init-session" title="Permalink to this headline"></a></h4>
<ul class="simple">
<li>curl -X POST -H &#8220;Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8&#8221; <a class="reference external" href="http://hkiotcloud.herokuapp.com/api/v1/init_session">http://hkiotcloud.herokuapp.com/api/v1/init_session</a></li>
<li>curl -H &#8220;Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8&#8221; <a class="reference external" href="http://hkiotcloud.herokuapp.com/api/v1/init_session">http://hkiotcloud.herokuapp.com/api/v1/init_session</a></li>
</ul>
<p>This returns the SessionToken. The returned SessionToken is used by all subsequent REST API request in the body.</p>
<div class="code json highlight-python"><div class="highlight"><pre><span class="p">{</span><span class="s">&quot;ResponseOf&quot;</span><span class="p">:</span><span class="s">&quot;init_session&quot;</span><span class="p">,</span><span class="s">&quot;SessionToken&quot;</span><span class="p">:</span><span class="s">&quot;r:abciKaTbUgdpQFuvYtgMm0FRh&quot;</span><span class="p">}</span>
Expand Down Expand Up @@ -651,7 +651,7 @@ <h4>Start Session<a class="headerlink" href="#start-session" title="Permalink to
<dd><ul class="first simple">
<li>Request:</li>
</ul>
<div class="highlight-json"><div class="highlight"><pre>curl -X POST -H &quot;Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8&quot; http://&lt;server_host&gt;/api/v1/init_session
<div class="highlight-json"><div class="highlight"><pre>curl -H &quot;Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8&quot; http://&lt;server_host&gt;/api/v1/init_session
</pre></div>
</div>
<ul class="simple">
Expand Down
4 changes: 2 additions & 2 deletions docs/iOS/hkwhub-spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ When you call the HKIoTCloud API calls, you should pass the value of the access
a. Init session
^^^^^^^^^^^^^^^

- curl -X POST -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://hkiotcloud.herokuapp.com/api/v1/init_session
- curl -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://hkiotcloud.herokuapp.com/api/v1/init_session

This returns the SessionToken. The returned SessionToken is used by all subsequent REST API request in the body.

Expand Down Expand Up @@ -597,7 +597,7 @@ This starts a new session. As a response, the client will receive a SessionToken

.. code-block:: json
curl -X POST -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://<server_host>/api/v1/init_session
curl -H "Authorization: Bearer 15c0507f3a550d7a31f7af5dc45e4dd9fd9f4bc8" http://<server_host>/api/v1/init_session
- Response:

Expand Down

0 comments on commit ab87e03

Please sign in to comment.