-
- Downloads
Added #6695: add API endpoint for license seats (#8058)
* remove miselading comment line * added dedicated API endpoint for license seats * don't display a seat name via API it makes no sense and we don't have any particular sorting order so the numbering would be inconsistent anyway * reduce amount of IFs * add sanity checks to show() * fix goofed logging logic * add tests for action log entries
Showing
- app/Http/Controllers/Api/LicenseSeatsController.php 138 additions, 0 deletionsapp/Http/Controllers/Api/LicenseSeatsController.php
- app/Http/Controllers/Api/LicensesController.php 0 additions, 44 deletionsapp/Http/Controllers/Api/LicensesController.php
- app/Http/Transformers/LicenseSeatsTransformer.php 5 additions, 2 deletionsapp/Http/Transformers/LicenseSeatsTransformer.php
- app/Models/LicenseSeat.php 10 additions, 0 deletionsapp/Models/LicenseSeat.php
- resources/views/licenses/view.blade.php 1 addition, 1 deletionresources/views/licenses/view.blade.php
- routes/api.php 12 additions, 7 deletionsroutes/api.php
- tests/api/ApiLicenseSeatsCest.php 185 additions, 0 deletionstests/api/ApiLicenseSeatsCest.php
Loading
Please register or sign in to comment