snipe-it/routes
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
..
web Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
api.php Adds basic GET api support for CustomFieldsets (#3697) 2017-07-12 17:51:22 -07:00
console.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
web.php Added phpinfo page if debugging is enabled 2017-07-08 00:09:39 -07:00