All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
archiveLinkBook() | DELETE /v2/linkBook/{id} | Archive link |
createLinkBook() | POST /v2/linkBook | Create link |
fetchAllLinkBook() | GET /v2/linkBook/all | Fetch all links |
fetchLinkBookById() | GET /v2/linkBook/{id} | Fetch link book by id |
restoreLinkBook() | PATCH /v2/linkBook/{id} | Restore link |
updateLinkBook() | PUT /v2/linkBook/{id} | Update link |
archiveLinkBook($id): \OpenAPI\Client\Model\LinkBook
Archive link
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\QuickLinksApi(
// 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->archiveLinkBook($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling QuickLinksApi->archiveLinkBook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\LinkBook
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createLinkBook($wt_link_book_create_params): \OpenAPI\Client\Model\LinkBook
Create link
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\QuickLinksApi(
// 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_link_book_create_params = new \OpenAPI\Client\Model\WTLinkBookCreateParams(); // \OpenAPI\Client\Model\WTLinkBookCreateParams
try {
$result = $apiInstance->createLinkBook($wt_link_book_create_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling QuickLinksApi->createLinkBook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_link_book_create_params | \OpenAPI\Client\Model\WTLinkBookCreateParams |
\OpenAPI\Client\Model\LinkBook
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchAllLinkBook($is_archive_included): mixed
Fetch all links
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\QuickLinksApi(
// 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->fetchAllLinkBook($is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling QuickLinksApi->fetchAllLinkBook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
is_archive_included | bool | [optional] |
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchLinkBookById($id): \OpenAPI\Client\Model\WTLinkBook
Fetch link book by id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\QuickLinksApi(
// 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->fetchLinkBookById($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling QuickLinksApi->fetchLinkBookById: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\WTLinkBook
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restoreLinkBook($id): \OpenAPI\Client\Model\LinkBook
Restore link
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\QuickLinksApi(
// 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->restoreLinkBook($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling QuickLinksApi->restoreLinkBook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\LinkBook
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateLinkBook($id, $wt_link_book_update_params): \OpenAPI\Client\Model\LinkBook
Update link
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\QuickLinksApi(
// 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_link_book_update_params = new \OpenAPI\Client\Model\WTLinkBookUpdateParams(); // \OpenAPI\Client\Model\WTLinkBookUpdateParams
try {
$result = $apiInstance->updateLinkBook($id, $wt_link_book_update_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling QuickLinksApi->updateLinkBook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed | ||
wt_link_book_update_params | \OpenAPI\Client\Model\WTLinkBookUpdateParams |
\OpenAPI\Client\Model\LinkBook
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]