Get the missing requirements of an appInstallation for a specific target app version
GET /v2/ app-installations/ {appInstallationId}/ missing-dependencies/
v2
GET
app-get-missing-dependencies-for-appinstallation
Request
Responses
Usage examples
- cURL
- JavaScript SDK
- PHP SDK
$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/app-installations/f0f86186-0a5a-45b2-aa33-502777496347/missing-dependencies?targetAppVersionID=f0f86186-0a5a-45b2-aa33-502777496347
import { MittwaldAPIV2Client } from "@mittwald/api-client";
import { assertStatus } from "@mittwald/api-client-commons";
const client = MittwaldAPIClient.newWithToken(process.env.MITTWALD_API_TOKEN);
const response = await client.app.getMissingDependenciesForAppinstallation({
"appInstallationId": "f0f86186-0a5a-45b2-aa33-502777496347",
"queryParameters": {
"targetAppVersionID": "f0f86186-0a5a-45b2-aa33-502777496347"
}
});
assertStatus(response, 200);
use \Mittwald\ApiClient\Generated\V2\Clients\App\GetMissingDependenciesForAppinstallation\GetMissingDependenciesForAppinstallationRequest;
$client = MittwaldAPIClient::newWithToken(getenv('MITTWALD_API_TOKEN'));
$request = (new GetMissingDependenciesForAppinstallationRequest(
appInstallationId: "f0f86186-0a5a-45b2-aa33-502777496347"
))
->withTargetAppVersionID("f0f86186-0a5a-45b2-aa33-502777496347");
$response = $client->app()->getMissingDependenciesForAppinstallation($request);
var_dump($response->getBody();