All URIs are relative to https://my.yoast.test
| Method | HTTP request | Description |
|---|---|---|
| acceptInvitation | POST /api/v1/access/{subscriptionId}/invites/{id}/accept | |
| checkHealth | POST /api/tmp | |
| deprecationsProvisioningDownloadsCurrentVersionV1 | GET /api/docs/deprecations/provisioning-downloads-v1 | |
| getLicenseStatus | GET /api/v1/license-validation/{product_id} | |
| getOptions | GET /api/v1/installation/options | |
| getOptionsForOrder | GET /api/v1/installation/options/{invoiceNumber} | |
| getSites | GET /api/v1/installation/sites | |
| getSitesForOrder | GET /api/v1/installation/sites/{invoiceNumber} | |
| inviteEmail | POST /api/v1/access/{subscriptionId}/invites | |
| revokeInvitation | DELETE /api/v1/access/{subscriptionId}/invites/{id} |
acceptInvitation($body, $id, $subscriptionId)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Yoast\MyYoastApiClient\Model\AcceptInvitationBodyDto(); // \Yoast\MyYoastApiClient\Model\AcceptInvitationBodyDto |
$id = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string |
$subscriptionId = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string |
try {
$apiInstance->acceptInvitation($body, $id, $subscriptionId);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->acceptInvitation: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| body | \Yoast\MyYoastApiClient\Model\AcceptInvitationBodyDto | ||
| id | string | ||
| subscriptionId | string |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
checkHealth()
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$apiInstance->checkHealth();
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->checkHealth: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deprecationsProvisioningDownloadsCurrentVersionV1()
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$apiInstance->deprecationsProvisioningDownloadsCurrentVersionV1();
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->deprecationsProvisioningDownloadsCurrentVersionV1: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yoast\MyYoastApiClient\Model\LicenseValidationResult getLicenseStatus($productId, $email)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$productId = "productId_example"; // string |
$email = "email_example"; // string |
try {
$result = $apiInstance->getLicenseStatus($productId, $email);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->getLicenseStatus: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| productId | string | ||
| string |
\Yoast\MyYoastApiClient\Model\LicenseValidationResult
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getOptions()
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP bearer authorization: bearer
$config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$apiInstance->getOptions();
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->getOptions: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getOptionsForOrder($invoiceNumber)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP bearer authorization: bearer
$config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$invoiceNumber = "invoiceNumber_example"; // string |
try {
$apiInstance->getOptionsForOrder($invoiceNumber);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->getOptionsForOrder: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| invoiceNumber | string |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSites()
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP bearer authorization: bearer
$config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$apiInstance->getSites();
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->getSites: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSitesForOrder($invoiceNumber)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP bearer authorization: bearer
$config = Yoast\MyYoastApiClient\Configuration::getDefaultConfiguration()
->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$invoiceNumber = "invoiceNumber_example"; // string |
try {
$apiInstance->getSitesForOrder($invoiceNumber);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->getSitesForOrder: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| invoiceNumber | string |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yoast\MyYoastApiClient\Model\InviteResponseDto inviteEmail($body, $subscriptionId)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Yoast\MyYoastApiClient\Model\InviteBodyDto(); // \Yoast\MyYoastApiClient\Model\InviteBodyDto |
$subscriptionId = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string |
try {
$result = $apiInstance->inviteEmail($body, $subscriptionId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->inviteEmail: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| body | \Yoast\MyYoastApiClient\Model\InviteBodyDto | ||
| subscriptionId | string |
\Yoast\MyYoastApiClient\Model\InviteResponseDto
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
revokeInvitation($id, $subscriptionId)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Yoast\MyYoastApiClient\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string |
$subscriptionId = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // string |
try {
$apiInstance->revokeInvitation($id, $subscriptionId);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->revokeInvitation: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| subscriptionId | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]