{
  "message": "Annotator Store API", 
  "links": {
    "search": {
      "url": "http://annotateit.org/api/search", 
      "desc": "Basic search API", 
      "method": "GET"
    }, 
    "search_raw": {
      "url": "http://annotateit.org/api/search_raw", 
      "desc": "Advanced search API -- direct access to ElasticSearch. Uses the same API as the ElasticSearch query endpoint.", 
      "method": "GET/POST"
    }, 
    "annotation": {
      "create": {
        "query": {
          "refresh": {
            "desc": "Force an index refresh after create (default: true)", 
            "type": "bool"
          }
        }, 
        "url": "http://annotateit.org/api/annotations", 
        "desc": "Create a new annotation", 
        "method": "POST"
      }, 
      "read": {
        "url": "http://annotateit.org/api/annotations/:id", 
        "desc": "Get an existing annotation", 
        "method": "GET"
      }, 
      "delete": {
        "url": "http://annotateit.org/api/annotations/:id", 
        "desc": "Delete an annotation", 
        "method": "DELETE"
      }, 
      "update": {
        "query": {
          "refresh": {
            "desc": "Force an index refresh after update (default: true)", 
            "type": "bool"
          }
        }, 
        "url": "http://annotateit.org/api/annotations/:id", 
        "desc": "Update an existing annotation", 
        "method": "PUT"
      }
    }
  }
}