Skip to content

Latest commit

 

History

History
284 lines (191 loc) · 6.95 KB

GamingApi.md

File metadata and controls

284 lines (191 loc) · 6.95 KB

OpenAPI\Client\GamingApi

All URIs are relative to https://api.wall.et, except if the operation defines another base path.

Method HTTP request Description
archiveGaming() DELETE /v2/gaming/{id} Archive gaming
createGaming() POST /v2/gaming Create gaming
fetchAllGaming() GET /v2/gaming/all Fetch all gaming
restoreGaming() PATCH /v2/gaming/{id} Restore gaming
updateGaming() PUT /v2/gaming/{id} Update gaming

archiveGaming()

archiveGaming($id): \OpenAPI\Client\Model\Gaming

Archive gaming

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\GamingApi(
    // 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 = NULL; // mixed

try {
    $result = $apiInstance->archiveGaming($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GamingApi->archiveGaming: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id mixed

Return type

\OpenAPI\Client\Model\Gaming

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

createGaming()

createGaming($wt_gaming_create_params): \OpenAPI\Client\Model\Gaming

Create gaming

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\GamingApi(
    // 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()
);
$wt_gaming_create_params = new \OpenAPI\Client\Model\WTGamingCreateParams(); // \OpenAPI\Client\Model\WTGamingCreateParams

try {
    $result = $apiInstance->createGaming($wt_gaming_create_params);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GamingApi->createGaming: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
wt_gaming_create_params \OpenAPI\Client\Model\WTGamingCreateParams

Return type

\OpenAPI\Client\Model\Gaming

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

fetchAllGaming()

fetchAllGaming($is_archive_included): mixed

Fetch all gaming

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\GamingApi(
    // 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()
);
$is_archive_included = True; // bool

try {
    $result = $apiInstance->fetchAllGaming($is_archive_included);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GamingApi->fetchAllGaming: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
is_archive_included bool [optional]

Return type

mixed

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

restoreGaming()

restoreGaming($id): \OpenAPI\Client\Model\Gaming

Restore gaming

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\GamingApi(
    // 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 = NULL; // mixed

try {
    $result = $apiInstance->restoreGaming($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GamingApi->restoreGaming: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id mixed

Return type

\OpenAPI\Client\Model\Gaming

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

updateGaming()

updateGaming($id, $wt_gaming_update_params): \OpenAPI\Client\Model\Gaming

Update gaming

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\GamingApi(
    // 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 = NULL; // mixed
$wt_gaming_update_params = new \OpenAPI\Client\Model\WTGamingUpdateParams(); // \OpenAPI\Client\Model\WTGamingUpdateParams

try {
    $result = $apiInstance->updateGaming($id, $wt_gaming_update_params);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GamingApi->updateGaming: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id mixed
wt_gaming_update_params \OpenAPI\Client\Model\WTGamingUpdateParams

Return type

\OpenAPI\Client\Model\Gaming

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]