Die Funktion zum Senden von Formularen auf der Support-Website ist aufgrund planmäßiger Wartungsarbeiten vorübergehend nicht verfügbar. Wenn Sie sofort Unterstützung benötigen, wenden Sie sich an den technischen Support. Wir bitten, jegliche Unannehmlichkeiten zu entschuldigen.
Konnten Sie mithilfe dieses Artikels ein Problem lösen?
Bewertung auswählen
Titel
Video Demonstration of REST APIs for Netvault
Beschreibung
How to Obtain and Deploy REST APIs for Netvault.
Ursache
The NetVault API provides a web-service based interface to configure and administer NetVault. The NetVault API is built on the Representational State Transfer (REST) architecture, which is the most widely used style for building APIs. The NetVault API uses the HTTP protocol to communicate with NetVault. The NetVault API is therefore easy to use in cloud-based applications, as well as across multiple platforms and programming languages.
The NetVault API uses JavaScript Object Notation (JSON) as the message format for request and response messages.
Lösung
NetVault offers REST APIs managed Swagger, an open-source suite of API developer tools To obtain the REST API files (Refer the attachment )
To deploy the REST APIs, on a Windows server or a Linux server, complete one of the following procedures.
NOTE: When deploying on Windows, run the command line as Administrator. When deploying on Linux,
execute the commands as root.
To deploy REST APIs on Windows:
1 On the NetVault Server, download and unzip the REST API files.
2 On the NetVault Server, download and install Node.js from https://nodejs.org/en/.
3 If not already installed, download and install NPM from https://npmjs.com/get-npm.
4 If not already installed, download and install Visual Studio Community including "Desktop development with C++" workload. More info https://github.com/nodejs/node-gyp#on-windows
5 Update config.js (for URL, DB_LOCATION, SERVER_PUBLIC_IP, CLI_PATH) present in the API folder.
6 In the root directory of the drive where you installed Node.js, create a folder named “db” (for example,
C:\db).
7 On the command line as Administrator, change to the path that contains the unzipped API files and run the following command:
npm install
8 Start the node server and run the following command:
npm run dev
9 After the server starts, to start using the APIs and view API documentation, open the following Swagger
of 'REST APIs forvideo-demonstration-of-rest-w.tColorWhiteBlackRedGreenBlueYellowMagentaCyai-TransparentBackgroundColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyOpaqueemi-TransparentTransparentWindowColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyTransparentSemi-TransparentOpaque
Font Size50%75%100%125%150%175%200%300%400%
Text Edge StyleNoneRaisedDepressedUniformDropshadow
Font FamilyProportional Sans-SerifMonospace Sans-SerifProportional SerifMonospace SerifCasu
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Empfohlener Inhalt
Produkt(e):
NetVault
13.0.2, 13.0.1, 13.0
Thema/Themen:
How To
Artikelhistorie:
Erstellt am: 6/30/2020 Letzte Aktualisierung am: 5/19/2023
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Willkommen beim Support!
Online-Support-Hilfe für Quest *Produkt* finden Sie auf einer zugehörigen Support-Seite. Klicken Sie auf "Weiter", um zum entsprechenden Support-Inhalt und zur entsprechenden Unterstützung für *Produkt* weitergeleitet zu werden.
Alle Artikel durchsuchen
Die Internet Explorer Versionen 8, 9 und 10 werden nicht mehr unterstützt.
Die Internet Explorer Versionen 8, 9 und 10 werden vom Quest Software Portal nicht mehr unterstützt. Wir empfehlen Ihnen, Ihren Browser auf die neueste Version von Internet Explorer oder Chrome zu aktualisieren.
Zum Upgraden auf Internet Explorer 11 hier klicken