Skip to content

Latest commit

 

History

History
130 lines (82 loc) · 4 KB

PropertyDescriptionsApi.md

File metadata and controls

130 lines (82 loc) · 4 KB

Piksel\KigoPro\PropertyDescriptionsApi

All URIs are relative to https://www.kigoapis.com

Method HTTP request Description
proV1ContentPropertiesIdDescriptionsGet GET /pro/v1/content/properties/{id}/descriptions
proV1ContentPropertiesIdDescriptionsPut PUT /pro/v1/content/properties/{id}/descriptions

proV1ContentPropertiesIdDescriptionsGet

\Piksel\KigoPro\Model\GetPropertyDescriptionsVm proV1ContentPropertiesIdDescriptionsGet($id)

Example

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


// Configure OAuth2 access token for authorization: oauth2
$config = Piksel\KigoPro\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Piksel\KigoPro\Api\PropertyDescriptionsApi(
    // 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(),
    $config
);
$id = 56; // int | 

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

Parameters

Name Type Description Notes
id int

Return type

\Piksel\KigoPro\Model\GetPropertyDescriptionsVm

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

proV1ContentPropertiesIdDescriptionsPut

\Piksel\KigoPro\Model\BooleanCommandOkEnvelope proV1ContentPropertiesIdDescriptionsPut($id, $put_property_descriptions_command)

Example

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


// Configure OAuth2 access token for authorization: oauth2
$config = Piksel\KigoPro\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Piksel\KigoPro\Api\PropertyDescriptionsApi(
    // 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(),
    $config
);
$id = 56; // int | 
$put_property_descriptions_command = new \Piksel\KigoPro\Model\PutPropertyDescriptionsCommand(); // \Piksel\KigoPro\Model\PutPropertyDescriptionsCommand | 

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

Parameters

Name Type Description Notes
id int
put_property_descriptions_command \Piksel\KigoPro\Model\PutPropertyDescriptionsCommand [optional]

Return type

\Piksel\KigoPro\Model\BooleanCommandOkEnvelope

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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