Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

WireDetails

Dimagog edited this page Nov 25, 2012 · 3 revisions

Testing:

Web API:

  • GET /favicon.png
  • GET / (root page, html)
  • GET /{name}.html (content page as html)
  • GET /{name}.json (content page as json)
  • GET /recent-changes.json (get a list of recently changed pages)
  • GET /view/SOMETHING??
  • PUT /page/{name}/add
  • PUT /page/{name}/move
  • PUT /page/{name}/remove
  • PUT /page/{name}/edit
  • GET /remote/{name}.json
Content Shape (JSON):
{
    title
    synopsis
    story [
        {
            id
            type (paragraph | image | chart)
            text
        }
    ],
    trail [
        // series of URLs
    ],
    journal [
        {
            order [
                // series of ids journal entry ids
            ],
            type: (add|move|remove|edit)
            id: // unique id
        }
    ]
}
Clone this wiki locally