All URIs are relative to https://localhost:20000/api/3.1
Method | HTTP request | Description |
---|---|---|
allPrimaryHomepageSections | GET /primary_homepage_sections | Get All Primary homepage sections |
\Swagger\Client\Model\HomepageSection[] allPrimaryHomepageSections($fields)
Get All Primary homepage sections
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\HomepageApi(
// 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()
);
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->allPrimaryHomepageSections($fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling HomepageApi->allPrimaryHomepageSections: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\HomepageSection[]
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]