...
Request | Name | ID | Result | Implemented | |||||
---|---|---|---|---|---|---|---|---|---|
GET | Return a collection of items | Y | |||||||
ANY | list | Return a collection of items. | Y | ||||||
GET | create | Show an HTML form to create a new item. | NY | ||||||
GET | import | N | Show an HTML form to import a list of items using a CSV. | Y | |||||
GET | read | Y | Show the details of an item . | Y | GET | edit | Y | Show a form to edit an item's details(and aloow edit if user has permission). | Y |
Sort
To sort by a database column, user "sort={attribute}". To reverse sort, insert a minus, thus "sort=-{attribute}".
...
Requested properties should be in a comma-separated list. Properties should be fully qualified - ie, system.hostname (not just hostname).
Code Block |
---|
properties=id,name,status |
...
To filter by a property value, use the property name. Operators that should precede the value are !=, >, >=, <, <=, 'like' and '!like'. If no operator is specified, the default is =. Properties should be fully qualified - ie, system.hostname (not just hostname).
Code Block |
---|
{attribute}=[operator]{value} |
...