Skip to content

Latest commit

 

History

History
200 lines (137 loc) · 6.8 KB

StatusEmbedConfigApi.md

File metadata and controls

200 lines (137 loc) · 6.8 KB

OpenAPI\Client\StatusEmbedConfigApi

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

Method HTTP request Description
getPagesPageIdStatusEmbedConfig() GET /pages/{page_id}/status_embed_config Get status embed config settings
patchPagesPageIdStatusEmbedConfig() PATCH /pages/{page_id}/status_embed_config Update status embed config settings
putPagesPageIdStatusEmbedConfig() PUT /pages/{page_id}/status_embed_config Update status embed config settings

getPagesPageIdStatusEmbedConfig()

getPagesPageIdStatusEmbedConfig($page_id): \OpenAPI\Client\Model\StatusEmbedConfig

Get status embed config settings

Get status embed config settings

Example

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


// Configure API key authorization: api_key
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new OpenAPI\Client\Api\StatusEmbedConfigApi(
    // 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
);
$page_id = 'page_id_example'; // string | Page identifier

try {
    $result = $apiInstance->getPagesPageIdStatusEmbedConfig($page_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StatusEmbedConfigApi->getPagesPageIdStatusEmbedConfig: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
page_id string Page identifier

Return type

\OpenAPI\Client\Model\StatusEmbedConfig

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

patchPagesPageIdStatusEmbedConfig()

patchPagesPageIdStatusEmbedConfig($page_id, $patch_pages_page_id_status_embed_config): \OpenAPI\Client\Model\StatusEmbedConfig

Update status embed config settings

Update status embed config settings

Example

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


// Configure API key authorization: api_key
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new OpenAPI\Client\Api\StatusEmbedConfigApi(
    // 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
);
$page_id = 'page_id_example'; // string | Page identifier
$patch_pages_page_id_status_embed_config = new \OpenAPI\Client\Model\PatchPagesPageIdStatusEmbedConfig(); // \OpenAPI\Client\Model\PatchPagesPageIdStatusEmbedConfig

try {
    $result = $apiInstance->patchPagesPageIdStatusEmbedConfig($page_id, $patch_pages_page_id_status_embed_config);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StatusEmbedConfigApi->patchPagesPageIdStatusEmbedConfig: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
page_id string Page identifier
patch_pages_page_id_status_embed_config \OpenAPI\Client\Model\PatchPagesPageIdStatusEmbedConfig

Return type

\OpenAPI\Client\Model\StatusEmbedConfig

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

putPagesPageIdStatusEmbedConfig()

putPagesPageIdStatusEmbedConfig($page_id, $put_pages_page_id_status_embed_config): \OpenAPI\Client\Model\StatusEmbedConfig

Update status embed config settings

Update status embed config settings

Example

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


// Configure API key authorization: api_key
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');


$apiInstance = new OpenAPI\Client\Api\StatusEmbedConfigApi(
    // 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
);
$page_id = 'page_id_example'; // string | Page identifier
$put_pages_page_id_status_embed_config = new \OpenAPI\Client\Model\PutPagesPageIdStatusEmbedConfig(); // \OpenAPI\Client\Model\PutPagesPageIdStatusEmbedConfig

try {
    $result = $apiInstance->putPagesPageIdStatusEmbedConfig($page_id, $put_pages_page_id_status_embed_config);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StatusEmbedConfigApi->putPagesPageIdStatusEmbedConfig: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
page_id string Page identifier
put_pages_page_id_status_embed_config \OpenAPI\Client\Model\PutPagesPageIdStatusEmbedConfig

Return type

\OpenAPI\Client\Model\StatusEmbedConfig

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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