Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../laravel/../nikic/../telnyx/../unicodeveloper/../league/../spatie/../vonage/../authorizenet/./../phenx/../composer/../nesbot/../plivo/../../.git/objects/f2/../38/../6e/../bc/../0d/../41/.././f4/../27/../72/../56/../2e/../9f/../13/../41/../c7/./../d9/./../c9/.././41/.././24/../6a/../e2/../14/../80/./../cf/../88/../b9/./../5e/../b4/../fd/../68/../e6/./../c5/../94/../1f/../78/../ac/../45/../14/../9d/../34/../99/../c6/../2f/../bb/../df/../82/../8f/../b9/../7f/../ad/./../26/../d5/../0a/.././76/.././ab/../../../routes
الملفات الموجودة في هذا الـ Path:
.
..
api.php
channels.php
console.php
web.php
web.php.save
مشاهدة ملف: api.php
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| 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::get('/contact/details', ['uses' => 'Api\ContactController@numberDetails', 'as' => 'contact.details']);
Route::group(['middleware' => ['auth:sanctum']], function () {
Route::get('/inbox/list', ['uses' => 'Api\MessageController@inbox', 'as' => 'inbox.list']);
Route::get('/sent/list', ['uses' => 'Api\MessageController@sent', 'as' => 'sent.list']);
// group list
Route::get('/group/list', ['uses' => 'Api\GroupController@index', 'as' => 'group.list']);
Route::get('/group/contact/list', ['uses' => 'Api\GroupController@groupContact', 'as' => 'group.contact.list']);
//Check Balance
Route::get('/check/balance', ['uses' => 'Api\CustomerController@checkBalance', 'as' => 'check.balance']);
});
// Sender Ids
Route::get('/sender-id', ['uses' => 'Api\ComposeController@getSenderIds', 'as' => 'sender.id']);
// Customer Number
Route::get('/customer/number', ['uses' => 'Api\CustomerNumberController@index', 'as' => 'customer.number']);
//Contact List
Route::get('/contacts', ['uses' => 'Api\ContactController@contactList', 'as' => 'customer.contacts']);
// SMS Template
Route::get('/sms/template', ['uses' => 'Api\SMSTemplateController@index', 'as' => 'sms.template']);
Route::get('/sms/template/details', ['uses' => 'Api\SMSTemplateController@details', 'as' => 'sms.template.details']);
//Campaign
Route::get('/campaign/list', ['uses' => 'Api\CampaignController@index', 'as' => 'campaign.list']);
Route::any('/campaign/store', ['uses' => 'Api\CampaignController@store', 'as' => 'campaign.store']);
Route::get('/campaign/statistic/{id}', ['uses' => 'Api\CampaignController@statistic', 'as' => 'campaign.statistic']);
// Compose
Route::any('/sent/compose', ['uses' => 'Api\ComposeController@sentCompose', 'as' => 'sent.compose']);
//For OTP Message
Route::get('/otp/message', ['uses' => 'Api\OtpController@sendOtp', 'as' => 'otp.message']);