mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added new seats API route
This commit is contained in:
parent
254234b0dc
commit
7f1a535b30
|
@ -351,6 +351,13 @@ Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
|
|||
|
||||
/*--- Licenses API ---*/
|
||||
|
||||
Route::group(['prefix' => 'licenses'], function () {
|
||||
Route::get('{licenseId}/seats', [
|
||||
'as' => 'api.license.seats',
|
||||
'uses' => 'LicensesController@seats'
|
||||
]);
|
||||
}); // Licenses group
|
||||
|
||||
Route::resource('licenses', 'LicensesController',
|
||||
[
|
||||
'names' =>
|
||||
|
@ -367,6 +374,7 @@ Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
|
|||
); // Licenses resource
|
||||
|
||||
|
||||
|
||||
/*--- Locations API ---*/
|
||||
|
||||
Route::group(['prefix' => 'locations'], function () {
|
||||
|
|
Loading…
Reference in a new issue