Home Pricing About Contact

API

There are 4 remote requests that can be made to LinkLuna

url: http://linkluna.onomojo.com/remote_request/categories/#{LINKLUNA_DOMAIN_ID}
response:
    <?xml version="1.0" encoding="UTF-8"?>
<categories>
  <category>
    <description>Blogs that have to do with seo</description>
    <domain-id type="integer">19</domain-id>
    <id type="integer">27</id>
    <name>SEO Blogs</name>
  </category>

  <category>
    <description>Blogs that deal with online marketing</description>
    <domain-id type="integer">19</domain-id>
    <id type="integer">28</id>
    <name>Marketing blogs</name>
  </category>
  <category>

    <description>Software that helps with seo</description>
    <domain-id type="integer">19</domain-id>
    <id type="integer">29</id>
    <name>SEO Software</name>
  </category>
</categories>
  
url: http://linkluna.onomojo.com/remote_request/links/#{LINKLUNA_DOMAIN_ID}?category=#{category}
response:
<?xml version="1.0" encoding="UTF-8"?>
<links>
  <link>
    <category-id type="integer">27</category-id>
    <contact-id type="integer">58</contact-id>
    <created-on type="datetime">2008-01-18T07:06:13-06:00</created-on>
    <description>A good seo blog about search engine optimization</description>
    <enabled type="boolean">true</enabled>

    <id type="integer">49</id>
    <recip-url>http://blog.onomojo.com/links</recip-url>
    <title>My Great SEO Blog</title>
    <url>http://blog.onomojo.com</url>
  </link>
  <link>
    <category-id type="integer">27</category-id>

    <contact-id type="integer">59</contact-id>
    <created-on type="datetime">2008-01-18T07:07:12-06:00</created-on>
    <description>Blog about seo written for idiots</description>
    <enabled type="boolean">false</enabled>
    <id type="integer">50</id>
    <recip-url>http://seoblog.com/links.html</recip-url>

    <title>SEO For Dummies</title>
    <url>http://seoblog.com</url>
  </link>
</links>
  
url: http://linkluna.onomojo.com/remote_request/dump/#{LINKLUNA_DOMAIN_ID}
response:
    <?xml version="1.0" encoding="UTF-8"?>
<categories>
  <category>
    <description>Blogs that have to do with seo</description>
    <domain-id type="integer">19</domain-id>
    <id type="integer">27</id>
    <name>SEO Blogs</name>
    <links>

      <link>
        <category-id type="integer">27</category-id>
        <created-on type="datetime">2008-01-18T07:06:13-06:00</created-on>
        <description>A good seo blog about search engine optimization</description>
        <enabled type="boolean">true</enabled>
        <id type="integer">49</id>

        <recip-url>http://blog.onomojo.com/links</recip-url>
        <title>My Great SEO Blog</title>
        <url>http://blog.onomojo.com</url>
      </link>
      <link>
        <category-id type="integer">27</category-id>
        <created-on type="datetime">2008-01-18T07:07:12-06:00</created-on>

        <description>Blog about seo written for idiots</description>
        <enabled type="boolean">false</enabled>
        <id type="integer">50</id>
        <recip-url>http://seoblog.com/links.html</recip-url>
        <title>SEO For Dummies</title>
        <url>http://seoblog.com</url>

      </link>
    </links>
  </category>
  <category>
    <description>Blogs that deal with online marketing</description>
    <domain-id type="integer">19</domain-id>
    <id type="integer">28</id>

    <name>Marketing blogs</name>
    <links>
      <link>
        <category-id type="integer">28</category-id>
        <created-on type="datetime">2008-01-18T07:08:01-06:00</created-on>
        <description>A blog about marketing</description>
        <enabled type="boolean">true</enabled>

        <id type="integer">51</id>
        <recip-url>http://marketing.com/friends.php</recip-url>
        <title>Marketing Blog</title>
        <url>http://marketing.com</url>
      </link>
    </links>
  </category>

  <category>
    <description>Software that helps with seo</description>
    <domain-id type="integer">19</domain-id>
    <id type="integer">29</id>
    <name>SEO Software</name>
  </category>
</categories>
  
get: http://linkluna.onomojo.com/remote_request/create/#{LINKLUNA_DOMAIN_ID}
parameters:

response on success: 'Link was successfully created.'

response on any failure: '<a href="http://linkluna.onomojo.com">LinkLuna.onomojo.com</a> encountered an error with the request. Please contact your website administrator about the problem.'