Register an update module

This is an API function to register an update module. This API function corresponds to the operation of the [Add] button that is displayed by selecting the [Modules] on the operation screen of Manager.

= Remarks =

The response parameters of this API function is the same as those under the content layer of the acquire a list of update modules API function.

Format

curl -X POST --header 'Content-Type: multipart/form-data'
--header 'Accept: application/json'
--header 'X-API-KEY:APIKEY'
--form 'file=@FILENAME'

'http://HOSTNAME:PORTNUMBER/api/v1/modules'

Request parameter (Form data format)
Item name Request parameter Type Value Default value
Upload file name FILENAME multipart/form-data

Specify a file name of an update module after an @ by using an absolute path.

For details how to upload a module, confirm the specification of the client.

Impossible to omit
Response

{

"bit": "string",

"cpu": "string",

"moduleFileName": "string",

"moduleId": "string",

"moduleVersion": "string",

"os": "string",

"registrationDate": 0

}

Response parameter
Item name Response parameter Type Value
Agent Bit Count bit String

"32" | "64"

The value that indicates the bit count of Agent module is returned.

Agent Architecture cpu String

The CPU architecture on which the Agent module runs is returned.

Example: x86_84

Module File Name moduleFileName String  
Module ID moduleId String

 

Module Version moduleVersion String  
OS os String  
Registration Date and Time registrationDate Integer

The value is returned by using a "yyyyMMddHHmmssSSS" format.

Example: 20171124164131676