All URIs are relative to https://api.kinow.com/api
Method | HTTP request | Description |
---|---|---|
getBlogPage | GET /blog-pages/{blog_page_id} | |
getBlogPages | GET /blog-pages |
\Kinow\Client\Model\BlogPage getBlogPage($blog_page_id)
Get blog page
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\BlogPagesApi();
$blog_page_id = 789; // int |
try {
$result = $api_instance->getBlogPage($blog_page_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BlogPagesApi->getBlogPage: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
blog_page_id | int |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\BlogPageLists getBlogPages($page, $per_page, $filters, $sort_by, $sort_direction)
Get blog pages
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\BlogPagesApi();
$page = 789; // int |
$per_page = 789; // int |
$filters = "filters_example"; // string | ``` name[value]=string&name[operator]=contains&date_add[value]=string&date_add[operator]=lt _______________ { \"name\": { \"value\": \"string\", \"operator\": \"contains\" }, \"date_add\": { \"value\": \"string\", \"operator\": \"lt\" } } ``` Operator can be: strict, contains, between, in, gt (greater than), lt (lower than).
$sort_by = "sort_by_example"; // string | Sort by this attribute (id by default)
$sort_direction = "sort_direction_example"; // string | Sorting direction (asc by default)
try {
$result = $api_instance->getBlogPages($page, $per_page, $filters, $sort_by, $sort_direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BlogPagesApi->getBlogPages: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
page | int | [optional] | |
per_page | int | [optional] | |
filters | string | ``` name[value]=string&name[operator]=contains&date_add[value]=string&date_add[operator]=lt _______________ { "name": { "value": "string", "operator": "contains" }, "date_add": { "value": "string", "operator": "lt" } } ``` Operator can be: strict, contains, between, in, gt (greater than), lt (lower than). | [optional] |
sort_by | string | Sort by this attribute (id by default) | [optional] |
sort_direction | string | Sorting direction (asc by default) | [optional] |
\Kinow\Client\Model\BlogPageLists
No authorization required
- Content-Type: Not defined
- Accept: Not defined