Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.86 KB

AddOnsApi.md

File metadata and controls

68 lines (46 loc) · 1.86 KB

Wordlift\Client\AddOnsApi

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

Method HTTP request Description
listConfigurations() GET /addon/configurations List

listConfigurations()

listConfigurations($token, $key, $limit): \Wordlift\Client\Model\PageAddOnConfiguration

List

List the Add-ons configurations

Example

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



$apiInstance = new Wordlift\Client\Api\AddOnsApi(
    // 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()
);
$token = 'token_example'; // string | The access token
$key = 'key_example'; // string | The key
$limit = 10; // int | The maximum number of results

try {
    $result = $apiInstance->listConfigurations($token, $key, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AddOnsApi->listConfigurations: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
token string The access token [optional]
key string The key [optional]
limit int The maximum number of results [optional] [default to 10]

Return type

\Wordlift\Client\Model\PageAddOnConfiguration

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]