All URIs are relative to https://catalog-v2.sftapi.com
Method | HTTP request | Description |
---|---|---|
findPlatformVersion | GET /platforms/{id_platform}/versions | List of PlatformVersions |
readPlatformVersion | GET /platforms/{id_platform}/versions/{id_version} | Fetches a single PlatformVersion |
replacePlatformVersion | PUT /platforms/{id_platform}/versions/{id_version} | Entirely replaces a PlatformVersion |
\Softonic\CatalogApiSdk\Client\Model\PlatformVersion[] findPlatformVersion($id_platform)
List of PlatformVersions
List of PlatformVersions
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: catalog_api_access_code
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_application
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_implicit
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_password
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Softonic\CatalogApiSdk\Api\PlatformsVersionsApi(
// 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
);
$id_platform = "id_platform_example"; // string | Platform ID
try {
$result = $apiInstance->findPlatformVersion($id_platform);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PlatformsVersionsApi->findPlatformVersion: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id_platform | string | Platform ID |
\Softonic\CatalogApiSdk\Client\Model\PlatformVersion[]
catalog_api_access_code, catalog_api_application, catalog_api_implicit, catalog_api_password
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Softonic\CatalogApiSdk\Client\Model\PlatformVersion readPlatformVersion($id_platform, $id_version)
Fetches a single PlatformVersion
Fetches a single PlatformVersion
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: catalog_api_access_code
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_application
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_implicit
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_password
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Softonic\CatalogApiSdk\Api\PlatformsVersionsApi(
// 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
);
$id_platform = "id_platform_example"; // string | Platform ID
$id_version = "id_version_example"; // string | Platform version ID
try {
$result = $apiInstance->readPlatformVersion($id_platform, $id_version);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PlatformsVersionsApi->readPlatformVersion: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id_platform | string | Platform ID | |
id_version | string | Platform version ID |
\Softonic\CatalogApiSdk\Client\Model\PlatformVersion
catalog_api_access_code, catalog_api_application, catalog_api_implicit, catalog_api_password
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
replacePlatformVersion($id_platform, $id_version, $body)
Entirely replaces a PlatformVersion
Entirely replaces a PlatformVersion
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: catalog_api_access_code
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_application
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_implicit
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: catalog_api_password
$config = Softonic\CatalogApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Softonic\CatalogApiSdk\Api\PlatformsVersionsApi(
// 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
);
$id_platform = "id_platform_example"; // string | Platform ID
$id_version = "id_version_example"; // string | Platform version ID
$body = new \Softonic\CatalogApiSdk\Client\Model\PlatformVersion(); // \Softonic\CatalogApiSdk\Client\Model\PlatformVersion |
try {
$apiInstance->replacePlatformVersion($id_platform, $id_version, $body);
} catch (Exception $e) {
echo 'Exception when calling PlatformsVersionsApi->replacePlatformVersion: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id_platform | string | Platform ID | |
id_version | string | Platform version ID | |
body | \Softonic\CatalogApiSdk\Client\Model\PlatformVersion | [optional] |
void (empty response body)
catalog_api_access_code, catalog_api_application, catalog_api_implicit, catalog_api_password
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]