GaiaSup static page / docs / restapi / subscribe_node.html

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <title>Subscribe Node (Single) - REST API - Documentation - GaiaSup</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="GaiaSup,LBS,Geo,Spatial,Location Base Service,Spatial Publish Subscribe,SPS,ImonCloud" />
    <meta name="description" content="Spatial PubSub Service for your Geo / Spatial / Location Base Service in the cloud by Imonology">
    <meta name="author" content="Imonology LLC">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />

    <!-- styles -->
    <link href="../../assets/css/bs_united.css" rel="stylesheet">
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
    </style>
    <link href="../../assets/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="../../assets/css/prettify.css" rel="stylesheet">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- fav and touch icons -->
    <!--<link rel="shortcut icon" href="./assets/ico/favicon.ico">-->
    <!--<link rel="apple-touch-icon-precomposed" sizes="144x144" href="./assets/ico/apple-touch-icon-144-precomposed.png">-->
    <!--<link rel="apple-touch-icon-precomposed" sizes="114x114" href="./assets/ico/apple-touch-icon-114-precomposed.png">-->
    <!--<link rel="apple-touch-icon-precomposed" sizes="72x72" href="./assets/ico/apple-touch-icon-72-precomposed.png">-->
    <!--<link rel="apple-touch-icon-precomposed" href="./assets/ico/apple-touch-icon-57-precomposed.png">-->
  </head>

  <body onload="prettyPrint()">

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="/">GaiaSup</a>
          <div class="nav-collapse">
            <ul class="nav">
              <li><a href="/">Home</a></li>
              <li><a href="/pricing">Pricing</a></li>
              <li><a href="/manage">Manage</a></li>
              <li class="active"><a href="/doc/api">Documentation</a></li>
              <li><a data-toggle="modal" href="#contact">Contact us</a></li>
              <!--<li><a href="/contact">Contact us</a></li>-->
            </ul>

            <!-- The drop down menu -->
            <ul class="nav pull-right">
              <li><a href="/login">Log In / Sign Up</a></li>
              <!--<li class="divider-vertical"></li>-->
              <!--<li class="drop down">-->
              <!--<a class="dropdown-toggle" href="#" data-toggle="dropdown">Log In <strong class="caret"></strong></a>-->
              <!--<div class="dropdown-menu" style="padding: 15px; padding-bottom: 0px;">-->
                <!--<form id="frmLogin">-->
                  <!--<input id="txtUserID" style="margin-bottom: 15px;" type="text" name="txtUserID" size="30" />-->
                  <!--<input id="txtUserPW" style="margin-bottom: 15px;" type="password" name="txtUserPW" size="30" />-->

                  <!--<input class="btn btn-primary" style="clear: left; width: 100%; height: 32px; font-size: 13px;" type="button" id="btnLogin" name="btnLogin" value="Log In" />-->
                <!--</form>-->
              <!--</div>-->
              <!--</li>-->
            </ul>
          </div>
          <!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">
      <ul class="breadcrumb">
        <li><a href="/doc/api">Documentation</a> <span class="divider"></span></li>
        <li><a href="/doc/api">REST API</a> <span class="divider"></span></li>
        <li><a href="/doc/api#node">Node</a> <span class="divider"></span></li>
        <li class="active">Subscribe Node (Single)</li>
      </ul>
      <div class="hero-unit">
        <h2>Subscribe Node (Single)</h2>
        <em>Subscribe the updates of a Node.</em>
        <div>
          <br/>
          <strong>Resource URL: </strong>
          <pre><strong>http://api.gaiasup.com/subscribe/node/</strong><em>:target_apikey/:target_layer/:target_ident</em></pre>
          <br/>
        </div>
        <table class="table">
          <thead>
            <tr>
              <th class="span3">Parameters</th>
              <th>Description</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>
                :target_apikey
              </td>
              <td>
                <div>
                  The API key of the Node to be subscribed.
                </div>
                <br/>
                <div>
                  <strong>Example Value: </strong>
                  <span>946671ce7ecd0002eb8b608ebea86e54f070716d</span>
                </div>
              </td>
            </tr>
            <tr>
              <td>
                :target_layer
              </td>
              <td>
                <div>
                  Layer of the Node to be subscribed.
                </div>
                <br/>
                <div>
                  <strong>Example Value: </strong>
                  <span>GaiaSup</span>
                </div>
              </td>
            </tr>
            <tr>
              <td>
                :target_ident
              </td>
              <td>
                <div>
                  Identification string of the Node to be subscribed.
                </div>
                <br/>
                <div>
                  <strong>Example Value: </strong>
                  <span>BlueT</span>
                </div>
              </td>
            </tr>
          </tbody>
        </table>

        <div>
          <br/>
          <strong>Example Request -- </strong>
          <span class="label label-success">GET</span>
          <br/> <br/>
          <pre><strong>http://api.gaiasup.com/subscribe/node/</strong><em>946671ce7ecd0002eb8b608ebea86e54f070716d/GaiaSup/BlueT</em></pre>
          <br/>
        </div>
        <strong>Return Result</strong>
        <br/> <br/>
        <pre class="prettyprint linenums language-js">
["OK",[]]
        </pre>
      </div>


    <hr>

    <footer>
    <center>
      <p>&copy; 2012, <a href="http://imonology.com/" target="_blank">Imonology, LLC</a>. All rights reserved.</p>
    </center>
    </footer>

    </div>
    <!-- /container -->

    <!-- Modals -->
    <div class="modal hide fade" id="contact">
      <div class="modal-header">
        <a class="close" data-dismiss="modal">×</a>
        <h3>Contact us</h3>
      </div>
      <div class="modal-body">
        <p>You can send feedback or report bug to <a href="mailto:contact@GaiaSup.com">contact@GaiaSup.com</a></p>
      </div>
      <div class="modal-footer">
        <a data-dismiss="modal" href="#" class="btn btn-primary" id="ContactUsClose">Close</a>
      </div>
    </div>

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="../../assets/js/jquery.js"></script>
    <script src="../../assets/js/bootstrap-transition.js"></script>
    <script src="../../assets/js/bootstrap-alert.js"></script>
    <script src="../../assets/js/bootstrap-modal.js"></script>
    <script src="../../assets/js/bootstrap-dropdown.js"></script>
    <script src="../../assets/js/bootstrap-scrollspy.js"></script>
    <script src="../../assets/js/bootstrap-tab.js"></script>
    <script src="../../assets/js/bootstrap-tooltip.js"></script>
    <script src="../../assets/js/bootstrap-popover.js"></script>
    <script src="../../assets/js/bootstrap-button.js"></script>
    <script src="../../assets/js/bootstrap-collapse.js"></script>
    <script src="../../assets/js/bootstrap-carousel.js"></script>
    <script src="../../assets/js/bootstrap-typeahead.js"></script>

    <script src="../../assets/js/prettify.js"></script>

    <script type="text/javascript" charset="utf-8">
      $(document).ready( function () {
      $('.accordion-body').collapse('hide');
      });
    </script>

  </body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.