snipe-it/app/Http/Controllers
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
..
Api Adds basic GET api support for CustomFieldsets (#3697) 2017-07-12 17:51:22 -07:00
Auth Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
AccessoriesController.php Added save/update/delete observers 2017-06-15 20:54:14 -07:00
ActionlogController.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
AssetMaintenancesController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
AssetModelsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
AssetsController.php Fix encryption on first save 2017-07-08 17:04:24 -07:00
CategoriesController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
CompaniesController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
ComponentsController.php Added save/update/delete observers 2017-06-15 20:54:14 -07:00
ConsumablesController.php Added save/update/delete observers 2017-06-15 20:54:14 -07:00
Controller.php Updated docblocks 2016-04-07 13:21:09 -07:00
CustomFieldsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
CustomFieldsetsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
DashboardController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
DepartmentsController.php Create, edit and destroy for depts 2017-05-23 02:47:25 -07:00
DepreciationsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
GroupsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
ImportsController.php Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
LicensesController.php Added save/update/delete observers 2017-06-15 20:54:14 -07:00
LocationsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
ManufacturersController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
ProfileController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
ReportsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
SettingsController.php Fixed delete file settings route 2017-07-08 13:42:05 -07:00
StatuslabelsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
SuppliersController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00
UsersController.php Addec clone button back to models, assets, licenses, etc 2017-07-07 18:45:49 -07:00
ViewAssetsController.php Update all controllers to use laravel 5 return view method 2017-06-09 16:44:03 -07:00