All URIs are relative to https://api.kinow.com/api
Method | HTTP request | Description |
---|---|---|
getActorCoverImage | GET /actors/{actor_id}/cover | |
getCategoryBanner | GET /categories/{category_id}/banner | |
getDirectorCoverImage | GET /directors/{director_id}/cover | |
getProductCoverImage | GET /products/{product_id}/cover | |
getProductImages | GET /products/{product_id}/images | |
getProductScreenshots | GET /products/{product_id}/screenshots | |
getSliderImage | GET /widgets/slider/images | |
getSubscriptionCoverImage | GET /subscriptions/{subscription_id}/cover | |
getVideoCover | GET /videos/{video_id}/cover | |
uploadActorCover | POST /actors/{actor_id}/cover | |
uploadCategoryCover | POST /categories/{category_id}/cover | |
uploadDirectorCover | POST /directors/{director_id}/cover | |
uploadProductCover | POST /products/{product_id}/cover | |
uploadSubscriptionCover | POST /subscriptions/{subscription_id}/cover |
\Kinow\Client\Model\Image getActorCoverImage($actor_id)
Get cover image of an actor
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$actor_id = 789; // int | Actor ID to fetch
try {
$result = $api_instance->getActorCoverImage($actor_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getActorCoverImage: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
actor_id | int | Actor ID to fetch |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\Image getCategoryBanner($category_id)
Get Category banner
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$category_id = 789; // int | Category ID to fetch
try {
$result = $api_instance->getCategoryBanner($category_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getCategoryBanner: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
category_id | int | Category ID to fetch |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\Image getDirectorCoverImage($director_id)
Get cover image of a director
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$director_id = 789; // int | Director ID to fetch
try {
$result = $api_instance->getDirectorCoverImage($director_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getDirectorCoverImage: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
director_id | int | Director ID to fetch |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\Image getProductCoverImage($product_id)
Get cover image of a product
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$product_id = 789; // int | Product ID to fetch
try {
$result = $api_instance->getProductCoverImage($product_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getProductCoverImage: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
product_id | int | Product ID to fetch |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\ProductImagesResponse getProductImages($product_id, $type, $page, $per_page)
Get images attached to product
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$product_id = 789; // int | Product ID to fetch
$type = "type_example"; // string | Filter on specific Image type
$page = 789; // int |
$per_page = 789; // int |
try {
$result = $api_instance->getProductImages($product_id, $type, $page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getProductImages: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
product_id | int | Product ID to fetch | |
type | string | Filter on specific Image type | [optional] |
page | int | [optional] | |
per_page | int | [optional] |
\Kinow\Client\Model\ProductImagesResponse
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\Screenshot[] getProductScreenshots($product_id)
Get product screenshots
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$product_id = 789; // int | Product ID to fetch
try {
$result = $api_instance->getProductScreenshots($product_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getProductScreenshots: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
product_id | int | Product ID to fetch |
\Kinow\Client\Model\Screenshot[]
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\Image[] getSliderImage()
Get slider images
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
try {
$result = $api_instance->getSliderImage();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getSliderImage: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\Image getSubscriptionCoverImage($subscription_id)
Get cover image of a subscription
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$subscription_id = 789; // int | Subscription ID to fetch
try {
$result = $api_instance->getSubscriptionCoverImage($subscription_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getSubscriptionCoverImage: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
subscription_id | int | Subscription ID to fetch |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\Image getVideoCover($video_id)
Get video cover
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$video_id = 789; // int | Video ID to fetch
try {
$result = $api_instance->getVideoCover($video_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->getVideoCover: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
video_id | int | Video ID to fetch |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
\Kinow\Client\Model\Image uploadActorCover($actor_id, $file, $hash, $hash_algorithm)
Upload actor cover
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$actor_id = 3.4; // float | Actor ID to fetch
$file = "/path/to/file.txt"; // \SplFileObject |
$hash = "hash_example"; // string |
$hash_algorithm = "hash_algorithm_example"; // string | Hash algorithm to check the hash file (default value is: sha256)
try {
$result = $api_instance->uploadActorCover($actor_id, $file, $hash, $hash_algorithm);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->uploadActorCover: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
actor_id | float | Actor ID to fetch | |
file | \SplFileObject | ||
hash | string | ||
hash_algorithm | string | Hash algorithm to check the hash file (default value is: sha256) | [optional] |
No authorization required
- Content-Type: multipart/form-data
- Accept: Not defined
\Kinow\Client\Model\Image uploadCategoryCover($category_id, $file, $hash, $hash_algorithm)
Upload Category cover
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$category_id = 3.4; // float | Category ID to fetch
$file = "/path/to/file.txt"; // \SplFileObject |
$hash = "hash_example"; // string |
$hash_algorithm = "hash_algorithm_example"; // string | Hash algorithm to check the hash file (default value is: sha256)
try {
$result = $api_instance->uploadCategoryCover($category_id, $file, $hash, $hash_algorithm);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->uploadCategoryCover: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
category_id | float | Category ID to fetch | |
file | \SplFileObject | ||
hash | string | ||
hash_algorithm | string | Hash algorithm to check the hash file (default value is: sha256) | [optional] |
No authorization required
- Content-Type: multipart/form-data
- Accept: Not defined
\Kinow\Client\Model\Image uploadDirectorCover($director_id, $file, $hash, $hash_algorithm)
Upload director cover
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$director_id = 3.4; // float | Director ID to fetch
$file = "/path/to/file.txt"; // \SplFileObject |
$hash = "hash_example"; // string |
$hash_algorithm = "hash_algorithm_example"; // string | Hash algorithm to check the hash file (default value is: sha256)
try {
$result = $api_instance->uploadDirectorCover($director_id, $file, $hash, $hash_algorithm);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->uploadDirectorCover: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
director_id | float | Director ID to fetch | |
file | \SplFileObject | ||
hash | string | ||
hash_algorithm | string | Hash algorithm to check the hash file (default value is: sha256) | [optional] |
No authorization required
- Content-Type: multipart/form-data
- Accept: Not defined
\Kinow\Client\Model\Image uploadProductCover($product_id, $file, $hash, $hash_algorithm)
Upload product cover
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$product_id = 3.4; // float | Product ID to fetch
$file = "/path/to/file.txt"; // \SplFileObject |
$hash = "hash_example"; // string |
$hash_algorithm = "hash_algorithm_example"; // string | Hash algorithm to check the hash file (default value is: sha256)
try {
$result = $api_instance->uploadProductCover($product_id, $file, $hash, $hash_algorithm);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->uploadProductCover: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
product_id | float | Product ID to fetch | |
file | \SplFileObject | ||
hash | string | ||
hash_algorithm | string | Hash algorithm to check the hash file (default value is: sha256) | [optional] |
No authorization required
- Content-Type: multipart/form-data
- Accept: Not defined
\Kinow\Client\Model\Image uploadSubscriptionCover($subscription_id, $file, $hash, $hash_algorithm)
Upload subscription cover
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Kinow\Client\Api\ImagesApi();
$subscription_id = 3.4; // float | Subscription ID to fetch
$file = "/path/to/file.txt"; // \SplFileObject |
$hash = "hash_example"; // string |
$hash_algorithm = "hash_algorithm_example"; // string | Hash algorithm to check the hash file (default value is: sha256)
try {
$result = $api_instance->uploadSubscriptionCover($subscription_id, $file, $hash, $hash_algorithm);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ImagesApi->uploadSubscriptionCover: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
subscription_id | float | Subscription ID to fetch | |
file | \SplFileObject | ||
hash | string | ||
hash_algorithm | string | Hash algorithm to check the hash file (default value is: sha256) | [optional] |
No authorization required
- Content-Type: multipart/form-data
- Accept: Not defined