GET Views

/views

Method: GET
Description: Returns the list of available views
Parameters: None
Result: Array of views names

GET View Name

/views/<name>

Method: GET
Description: Returns the description of a view
Parameters: None
Result: Object describing the view

GET View Rows

/views/<name>/rows

Method: GET
Description: Returns rows from the view
Parameters: URL – Select criterion, if absent, ALL is assumed.
Result: Rows from the view

POST View Rows

/views/<name>/rows

Method: POST
Description: Inserts a row into the view
Parameters: URL,
Body, required – {“field1″:”value1″,”field2″:”value2”}
Result: 201 Created (if successful) + Location Header contains URL to inserted row

PUT View Rows

/views/<name>/rows

Method: PUT
Description: Updates rows in the view
Parameters: URL, required – Update criterion
Body, required – {“field1″:”value1″,”field2″:”value2”}
Result: Affected rows count

DELETE View Rows

/views/<name>/rows

Method: DELETE
Description: Deletes rows from the view
Parameters: URL, required – Delete criterion
Result: Affected rows count

GET View Password Fields

/views/<name>/passwordFields

Method: GET
Description: Returns a list of view password fields
Parameters: None
Result: A list of view password fields