return new Response();
} #[Route(path: '/api/_action/store/updates', name: 'api.custom.store.updates', methods: ['GET'])]
public function getUpdateList(Context
$context): JsonResponse
{ $extensions =
$this->extensionDataProvider->
getInstalledExtensions($context, false
);
try { $updatesList =
$this->storeClient->
getExtensionUpdateList($extensions,
$context);
} catch (ClientException
$exception) { throw new StoreApiException($exception);
} return new JsonResponse([ 'items' =>
$updatesList,
'total' => \
count($updatesList),
]);
} #[Route(path: '/api/_action/store/license-violations', name: 'api.custom.store.license-violations', methods: ['POST'])]