kinow-io/kinow-php-sdk

2.0.28 2023-05-12 10:26 UTC

This package is auto-updated.

Last update: 2024-03-12 12:45:45 UTC


README

Requirements

PHP 5.4.0 and later

Installation & Usage

Composer

Method 1:

To install the bindings via Composer, type in your console: composer require kinow-io/kinow-php-sdk

Method 2:

To install the bindings via Composer, add the following to composer.json:

{
    "repositories": [{
        "type": "git",
        "url": "https://github.com/kinow-io/kinow-php-sdk.git"
    }],
    "require": {
        "kinow-io/kinow-php-sdk": "^1.0"
    }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/KinowClient/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

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

// Configure API key authorization: ApiClientId
Kinow\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Client-Id', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Kinow\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Client-Id', 'Bearer');
// Configure API key authorization: ApiClientSecret
Kinow\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Client-Secret', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Kinow\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Client-Secret', 'Bearer');

$api_instance = new Kinow\Client\Api\ActorsApi();
$category_id = 789; // int | Category ID to fetch
$actor_id = 789; // int | Actor ID to attach

try {
    $api_instance->attachActorToCategory($category_id, $actor_id);
} catch (Exception $e) {
    echo 'Exception when calling ActorsApi->attachActorToCategory: ', $e->getMessage(), PHP_EOL;
}

?>

Enable Debug Logs

You can enable debug logging to get information about what is sent or received by the SDK. The logs will be available in the 'output' file at the root of your server.

When submitting a support request, it is best to provide the logs file for a faster resolution of your issue.

// To be done before doing anything with the SDK
// Activate debug logs
Kinow\Client\Configuration::getDefaultConfiguration()->setDebug(true);

// (optionally) Change debug file location (default is 'php://output')
Kinow\Client\Configuration::getDefaultConfiguration()->setDebugFile('php://output');

Documentation for API Endpoints

All URIs are relative to https://api.kinow.com/api

