Changeset View
Changeset View
Standalone View
Standalone View
src/app/Http/Controllers/API/V4/DomainsController.php
Show All 33 Lines | class DomainsController extends Controller | ||||
/** | /** | ||||
* Show the form for creating a new resource. | * Show the form for creating a new resource. | ||||
* | * | ||||
* @return \Illuminate\Http\JsonResponse | * @return \Illuminate\Http\JsonResponse | ||||
*/ | */ | ||||
public function create() | public function create() | ||||
{ | { | ||||
// | return $this->errorResponse(404); | ||||
} | } | ||||
/** | /** | ||||
* Confirm ownership of the specified domain (via DNS check). | * Confirm ownership of the specified domain (via DNS check). | ||||
* | * | ||||
* @param int $id Domain identifier | * @param int $id Domain identifier | ||||
* | * | ||||
* @return \Illuminate\Http\JsonResponse|void | * @return \Illuminate\Http\JsonResponse|void | ||||
Show All 25 Lines | class DomainsController extends Controller | ||||
* Remove the specified resource from storage. | * Remove the specified resource from storage. | ||||
* | * | ||||
* @param int $id | * @param int $id | ||||
* | * | ||||
* @return \Illuminate\Http\JsonResponse | * @return \Illuminate\Http\JsonResponse | ||||
*/ | */ | ||||
public function destroy($id) | public function destroy($id) | ||||
{ | { | ||||
// | return $this->errorResponse(404); | ||||
} | } | ||||
/** | /** | ||||
* Show the form for editing the specified resource. | * Show the form for editing the specified resource. | ||||
* | * | ||||
* @param int $id | * @param int $id | ||||
* | * | ||||
* @return \Illuminate\Http\Response | * @return \Illuminate\Http\JsonResponse | ||||
*/ | */ | ||||
public function edit($id) | public function edit($id) | ||||
{ | { | ||||
// | return $this->errorResponse(404); | ||||
} | } | ||||
/** | /** | ||||
* Store a newly created resource in storage. | * Store a newly created resource in storage. | ||||
* | * | ||||
* @param \Illuminate\Http\Request $request | * @param \Illuminate\Http\Request $request | ||||
* | * | ||||
* @return \Illuminate\Http\Response | * @return \Illuminate\Http\JsonResponse | ||||
*/ | */ | ||||
public function store(Request $request) | public function store(Request $request) | ||||
{ | { | ||||
// | return $this->errorResponse(404); | ||||
} | } | ||||
/** | /** | ||||
* Get the information about the specified domain. | * Get the information about the specified domain. | ||||
* | * | ||||
* @param int $id Domain identifier | * @param int $id Domain identifier | ||||
* | * | ||||
* @return \Illuminate\Http\JsonResponse|void | * @return \Illuminate\Http\JsonResponse|void | ||||
▲ Show 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | class DomainsController extends Controller | ||||
} | } | ||||
/** | /** | ||||
* Update the specified resource in storage. | * Update the specified resource in storage. | ||||
* | * | ||||
* @param \Illuminate\Http\Request $request | * @param \Illuminate\Http\Request $request | ||||
* @param int $id | * @param int $id | ||||
* | * | ||||
* @return \Illuminate\Http\Response | * @return \Illuminate\Http\JsonResponse | ||||
*/ | */ | ||||
public function update(Request $request, $id) | public function update(Request $request, $id) | ||||
{ | { | ||||
// | return $this->errorResponse(404); | ||||
} | } | ||||
/** | /** | ||||
* Provide DNS MX information to configure specified domain for | * Provide DNS MX information to configure specified domain for | ||||
*/ | */ | ||||
protected static function getMXConfig(string $namespace): array | protected static function getMXConfig(string $namespace): array | ||||
{ | { | ||||
$entries = []; | $entries = []; | ||||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |