This URL gets all the device software available in the server.
Resource URL
GET /devicesoftware/versions
Request Parameters
None
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
| Field Name | Description | Data Type |
|---|---|---|
| downloadedVersions | All device software present in the Manager | Array |
| availableVersions | All device software available in the server for download | Array |
Details of objects under downloadedVersions:
| Field Name | Description | Data Type |
|---|---|---|
| model | Sensor model | String |
| versions | List of downloaded versions | Array |
Details of objects under availableVersions:
| Field Name | Description | Data Type |
|---|---|---|
| model | Sensor model | String |
| versions | List of downloaded versions | Array |
Details of objects under versions of availableVersions:
| Field Name | Description | Data Type |
|---|---|---|
| version | Version number | String |
| releaseDate | Release date | String |
| fileSize | Size of the file | String |
| isFIPSCompliant | Is the image FIPS compliant | Boolean |
Example
PUT https://<NSM_IP>/sdkapi/devicesoftware/versions
Response
{
"downloadedVersions": [
{
"model": "IPS-NS5100",
"versions": [
"10.1.5.75"
]
},
{
"model": "IPS-NS9200",
"versions": [
"10.1.5.75"
]
}
],
"availableVersions": [
{
"model": "M-8000",
"versions": [
{
“version”: “9.1.3.18”,
“releaseDate”: “10-Oct-2020”,
“fileSize”: “59.79 MB”,
“isFIPSCompliant”: false
}…
]
},….
}
Error Information
Following error code is returned by this URL:
| S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
| 1 | 400 | 1001 | Internal error |