Browse Source

Added documentation in README for #185

Maurits van der Schee 8 years ago
parent
commit
bd3130b76d
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      README.md

+ 3
- 1
README.md View File

205
 
205
 
206
 ### List + Column selection
206
 ### List + Column selection
207
 
207
 
208
-By default all columns are selected. With the "columns" parameter you can select specific columns. Multiple columns should be comma separated. An asterisk ("*") may be used as a wildcard to indicate "all columns":
208
+By default all columns are selected. With the "columns" parameter you can select specific columns. Multiple columns should be comma separated. 
209
+An asterisk ("*") may be used as a wildcard to indicate "all columns". Similar to "columns" you may use the "exclude" parameter to remove certain columns:
209
 
210
 
210
 ```
211
 ```
211
 GET http://localhost/api.php/categories?columns=name
212
 GET http://localhost/api.php/categories?columns=name
212
 GET http://localhost/api.php/categories?columns=categories.name
213
 GET http://localhost/api.php/categories?columns=categories.name
214
+GET http://localhost/api.php/categories?exclude=categories.id
213
 ```
215
 ```
214
 
216
 
215
 Output:
217
 Output:

Loading…
Cancel
Save