Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

kinow-javascript-sdk

KinowJavascriptSdk - JavaScript client for kinow-javascript-sdk Reference for Server API (REST/Json) This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.4.55
  • Package version: 1.4.55
  • Build date: 2021-10-14T09:56:50.328Z
  • Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install kinow-javascript-sdk --save
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your kinow-javascript-sdk from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('kinow-javascript-sdk') in javascript files from the directory you ran the last command above from.

git

If the library is hosted at a git repository, e.g. https://github.com/kinow-io/kinow-javascript-sdk then install it via:

    npm install kinow-io/kinow-javascript-sdk --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var KinowJavascriptSdk = require('kinow-javascript-sdk');

var defaultClient = KinowJavascriptSdk.ApiClient.instance;

// Configure API key authorization: ApiClientId
var ApiClientId = defaultClient.authentications['ApiClientId'];
ApiClientId.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiClientId.apiKeyPrefix['X-Client-Id'] = "Token"

// Configure API key authorization: ApiClientSecret
var ApiClientSecret = defaultClient.authentications['ApiClientSecret'];
ApiClientSecret.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiClientSecret.apiKeyPrefix['X-Client-Secret'] = "Token"

var api = new KinowJavascriptSdk.ActorsApi()

var categoryId = 789; // {Integer} Category ID to fetch

var actorId = 789; // {Integer} Actor ID to attach

api.attachActorToCategory(categoryId, actorId).then(function() {
  console.log('API called successfully.');
}, function(error) {
  console.error(error);
});

Enable Debug Logs

You can enable debug logging by following the pattern shown above (success and error callback).

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

// append to file snippet (Node.js)
const fs = require('fs');

// Append your log string to the output file
fs.appendFileSync('output', '\n' + log);

Documentation for API Endpoints

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

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

Documentation for Models

Documentation for Authorization

ApiClientId

  • Type: API key
  • API key parameter name: X-Client-Id
  • Location: HTTP header

ApiClientSecret

  • Type: API key
  • API key parameter name: X-Client-Secret
  • Location: HTTP header