Viewing file: api.php (1.11 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::group(['prefix' => 'user/chat', 'namespace' => 'Modules\Ticket\Http\Controllers\Api\User', 'middleware' => ['auth:api', 'locale', 'permission-api']], function() {
Route::get('get-conversations/{thread_id}', 'ChatController@getConversations');
Route::get('send-product-details/{code}', 'ChatController@sendProductDetails');
Route::get('initiate-chat/{code}', 'ChatController@initiateChatWithVendor');
Route::get('get-contact-list', 'ChatController@contact-list');
Route::post('store-message', 'ChatController@storeMessage');
Route::get('chat-vendor/{vendor_id}', 'ChatController@createChat');
Route::get('inbox-refresh', 'ChatController@inboxRefresh');
});
|