Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
api:api_tableviews_id [2014/07/25 08:52] – created Lauri Elevantapi:api_tableviews_id [2021/01/21 12:51] (current) – external edit 127.0.0.1
Line 4: Line 4:
  
 Return information about a tableview, identified by the tableview's ID. Use GET [[api:api_tableviews|/api/tableviews]] to list the available tableviews and their ID's. Return information about a tableview, identified by the tableview's ID. Use GET [[api:api_tableviews|/api/tableviews]] to list the available tableviews and their ID's.
 +
 +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.
  
 ==== Syntax ==== ==== Syntax ====
  
-  GET /api/courses/123+  GET /api/tableviews/123
   Host: apply.example.edu   Host: apply.example.edu
   Authorization: DREAM apikey="..."   Authorization: DREAM apikey="..."
Line 18: Line 20:
 ==== Response example ==== ==== Response example ====
  
 +    {
 +        "created": "2014-07-02T15:47:31+00:00",
 +        "modified": "2014-07-23T10:36:15+00:00",
 +        "title": "Untitled 1",
 +        "tabledata": "/api/tableviews/1/tabledata"
 +    }