API Methods

THIS IS A DRAFT

This page describes Wikidot API methods. Read more about Wikidot API...

The list will grow as the methods are added.

site.pages(arguments array)

  • argument keys:
    • site: site to get pages from, e.g. "my-site"
    • category (optional): category to get pages from, e.g. "some-category"
  • returns: list of page_meta

site.categories(arguments array)

  • argument keys:
    • site: site to get pages from, e.g. "my-site"
  • returns: list of categories

page.get(arguments array)

  • argument keys:
    • site: site to get a page from, e.g. "my-site"
    • page: page name to get, e.g. "start" or "blog:first-post"
  • returns: page

page.files(arguments array)

  • argument keys:
    • site: what site we ask about
    • page: what page we ask about
  • returns: list of files

user.sites(arguments array)

  • argument keys:
    • user: whose sites to show it can be only your user name
  • returns: list of sites
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License