Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.71 KB

HomepageApi.md

File metadata and controls

58 lines (39 loc) · 1.71 KB

Swagger\Client\HomepageApi

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

allPrimaryHomepageSections

\Swagger\Client\Model\HomepageSection[] allPrimaryHomepageSections($fields)

Get All Primary homepage sections

Get information about the primary homepage's sections.

Example

<?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;
}
?>

Parameters

Name Type Description Notes
fields string Requested fields. [optional]

Return type

\Swagger\Client\Model\HomepageSection[]

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]