meta data for this page
  •  

This is an old revision of the document!


/api/tableviews

HEAD, GET

List tableviews that have been created with the GUI. The number of tableviews is represented in the X-Count header - use the HEAD request to simply count the number of tableviews. Use the GET request to actually fetch them.

Currently it is not possible to set up new tableviews with the API. Use the GUI (or “admin” interface) to create and configure a suitable tableview. The ACL settings for the tableview are irrelevant - all tableviews are visible via the API, no matter who created them.

Hint: when setting up tableviews in the GUI, give them a descriptive name so that you can easily recognise them here.

Syntax

GET /api/tableviews
Host: apply.example.edu
Authorization: DREAM apikey="..."

Response headers

Content-Type: application/json
Content-Length: 1234
X-Count: 123

Response example

{
  "1": {
      "created": "2014-07-02T15:47:31+00:00",
      "modified": "2014-07-23T10:36:15+00:00",
      "title": "Untitled 1",
      "tabledata": "/api/tableviews/1/tabledata"
  },
  "2": {
      "created": "2014-07-21T13:22:45+00:00",
      "modified": "2014-07-21T13:41:00+00:00",
      "title": "Untitled 2",
      "tabledata": "/api/tableviews/2/tabledata"
  }
}