Class Method HTTP request Description
ActorsApi attachActorToCategory POST /categories/{category_id}/actors
ActorsApi attachActorToProduct POST /products/{product_id}/actors
ActorsApi attachFeaturesToActor POST /actors/{actor_id}/features
ActorsApi createActor POST /actors
ActorsApi deleteActor DELETE /actors/{actor_id}
ActorsApi detachActorFromCategory DELETE /categories/{category_id}/actors/{actor_id}
ActorsApi detachActorFromProduct DELETE /products/{product_id}/actors/{actor_id}
ActorsApi getActor GET /actors/{actor_id}
ActorsApi getActorCoverImage GET /actors/{actor_id}/cover
ActorsApi getActorFeatures GET /actors/{actor_id}/features
ActorsApi getActorProducts GET /actors/{actor_id}/products
ActorsApi getActorProductsRole GET /actors/{actor_id}/products-role
ActorsApi getActors GET /actors
ActorsApi getCategoryActors GET /categories/{category_id}/actors
ActorsApi getProductActors GET /products/{product_id}/actors
ActorsApi getProductActorsRole GET /products/{product_id}/actors-role
ActorsApi updateActor PUT /actors/{actor_id}
ActorsApi uploadActorCover POST /actors/{actor_id}/cover
AddressApi getCustomerAddress GET /customers/{customer_id}/address
AddressApi updateAddress PUT /addresses/{address_id}
AttributesApi createProductAttribute POST /attributes
AttributesApi deleteAttribute DELETE /attributes/{attribute_id}
AttributesApi getAttribute GET /attributes/{attribute_id}
AttributesApi getProductAttributes GET /products/{product_id}/attributes
BlogCategoriesApi getBlogCategories GET /blog-categories
BlogCategoriesApi getBlogCategory GET /blog-categories/{blog_category_id}
BlogPagesApi attachFeaturesToBlogPage POST /blog-pages/{blog_page_id}/features
BlogPagesApi attachProductToBlogPage POST /blog-pages/{blog_page_id}/products
BlogPagesApi detachProductFromBlogPage DELETE /blog-pages/{blog_page_id}/products/{product_id}
BlogPagesApi getBlogPage GET /blog-pages/{blog_page_id}
BlogPagesApi getBlogPageFeatures GET /blog-pages/{blog_page_id}/features
BlogPagesApi getBlogPageProducts GET /blog-pages/{blog_page_id}/products
BlogPagesApi getBlogPages GET /blog-pages
BookmarksApi attachBookmarkToCustomer POST /customers/{customer_id}/bookmarks
BookmarksApi detachBookmarkFromCustomer DELETE /customers/{customer_id}/bookmarks/{product_id}
BookmarksApi getCustomerBookmarks GET /customers/{customer_id}/bookmarks
BundlesApi addProductToBundle PUT /bundles/{bundle_id}
BundlesApi getBundleProducts GET /bundles/{bundle_id}/products
BundlesApi removeProductFromBundle DELETE /bundles/{bundle_id}/{product_id}
CMSCategoriesApi createCMSCategory POST /cms-categories
CMSCategoriesApi getCMSCategories GET /cms-categories
CMSCategoriesApi updateCMSCategory PUT /cms-categories/{cms_category_id}
CMSPagesApi createCMSPage POST /cms-pages
CMSPagesApi getCMSPages GET /cms-pages
CMSPagesApi updateCMSPage PUT /cms-pages/{cms_page_id}
CartRulesApi attachCartRuleToCart POST /carts/{cart_id}/cart-rules
CartRulesApi createCartRule POST /cart-rules
CartRulesApi deleteCartRule DELETE /cart-rules/{cart_rule_id}
CartRulesApi detachCartRuleFromCart DELETE /carts/{cart_id}/cart-rules/{cart_rule_id}
CartRulesApi getCartRule GET /cart-rules/{cart_rule_id}
CartRulesApi getCartRules GET /cart-rules
CartRulesApi updateCartRule PUT /cart-rules/{cart_rule_id}
CartsApi addProductToCart POST /carts/{cart_id}/products
CartsApi attachCartRuleToCart POST /carts/{cart_id}/cart-rules
CartsApi attachCartToCustomer POST /customers/{customer_id}/carts
CartsApi createCart POST /carts
CartsApi deleteCart DELETE /carts/{cart_id}
CartsApi detachCartRuleFromCart DELETE /carts/{cart_id}/cart-rules/{cart_rule_id}
CartsApi emptyCart POST /carts/{cart_id}/empty
CartsApi getCart GET /carts/{cart_id}
CartsApi getCartPaymentModules GET /carts/{cart_id}/payments
CartsApi getCarts GET /carts
CartsApi getCustomerCarts GET /customers/{customer_id}/carts
CartsApi getLastCart GET /customers/{customer_id}/last-cart
CartsApi getLostsCarts GET /carts/losts-carts
CartsApi getPaymentUrl GET /carts/{cart_id}/payments/{payment_name}
CartsApi getPrice POST /carts/price
CartsApi preparePayment POST /carts/{cart_id}/payments/{payment_name}/prepare
CartsApi recurringPayment POST /carts/{cart_id}/payments/{payment_name}/recurring
CartsApi removeProductFromCart DELETE /carts/{cart_id}/products
CartsApi updateCart PUT /carts/{cart_id}
CartsApi validateFreeOrder POST /carts/{cart_id}/validate-free-order
CartsApi validatePayment POST /carts/{cart_id}/payments/{payment_name}/validate
CategoriesApi attachActorToCategory POST /categories/{category_id}/actors
CategoriesApi attachDirectorToCategory POST /categories/{category_id}/directors
CategoriesApi attachFeaturesToCategory POST /categories/{category_id}/features
CategoriesApi createCategory POST /categories
CategoriesApi deleteCategory DELETE /categories/{category_id}
CategoriesApi detachActorFromCategory DELETE /categories/{category_id}/actors/{actor_id}
CategoriesApi detachDirectorFromCategory DELETE /categories/{category_id}/directors/{director_id}
CategoriesApi getAvailableCategory GET /categories-accesses/{category_id}
CategoriesApi getCategories GET /categories
CategoriesApi getCategoriesFromCategory GET /categories/{category_id}/categories
CategoriesApi getCategory GET /categories/{category_id}
CategoriesApi getCategoryActors GET /categories/{category_id}/actors
CategoriesApi getCategoryBanner GET /categories/{category_id}/banner
CategoriesApi getCategoryDirectors GET /categories/{category_id}/directors
CategoriesApi getCategoryFeatures GET /categories/{category_id}/features
CategoriesApi getCategoryImages GET /categories/{category_id}/images
CategoriesApi getCategoryPlayer GET /categories/videos/{video_id}/player
CategoriesApi getCategoryProducts GET /categories/{category_id}/products
CategoriesApi getCategoryVideoSubtitles GET /categories/videos/{video_id}/subtitles
CategoriesApi getProductCategories GET /products/{product_id}/categories
CategoriesApi getSubscriptionCategories GET /subscriptions/{subscription_id}/categories
CategoriesApi getVideosFromCategories GET /categories/videos
CategoriesApi getVideosFromCategory GET /categories/{category_id}/videos
CategoriesApi updateCategory PUT /categories/{category_id}
CategoriesApi uploadCategoryCover POST /categories/{category_id}/cover
CategoriesApi uploadCategoryImage POST /categories/{category_id}/image
CategoryVideosApi getCategoryPlayer GET /categories/videos/{video_id}/player
CategoryVideosApi getCategoryVideoSubtitles GET /categories/videos/{video_id}/subtitles
CategoryVideosApi getVideosFromCategories GET /categories/videos
CategoryVideosApi getVideosFromCategory GET /categories/{category_id}/videos
CommentsApi createProductComment POST /products/{product_id}/comments
CommentsApi getComment GET /comments/{comment_id}
CommentsApi getComments GET /comments
CommentsApi getCustomerComments GET /customers/{customer_id}/comments
CommentsApi getProductComments GET /products/{product_id}/comments
ConfigurationApi getConfiguration GET /configuration
ConfigurationApi getConfigurationAnalytics GET /configuration/analytics
ConfigurationApi getConfigurationByName GET /configuration/{configuration_name}
ConfigurationApi getConfigurationLogo GET /configuration/logo
ConfigurationApi getConfigurationSocial GET /configuration/social
CountriesApi getCountries GET /countries
CountriesApi getStates GET /countries/states
CurrenciesApi getCurrencies GET /currencies
CustomersApi attachBookmarkToCustomer POST /customers/{customer_id}/bookmarks
CustomersApi attachCartToCustomer POST /customers/{customer_id}/carts
CustomersApi checkAuthenticationToken POST /customers/check-authentication-token
CustomersApi checkCustomerCredentials POST /customers/check-credentials
CustomersApi createCustomer POST /customers
CustomersApi createFacebookId POST /customers/facebook
CustomersApi createGoogleId POST /customers/google
CustomersApi deleteCustomer DELETE /customers/{customer_id}
CustomersApi detachBookmarkFromCustomer DELETE /customers/{customer_id}/bookmarks/{product_id}
CustomersApi generateAuthenticationToken GET /customers/{customer_id}/authentication-token
CustomersApi getCustomer GET /customers/{customer_id}
CustomersApi getCustomerAccessesSubscriptions GET /customers/{customer_id}/accesses/subscriptions
CustomersApi getCustomerAccessesVideos GET /customers/{customer_id}/accesses/videos
CustomersApi getCustomerAddress GET /customers/{customer_id}/address
CustomersApi getCustomerBookmarks GET /customers/{customer_id}/bookmarks
CustomersApi getCustomerCanSeeProduct GET /customers/{customer_id}/products/{product_id}/can-see
CustomersApi getCustomerCarts GET /customers/{customer_id}/carts
CustomersApi getCustomerComments GET /customers/{customer_id}/comments
CustomersApi getCustomerCurrentViews GET /customers/{customer_id}/current-views
CustomersApi getCustomerGroups GET /customers/{customer_id}/groups
CustomersApi getCustomerHasAccessToProduct GET /customers/{customer_id}/products/{product_id}/has-access
CustomersApi getCustomerHasAccessToProducts POST /customers/{customer_id}/products/has-access
CustomersApi getCustomerHasAccessToVideo GET /customers/{customer_id}/videos/{video_id}/has-access
CustomersApi getCustomerHasAccessToVideos POST /customers/{customer_id}/videos/has-access
CustomersApi getCustomerOrders GET /customers/{customer_id}/orders
CustomersApi getCustomerPlaylists GET /customers/{customer_id}/playlists
CustomersApi getCustomerPrepaymentBalances GET /customers/{customer_id}/prepayment-balance
CustomersApi getCustomerPrepaymentOperations GET /customers/{customer_id}/prepayment-operations
CustomersApi getCustomers GET /customers
CustomersApi getFacebookCustomer GET /customers/facebook/{facebook_id}
CustomersApi getGoogleCustomer GET /customers/google/{google_id}
CustomersApi getPaymentMethods GET /customers/{customer_id}/payments/{payment_name}/payment-methods
CustomersApi getPaymentMethodsWithIp GET /customers/{customer_id}/payments/{payment_name}/payment-methods/{ip_address}
CustomersApi getPendingPayments GET /customers/{customer_id}/payments/{payment_name}/pending
CustomersApi getPendingPaymentsWithIp GET /customers/{customer_id}/payments/{payment_name}/pending/{ip_address}
CustomersApi getRegistrationFields GET /customer/registration-fields
CustomersApi loginWithFacebook POST /customers/facebook-login
CustomersApi loginWithGoogle POST /customers/google-login
CustomersApi passwordToken POST /customers/password-token
CustomersApi passwordTokenConsume POST /customers/password-token-consume
CustomersApi stopSubscription PUT /customers/{customer_id}/unsubscribe
CustomersApi updateCustomer PUT /customers/{customer_id}
CustomersApi updatePaymentMethod PUT /customers/{customer_id}/payments/{payment_name}/payment-method
CustomersApi validateCustomerCredentials POST /customers/validate-credentials
DevicesApi createDevices POST /devices
DevicesApi deleteDevice DELETE /devices/{device_id}
DevicesApi getCustomerDevices GET /devices/{customer_id}
DirectorsApi attachDirectorToCategory POST /categories/{category_id}/directors
DirectorsApi attachDirectorToProduct POST /products/{product_id}/directors
DirectorsApi attachFeaturesToDirector POST /directors/{director_id}/features
DirectorsApi createDirector POST /directors
DirectorsApi deleteDirector DELETE /directors/{director_id}
DirectorsApi detachDirectorFromCategory DELETE /categories/{category_id}/directors/{director_id}
DirectorsApi detachDirectorFromProduct DELETE /products/{product_id}/directors/{director_id}
DirectorsApi getCategoryDirectors GET /categories/{category_id}/directors
DirectorsApi getDirector GET /directors/{director_id}
DirectorsApi getDirectorCoverImage GET /directors/{director_id}/cover
DirectorsApi getDirectorFeatures GET /directors/{director_id}/features
DirectorsApi getDirectorProducts GET /directors/{director_id}/products
DirectorsApi getDirectorProductsRole GET /directors/{director_id}/products-role
DirectorsApi getDirectors GET /directors
DirectorsApi getProductDirectors GET /products/{product_id}/directors
DirectorsApi getProductDirectorsRole GET /products/{product_id}/directors-role
DirectorsApi updateDirector PUT /directors/{director_id}
DirectorsApi uploadDirectorCover POST /directors/{director_id}/cover
EmployeesApi getEmployee GET /employees/{employee_id}
EmployeesApi getEmployees GET /employees
ExtractsApi attachCoverToExtract POST /extracts/{extract_id}/cover
ExtractsApi attachFeaturesToExtract POST /extracts/{extract_id}/features
ExtractsApi createExtract POST /extracts
ExtractsApi createExtractSubtitle POST /extracts/{extract_id}/subtitle
ExtractsApi deleteExtract DELETE /extracts/{extract_id}
ExtractsApi getExtract GET /extracts/{extract_id}
ExtractsApi getExtractFeatures GET /extracts/{extract_id}/features
ExtractsApi getExtractPlayer GET /extracts/{extract_id}/player
ExtractsApi getExtractSubtitles GET /extracts/{extract_id}/subtitles
ExtractsApi getExtracts GET /extracts
ExtractsApi getProductExtracts GET /products/{product_id}/extracts
ExtractsApi hasAccessToExtracts POST /extracts/has-access
ExtractsApi updateExtract PUT /extracts/{extract_id}
FeatureValuesApi attachFeaturesToActor POST /actors/{actor_id}/features
FeatureValuesApi attachFeaturesToBlogPage POST /blog-pages/{blog_page_id}/features
FeatureValuesApi attachFeaturesToCategory POST /categories/{category_id}/features
FeatureValuesApi attachFeaturesToDirector POST /directors/{director_id}/features
FeatureValuesApi attachFeaturesToExtract POST /extracts/{extract_id}/features
FeatureValuesApi attachFeaturesToProduct POST /products/{product_id}/features
FeatureValuesApi attachFeaturesToVideo POST /videos/{video_id}/features
FeatureValuesApi detachFeatureToProduct DELETE /products/{product_id}/features/{feature_id}
FeatureValuesApi getFeatureValues GET /feature-values
FeaturesApi attachFeaturesToActor POST /actors/{actor_id}/features
FeaturesApi attachFeaturesToBlogPage POST /blog-pages/{blog_page_id}/features
FeaturesApi attachFeaturesToCategory POST /categories/{category_id}/features
FeaturesApi attachFeaturesToDirector POST /directors/{director_id}/features
FeaturesApi attachFeaturesToExtract POST /extracts/{extract_id}/features
FeaturesApi attachFeaturesToProduct POST /products/{product_id}/features
FeaturesApi attachFeaturesToVideo POST /videos/{video_id}/features
FeaturesApi detachFeatureToProduct DELETE /products/{product_id}/features/{feature_id}
FeaturesApi getActorFeatures GET /actors/{actor_id}/features
FeaturesApi getBlogPageFeatures GET /blog-pages/{blog_page_id}/features
FeaturesApi getCategoryFeatures GET /categories/{category_id}/features
FeaturesApi getDirectorFeatures GET /directors/{director_id}/features
FeaturesApi getExtractFeatures GET /extracts/{extract_id}/features
FeaturesApi getFeatureValues GET /feature-values
FeaturesApi getFeatures GET /features
FeaturesApi getProductFeatures GET /products/{product_id}/features
FeaturesApi getVideoFeatures GET /videos/{video_id}/features
FreeGiftsApi consumeFreeGift PUT /free-gifts/{free_gift_id}/consume
FreeGiftsApi createFreeGift POST /free-gifts
FreeGiftsApi deleteFreeGift DELETE /free-gifts/{free_gift_id}
FreeGiftsApi getFreeGift GET /free-gifts/{free_gift_id}
FreeGiftsApi getFreeGiftToken GET /free-gifts/{free_gift_id}/token
FreeGiftsApi getFreeGifts GET /free-gifts
FreeGiftsApi sendFreeGift POST /free-gifts/{free_gift_id}/send
GendersApi getGenders GET /genders
GeolocationsApi getGeolocSettings GET /geolocations/settings
GeolocationsApi getIPLocation GET /geolocations/ip
GeolocationsApi getPlatformAccessInfo GET /geolocations/platform-access
GeolocationsApi getProductGeolocations GET /products/{product_id}/geolocations
GeolocationsApi getProductGeolocationsByIp POST /products/{product_id}/geolocations
GeolocationsApi getVideoGeolocationByIp POST /videos/{video_id}/geolocations/{ip_address}
GeolocationsApi setProductGeolocation PUT /products/{product_id}/geolocations
GeolocationsApi setVideoGeolocation PUT /videos/{video_id}/geolocations
GiftsApi consumeGift PUT /gifts/{gift_id}/consume
GiftsApi createGift POST /gifts
GiftsApi deleteGift DELETE /gifts/{gift_id}
GiftsApi deleteGiftsInCart DELETE /carts/{cart_id}/gift/
GiftsApi getGift GET /gifts/{gift_id}
GiftsApi getGiftInCart GET /carts/{cart_id}/gift
GiftsApi getGiftToken GET /gifts/{gift_id}/token
GiftsApi getGifts GET /gifts
GiftsApi getGiftsInCart GET /carts/{cart_id}/gifts
GiftsApi sendGift POST /gifts/{gift_id}/send
GiftsApi updateGift PUT /gifts/{gift_id}
GroupsApi attachCustomerToGroup POST /groups/{group_id}/customers
GroupsApi createGroup POST /groups
GroupsApi detachCustomerFromGroup DELETE /groups/{group_id}/customers/{customer_id}
GroupsApi getGroup GET /groups/{group_id}
GroupsApi getGroupCustomers GET /groups/{group_id}/customers
GroupsApi getGroups GET /groups
GroupsApi getProductGroups GET /products/{product_id}/groups
ImagesApi deleteImage DELETE /images/{image_id}
ImagesApi getActorCoverImage GET /actors/{actor_id}/cover
ImagesApi getCategoryBanner GET /categories/{category_id}/banner
ImagesApi getCategoryImageTypes GET /categories/image-types
ImagesApi getCategoryImages GET /categories/{category_id}/images
ImagesApi getDirectorCoverImage GET /directors/{director_id}/cover
ImagesApi getProductCoverImage GET /products/{product_id}/cover
ImagesApi getProductImageTypes GET /products/image-types
ImagesApi getProductImages GET /products/{product_id}/images
ImagesApi getProductScreenshots GET /products/{product_id}/screenshots
ImagesApi getSliderImage GET /widgets/slider/images
ImagesApi getSubscriptionCoverImage GET /subscriptions/{subscription_id}/cover
ImagesApi getVideoCover GET /videos/{video_id}/cover
ImagesApi uploadActorCover POST /actors/{actor_id}/cover
ImagesApi uploadCategoryCover POST /categories/{category_id}/cover
ImagesApi uploadCategoryImage POST /categories/{category_id}/image
ImagesApi uploadDirectorCover POST /directors/{director_id}/cover
ImagesApi uploadProductCover POST /products/{product_id}/cover
ImagesApi uploadProductImage POST /products/{product_id}/image
ImagesApi uploadSubscriptionCover POST /subscriptions/{subscription_id}/cover
LanguagesApi getLanguages GET /languages
MediaFilesApi convertLiveToVod POST /media-sources/{source_id}/live2vod
MediaFilesApi createLive POST /media-sources/{source_id}/live
MediaFilesApi getLiveStreams GET /media-files/{media_file_id}/streams
MediaFilesApi getMediaFile GET /media-files/{media_file_id}
MediaFilesApi getMediaSourceFiles GET /media-sources/{source_id}/files
MediaFilesApi postMediaSourceFiles POST /media-sources/{source_id}/files
MediaSourcesApi convertLiveToVod POST /media-sources/{source_id}/live2vod
MediaSourcesApi createLive POST /media-sources/{source_id}/live
MediaSourcesApi getMediaSource GET /media-sources/{source_id}
MediaSourcesApi getMediaSourceFiles GET /media-sources/{source_id}/files
MediaSourcesApi getMediaSources GET /media-sources
MediaSourcesApi postMediaSourceFiles POST /media-sources/{source_id}/files
OrderHistoriesApi getOrderHistories GET /orders/{order_id}/histories
OrderStatesApi getOrderState GET /order-states/{order_state_id}
OrderStatesApi getOrderStates GET /order-states
OrdersApi getCustomerOrders GET /customers/{customer_id}/orders
OrdersApi getOrder GET /orders/{order_id}
OrdersApi getOrderHistories GET /orders/{order_id}/histories
OrdersApi getOrderInvoice GET /orders/{order_id}/invoice
OrdersApi getOrders GET /orders
PagesApi getPage GET /pages/{page_id}
PagesApi getPages GET /pages
PaymentModulesApi getCartPaymentModules GET /carts/{cart_id}/payments
PaymentModulesApi getPaymentMethods GET /customers/{customer_id}/payments/{payment_name}/payment-methods
PaymentModulesApi getPaymentMethodsWithIp GET /customers/{customer_id}/payments/{payment_name}/payment-methods/{ip_address}
PaymentModulesApi getPaymentModules GET /payment-modules
PaymentModulesApi getPaymentToken GET /payment-modules/token/{token}
PaymentModulesApi getPaymentUrl GET /carts/{cart_id}/payments/{payment_name}
PaymentModulesApi getPendingPayments GET /customers/{customer_id}/payments/{payment_name}/pending
PaymentModulesApi getPendingPaymentsWithIp GET /customers/{customer_id}/payments/{payment_name}/pending/{ip_address}
PaymentModulesApi preparePayment POST /carts/{cart_id}/payments/{payment_name}/prepare
PaymentModulesApi recurringPayment POST /carts/{cart_id}/payments/{payment_name}/recurring
PaymentModulesApi updatePaymentMethod PUT /customers/{customer_id}/payments/{payment_name}/payment-method
PaymentModulesApi validateFreeOrder POST /carts/{cart_id}/validate-free-order
PaymentModulesApi validatePayment POST /carts/{cart_id}/payments/{payment_name}/validate
PlaylistsApi attachBookmarkToPlaylist POST /playlists/{playlist_id}/bookmarks
PlaylistsApi createPlaylist POST /playlists
PlaylistsApi deletePlaylist DELETE /playlists/{playlist_id}
PlaylistsApi detachBookmarkFromPlaylist DELETE /playlists/{playlist_id}/bookmarks/{product_id}
PlaylistsApi getCustomerPlaylists GET /customers/{customer_id}/playlists
PlaylistsApi getPlaylist GET /playlists/{playlist_id}
PlaylistsApi getPlaylistBookmarks GET /playlists/{playlist_id}/bookmarks
PlaylistsApi getPlaylists GET /playlists
PlaylistsApi updatePlaylist PUT /playlists/{playlist_id}
PrepaymentsApi getCustomerPrepaymentBalances GET /customers/{customer_id}/prepayment-balance
PrepaymentsApi getCustomerPrepaymentOperations GET /customers/{customer_id}/prepayment-operations
PrepaymentsApi getPrepaymentBonus GET /prepayment/bonus/{prepayment_bonus_id}
PrepaymentsApi getPrepaymentBonusAmount POST /prepayment/bonus/amount
PrepaymentsApi getPrepaymentBonusList GET /prepayment/bonus
PrepaymentsApi getPrepaymentOperation GET /prepayment/operations/{prepayment_operation_id}
PrepaymentsApi getPrepaymentOperations GET /prepayment/operations
PrepaymentsApi getPrepaymentOperationsAmount POST /prepayment/operations/amount
PrepaymentsApi getPrepaymentRecharge GET /prepayment/recharges/{prepayment_recharge_id}
PrepaymentsApi getPrepaymentRecharges GET /prepayment/recharges
ProductAccessesApi createProductAccess POST /product-accesses
ProductAccessesApi deleteProductAccess DELETE /product-accesses/{product_access_id}
ProductAccessesApi getCustomerAccessesSubscriptions GET /customers/{customer_id}/accesses/subscriptions
ProductAccessesApi getCustomerAccessesVideos GET /customers/{customer_id}/accesses/videos
ProductAccessesApi getProductAccess GET /product-accesses/{product_access_id}
ProductAccessesApi getProductAccesses GET /product-accesses
ProductAccessesApi subscribe PUT /product-accesses/{product_access_id}/subscribe
ProductAccessesApi switchSubscription PUT /product-accesses/{product_access_id}/switch
ProductAccessesApi switchSubscriptionDelete DELETE /product-accesses/{product_access_id}/switch
ProductAccessesApi switchSubscriptionPending GET /product-accesses/{product_access_id}/switch
ProductAccessesApi unsubscribe PUT /product-accesses/{product_access_id}/unsubscribe
ProductAccessesApi updateProductAccess PUT /product-accesses/{product_access_id}
ProductsApi associateProducts POST /products/{product_id}/products
ProductsApi attachActorToProduct POST /products/{product_id}/actors
ProductsApi attachDirectorToProduct POST /products/{product_id}/directors
ProductsApi attachFeaturesToProduct POST /products/{product_id}/features
ProductsApi attachProductToCategory POST /products/{product_id}/categories
ProductsApi attachProductToGroup POST /products/{product_id}/groups
ProductsApi attachVideoToProduct POST /products/{product_id}/videos
ProductsApi createProduct POST /products
ProductsApi createProductComment POST /products/{product_id}/comments
ProductsApi deleteProduct DELETE /products/{product_id}
ProductsApi detachActorFromProduct DELETE /products/{product_id}/actors/{actor_id}
ProductsApi detachDirectorFromProduct DELETE /products/{product_id}/directors/{director_id}
ProductsApi detachFeatureToProduct DELETE /products/{product_id}/features/{feature_id}
ProductsApi detachProductFromCategory DELETE /products/{product_id}/categories/{category_id}
ProductsApi detachProductFromGroup DELETE /products/{product_id}/groups/{group_id}
ProductsApi getBestSales GET /products/best-sales
ProductsApi getCategoryProducts GET /categories/{category_id}/products
ProductsApi getCustomerHasAccessToProduct GET /customers/{customer_id}/products/{product_id}/has-access
ProductsApi getCustomerHasAccessToProducts POST /customers/{customer_id}/products/has-access
ProductsApi getMostWatched GET /products/most-watched
ProductsApi getNewProducts GET /products/new
ProductsApi getPrice POST /products/price
ProductsApi getProduct GET /products/{product_id}
ProductsApi getProductActors GET /products/{product_id}/actors
ProductsApi getProductActorsRole GET /products/{product_id}/actors-role
ProductsApi getProductAttributes GET /products/{product_id}/attributes
ProductsApi getProductAvailability GET /products/{product_id}/access
ProductsApi getProductCategories GET /products/{product_id}/categories
ProductsApi getProductComments GET /products/{product_id}/comments
ProductsApi getProductCoverImage GET /products/{product_id}/cover
ProductsApi getProductDirectors GET /products/{product_id}/directors
ProductsApi getProductDirectorsRole GET /products/{product_id}/directors-role
ProductsApi getProductExtracts GET /products/{product_id}/extracts
ProductsApi getProductFeatures GET /products/{product_id}/features
ProductsApi getProductGeolocations GET /products/{product_id}/geolocations
ProductsApi getProductGeolocationsByIp POST /products/{product_id}/geolocations
ProductsApi getProductGroups GET /products/{product_id}/groups
ProductsApi getProductImages GET /products/{product_id}/images
ProductsApi getProductScreenshots GET /products/{product_id}/screenshots
ProductsApi getProductSubscription GET /products/{product_id}/subscription
ProductsApi getProducts GET /products
ProductsApi getProductsFromProduct GET /products/{product_id}/products
ProductsApi getVideoGroupsFromProduct GET /products/{product_id}/video-groups
ProductsApi getVideosFromProduct GET /products/{product_id}/videos
ProductsApi searchProducts GET /products/search/{search_query}
ProductsApi setProductGeolocation PUT /products/{product_id}/geolocations
ProductsApi updateProduct PUT /products/{product_id}
ProductsApi updateProductGroupRestrictionBehavior PUT /products/{product_id}/groups/behavior
ProductsApi uploadProductCover POST /products/{product_id}/cover
ProductsApi uploadProductImage POST /products/{product_id}/image
RecommendationsApi getCustomerRecommendations GET /customers/{customer_id}/recommendations
StatsApi createVideoStatSession POST /video-stats/sessions
StatsApi getCustomerGroupTotalWatched GET /video-stats/customer-group
StatsApi getCustomerSessions GET /video-stats/sessions
StatsApi getCustomerSessionsMultiple POST /video-stats/{customer_id}/sessions
StatsApi getCustomerVideoStats GET /video-stats/customers
StatsApi getCustomerVideosViewInformations POST /video-stats/views/{customer_id}
StatsApi getProductsWatched GET /video-stats/products-watched
StatsApi getVideoStats GET /video-stats/videos
StatsApi getVideosWatching GET /video-stats/videos-watching
StatsApi setCustomerVideoViewInformations PUT /video-stats/views/{customer_id}/{video_id}
SubscriptionsApi attachCategoriesToSubscription POST /subscriptions/{subscription_id}/categories
SubscriptionsApi detachCategoryFromSubscription DELETE /subscriptions/{subscription_id}/categories/{category_id}
SubscriptionsApi getDisabledSubscriptions GET /videos/{video_id}/disabled-subscriptions
SubscriptionsApi getProductSubscription GET /products/{product_id}/subscription
SubscriptionsApi getSubscription GET /subscriptions/{subscription_id}
SubscriptionsApi getSubscriptionCategories GET /subscriptions/{subscription_id}/categories
SubscriptionsApi getSubscriptionCoverImage GET /subscriptions/{subscription_id}/cover
SubscriptionsApi getSubscriptions GET /subscriptions
SubscriptionsApi uploadSubscriptionCover POST /subscriptions/{subscription_id}/cover
SubtitlesApi createExtractSubtitle POST /extracts/{extract_id}/subtitle
SubtitlesApi createVideoSubtitle POST /videos/{video_id}/subtitle
SubtitlesApi getCategoryVideoSubtitles GET /categories/videos/{video_id}/subtitles
SubtitlesApi getExtractSubtitles GET /extracts/{extract_id}/subtitles
SubtitlesApi getSubtitles GET /subtitles
SubtitlesApi getVideoSubtitles GET /videos/{video_id}/subtitles
SupportApi createMessage POST /support
SupportApi getContacts GET /support/contacts
TasksApi createTask POST /tasks
TaxRulesApi getTaxRules GET /tax-rules
VideoGroupsApi getVideoGroup GET /video-groups/{video_group_id}
VideoGroupsApi getVideoGroups GET /video-groups
VideoGroupsApi getVideoGroupsFromProduct GET /products/{product_id}/video-groups
VideosApi attachCoverToVideo POST /videos/{video_id}/cover
VideosApi attachFeaturesToVideo POST /videos/{video_id}/features
VideosApi attachVideoToProduct POST /products/{product_id}/videos
VideosApi createVideo POST /videos
VideosApi createVideoSubtitle POST /videos/{video_id}/subtitle
VideosApi deleteVideo DELETE /videos/{video_id}
VideosApi getCustomerHasAccessToVideo GET /customers/{customer_id}/videos/{video_id}/has-access
VideosApi getCustomerHasAccessToVideos POST /customers/{customer_id}/videos/has-access
VideosApi getDisabledSubscriptions GET /videos/{video_id}/disabled-subscriptions
VideosApi getVideo GET /videos/{video_id}
VideosApi getVideoAccess GET /videos/{video_id}/customers/{customer_id}/access
VideosApi getVideoBonus GET /videos/{video_id}/bonus
VideosApi getVideoCover GET /videos/{video_id}/cover
VideosApi getVideoDownloadUrl GET /videos/{video_id}/download-url
VideosApi getVideoFeatures GET /videos/{video_id}/features
VideosApi getVideoGeolocation GET /videos/{video_id}/geolocation
VideosApi getVideoGeolocationByIp POST /videos/{video_id}/geolocations/{ip_address}
VideosApi getVideoPlayer GET /videos/{video_id}/player
VideosApi getVideoSubtitles GET /videos/{video_id}/subtitles
VideosApi getVideoViews GET /videos/{video_id}/views
VideosApi getVideos GET /videos
VideosApi getVideosFromProduct GET /products/{product_id}/videos
VideosApi setVideoGeolocation PUT /videos/{video_id}/geolocations
VideosApi updateVideo PUT /videos/{video_id}
WidgetsApi getSliderImage GET /widgets/slider/images
WidgetsApi getWidgetAnalytics GET /widgets/analytics
WidgetsApi getWidgetFooterMenu GET /widgets/footer-menu
WidgetsApi getWidgetHomeRail GET /widgets/home-rail
WidgetsApi getWidgetHomeRailVideo GET /widgets/home-rail/{homerail_id}/videos
WidgetsApi getWidgetHookPhrase GET /widgets/hook-phrase
WidgetsApi getWidgetSlider GET /widgets/slider
WidgetsApi getWidgetSliderItem GET /widgets/slider/{slider_id}
WidgetsApi getWidgetSliderVideoPlayer GET /widgets/slider/{slider_id}/player
WidgetsApi getWidgetTopMenu GET /widgets/top-menu

Documentation For Models