Skip to content

Collection JSON Graphviz Hypermedia API

jvelilla edited this page Jan 5, 2013 · 11 revisions

Graphviz Hypermedia API, using Collection JSON media type [1]

The actual design allows users to:

  • Register a new user
  • Add, Update, Delete graph definitions (only for registered users)
  • Retrieve a fix set of representations, pdf, jpg, png, gif
  • Anonymous users can browse the API, and retrieve the graph representation, but they can't Create/Update/Delete them.

A simplified state machine is described here

State transitions

  • The home page
  • Template for register a new user
  • The list of graphs (pages)
  • The list of graph per user
  • Template for create a new graph
  • Template for updating an existing graph
  • Template for delte an existing graph

TODO

  • template for queries

Graphviz API

References [1] http://amundsen.com/media-types/collection/

Clone this wiki locally