All URIs are relative to https://localhost/learn/api/public/v1/
Method | HTTP request | Description |
---|---|---|
systemVersionGet | GET system/version | Get Version |
\BlackboardRest\Model\VersionInfo systemVersionGet()
Get Version
Gets the current Learn server version. Since: 3000.3.0
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearer
BlackboardRest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// BlackboardRest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$api_instance = new BlackboardRest\Api\SystemApi();
try {
$result = $api_instance->systemVersionGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->systemVersionGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\BlackboardRest\Model\VersionInfo
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]