Initial commit
This commit is contained in:
14
listeditions.php
Normal file
14
listeditions.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
require_once 'api/listeditions.php';
|
||||
require_once 'shared/main.php';
|
||||
|
||||
$lang = isset($_GET['lang']) ? $_GET['lang'] : 'en-us';
|
||||
$updateId = isset($_GET['id']) ? $_GET['id'] : null;
|
||||
|
||||
header('Content-Type: application/json');
|
||||
|
||||
$apiResponse = uupListEditions($lang, $updateId);
|
||||
if(isset($apiResponse['error']))
|
||||
http_response_code(400);
|
||||
|
||||
sendResponse($apiResponse);
|
Reference in New Issue
Block a user