API Access Guide
Introduction
Features
Supported Devices
Preparation
Access Procedure
Obtain the Application Access Key (AK/AS).
What is an AK/ASAK:AppKey ID , an application access key ID to identify the user. A user can have only one AK. AS:AppKey Secret , a secret application access key used as a password to verify that you own the AppKey. An AK corresponds to a unique AS and the user generates API interface authentication information with the AK/AS. How to obtain an AK/AS First, sign up and log in to NovaCloud Open Platform. NovaCloud services are independently deployed in many countries and regions to ensure data isolation and security. In order to access the cloud services in your region, please select the correct node to log in. Users who already have a VNNOX Media or VNNOX Care account can log in directly. After logging into the platform, users will be automatically provided with AK/AS, API service domain names, and basic permissions to call APIs by default. Upon successful enterprise authentication, users can obtain the complete API interface calling permissions. 
Confirm the request address (URL)
NovaCloud services distinguish requests based on the request paths. The service domain name can be obtained on NovaCloud Open Platform. For the specific API paths, see the API document.Request protocol: https Service domain name example: openapi-us.vnnox.com API request path example:/v2/player/list
The request protocol, API service domain name, and specific API request path can be combined into a complete request address (URL).
Example:https://openapi-us.vnnox.com/v2/player/list
The request protocol, API service domain name, and specific API request path can be combined into a complete request address (URL).
Example:https://openapi-us.vnnox.com/v2/player/list
Prepare public request parameters
To ensure the security of API calls, The NovaCloud server will authenticate each API access request. Each API must be configured with public request parameters first, including AppKey, Nonce, CurTime, and CheckSum. Public request parameters should be placed in the Request Header. All public request parameters are of string type.
Parameter | Description |
---|---|
AppKey | Access key ID. |
Nonce | Random string (8 to 64 characters, numbers or English letters only) |
CurTime | Current UTC timestamp, the number of seconds since 00:00:00, January 1, 1970. To ensure the authenticity and timeliness of the request, the timestamp error between the client and the server should be within 5 minutes. Requests exceeding the maximum error threshold are considered invalid. |
CheckSum | Generate a request signature based on AK/AS. See step 4 for details. CheckSum = SHA256(AppSecret + Nonce + CurTime) |
Generate a request signature (CheckSum)
CheckSum can be generated by combining the obtained AppSecret with Nonce and CurTime into a string and then performing a SHA256 hash calculation.
After calculating and generating CheckSum, fill the value into the public request header in the previous step. After receiving the API request, the NovaCloud server will also use the same method to calculate and verify CheckSum.
CheckSum = SHA256(AppSecret + Nonce + CurTime)
After calculating and generating CheckSum, fill the value into the public request header in the previous step. After receiving the API request, the NovaCloud server will also use the same method to calculate and verify CheckSum.
Assemble specific API request parameters
After configuring the public request parameters, continue to configure the specific business parameters of the related APIs.GET interface: Business parameters are passed in the URL path using the Content-Type: application/x-www-form-urlencoded method. POST interface: Business parameters are passed in the request body using the Content-type: application/json; charset=utf-8 method.
Initiate the request
Request example: public request header parameter preparationRequest example: cURL simulates sending a request Successful request example Failed request example
Rate Limits
Business Process Example
Modified at 2024-09-26 05:52:32