In the RESTful API Documentation, there are "Common optional parameters" mentioned: fields and filter, which should be usable in various routes. However, the fields parameter seems to not work for some of the routes -- of the ones I've tried, these had no change when fields was provided:
- GET /api/users
- GET /api/users/:id
- GET /api/courses
- GET /api/courses/:id
The optional parameter filter does seem to work for these, though I haven't tested it on every route (the usages of get_collection seems to indicate it should be fine).
In the RESTful API Documentation, there are "Common optional parameters" mentioned:
fieldsandfilter, which should be usable in various routes. However, thefieldsparameter seems to not work for some of the routes -- of the ones I've tried, these had no change whenfieldswas provided:The optional parameter
filterdoes seem to work for these, though I haven't tested it on every route (the usages ofget_collectionseems to indicate it should be fine).