{"id":1722,"date":"2017-05-02T17:30:34","date_gmt":"2017-05-02T22:30:34","guid":{"rendered":"https:\/\/www.mysmartbots.com\/blog\/?p=1722"},"modified":"2017-05-02T17:30:34","modified_gmt":"2017-05-02T22:30:34","slug":"sim-control-api-functions-lsl-and-http","status":"publish","type":"post","link":"https:\/\/www.mysmartbots.com\/blog\/2017\/05\/sim-control-api-functions-lsl-and-http\/","title":{"rendered":"Sim control API functions (LSL and HTTP)"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignright size-full wp-image-982\" src=\"https:\/\/www.mysmartbots.com\/blog\/wp-content\/smartbots\/2014\/01\/HTTP-API-updates-second-life-bot.jpg\" alt=\"New HTTP API command: simrestart\" width=\"250\" height=\"200\" \/><em>We are starting to publish the sim\/region-related set of HTTP API functions. These functions allow restarting\u00a0regions, returning objects, ejecting\/banning residents.<\/em><\/p>\n<p>The first function which is available already is\u00a0<a href=\"\/dev\/docs\/HTTP_API\/Bot_Commands\/simrestart\" target=\"_blank\">simrestart<\/a>. The function allows initiating the region\u00a0restart (and canceling the procedure, too).<\/p>\n<p>P.S. These API functions\u00a0<strong>does not<\/strong> require a Sim Governor addon-module.<\/p>\n<p>P.P.S. We&#8217;ve added a shorthand <a href=\"\/dev\/docs\/HTTP_API\/LSL_Helper_Functions\" target=\"_blank\">LSL function to call SmartBots API<\/a>. While API is easily accessible\u00a0in a raw way, using a function may be extremely handy.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are starting to publish the sim\/region-related set of HTTP API functions. These functions allow restarting\u00a0regions, returning objects, ejecting\/banning residents. The first function which is available already is\u00a0simrestart. The function allows initiating the region\u00a0restart (and canceling the procedure, too). P.S. These API functions\u00a0does not require a Sim Governor addon-module. P.P.S. We&#8217;ve added a shorthand LSL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[146],"tags":[240],"_links":{"self":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/1722"}],"collection":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/comments?post=1722"}],"version-history":[{"count":3,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/1722\/revisions"}],"predecessor-version":[{"id":1725,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/1722\/revisions\/1725"}],"wp:attachment":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/media?parent=1722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/categories?post=1722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/tags?post=1722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}