snipe-it/app/Http/Controllers/Api
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
..
AccessoriesController.php API improvements 2017-03-11 10:05:50 -08:00
AssetModelsController.php Adds basic GET api support for CustomFieldsets (#3697) 2017-07-12 17:51:22 -07:00
AssetsController.php Added save/update/delete observers 2017-06-15 20:54:14 -07:00
CategoriesController.php Basic sanity checking on some of the API controllers 2017-03-11 08:03:16 -08:00
CompaniesController.php Fixes #3724 - adds edit/delete button back to companies listing 2017-07-07 17:10:06 -07:00
ComponentsController.php /api_tests: Completed tests for basic CRUD for Assets and Components (#3426) 2017-03-31 13:48:11 -07:00
ConsumablesController.php Narrowed down the accessories, consumables, etc APIs for manufacturer filtering 2017-03-11 02:49:24 -08:00
CustomFieldsController.php Basic sanity checking on some of the API controllers 2017-03-11 08:03:16 -08:00
CustomFieldsetsController.php Adds basic GET api support for CustomFieldsets (#3697) 2017-07-12 17:51:22 -07:00
DepartmentsController.php Set dept manager ID for dept 2017-05-23 02:46:25 -07:00
DepreciationsController.php Basic sanity checking on some of the API controllers 2017-03-11 08:03:16 -08:00
GroupsController.php Groups API starter 2017-02-01 18:50:28 -08:00
ImportController.php Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
LicensesController.php Licenses detail view 2017-05-18 22:10:45 -07:00
LocationsController.php Add in location parent and child information into API requests (#3582) 2017-05-16 12:30:11 -07:00
ManufacturersController.php Fixes #3311 - more fields for manufacturers 2017-03-10 22:08:59 -08:00
ReportsController.php Fixes presenter issue on user history 2017-06-08 19:09:42 -07:00
SettingsController.php Updated UI for Admin Settings 2017-07-07 23:44:48 -07:00
StatuslabelsController.php Depreciations API 2017-02-01 17:59:03 -08:00
SuppliersController.php Fixes #3602 - actions missing from suppliers in v4 2017-05-31 06:52:37 -07:00
UsersController.php [WIP] Improvements to unit tests. (#3574) 2017-06-12 17:39:03 -07:00