Apply update: Request

Prev Next

To apply the NDR 1.3.2 update file, send the following request:

POST https://<IA_IP_address>/update/v1/IA-1.3.2.xxxxx/apply

Note

You don’t need to upgrade the data node separately as it can be effected from the Master node automatically.

Options

  • IA_IP_address—The IP address of the NDR appliance running the NDR API.

Example

POST https://xxx.xxx.xxx.xxx/update/v1/IA-1.3.2.68349/apply

Apply update: Response

HTTP/1.1 [Response Code] [Response Message]				
Server: [Server]
Date: [Date]				
Content-Type: [Content Type]
    • 200—Request successful; the appliance is updated.

    • 4xx—Request unsuccessful.

  • Response Message—A standard HTTP response message.

    • OK—Request successful; the appliance is updated.

    • Error message—Request unsuccessful.

  • Server—The server being used.

  • Date—Standard HTML date format.

  • Content Type—The response format.

Example
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 3 Jan 2018 00:24:48 GMT
Content-Type: text/plain; charset=utf-8

cURL Code Sample: Apply update

curl -X POST -u <adminuser>:<password> -k https://xxx.xxx.xxx.xxx/update/v1/IA-1.3.2.xxxxx/apply

This cURL sample includes the following options:

  • -X POST—This option changes the HTTP method to POST.

  • -u <adminuser>:<password>—The administrator username and password.

  • -k—This option explicitly allows cURL to perform insecure SSL connections and transfers, which allows you to test your SSL connection without installing a CA certificate.

  • https://xxx.xxx.xxx.xxx/update/v1/IA-1.3.2.xxxxx/apply—The authentication request URL. Replace xxx.xxx.xxx.xxx with the IP address of your NDR appliance, and the xxxxx with the version number of your update file.

Results

This example updates the NDR appliance to version 1.3.2.