snipe-it/app
gibsonjoshua55 3cfcc43efa Adds basic GET api support for CustomFieldsets (#3697)
* Adds basic GET api support for CustomFieldsets

Currently there is not support for getting what fields a given fieldset contains
from the API.  This commit creates a new API Controller for CustomFieldsets as
well as Transformers for CustomFields CustomFieldsets.  Additionally, the api
route has been updated so that a show method can be access from
http://myapp/api/v1/fieldsets/{id}

* CustomFieldsetsTransformer only returns id and name of model

* Added index api method for CustomFieldsets

* Removes copy/paste error in CustomFieldsetController (including search)

* Added id to CustomFieldsetsTransformers

* Adds custom_fieldset_id as a field when storing and updating AssetModels

* Removed uncessesary parameter from CustomFieldsetsController.index

* Cleaned up CustomFieldset API
2017-07-12 17:51:22 -07:00
..
Console Importer tests + Fixes (#3733) 2017-07-11 20:37:02 -07:00
Events Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Exceptions Fixes #3583 - incorrect 404 status code, use curl for checking .env 2017-06-01 20:41:23 -07:00
Helpers Added helper for dept list 2017-05-23 02:37:37 -07:00
Http Adds basic GET api support for CustomFieldsets (#3697) 2017-07-12 17:51:22 -07:00
Importer Importer tests + Fixes (#3733) 2017-07-11 20:37:02 -07:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Listeners Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Models Adds basic GET api support for CustomFieldsets (#3697) 2017-07-12 17:51:22 -07:00
Notifications Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
Observers Only add an update log message if the asset isn’t being checked in or out 2017-07-08 03:38:39 -07:00
Policies Fixed path in comments 2017-01-11 14:50:13 -08:00
Presenters Make custom fields into their own JSON array 2017-07-08 18:44:28 -07:00
Providers Added save/update/delete observers 2017-06-15 20:54:14 -07:00