Version management API

Use the version management APIs to get the version of the nslcm API, vnfpkgm API, and nsd API that are installed.

The following elements of the request, example, and responses are described:

Request

You can run the GET API against two URLs.

Aspect Value
Endpoint URL
nslcm
/api/etsi/nslcm/api_versions
/api/etsi/nslcm/v2/api_versions
vnfpkgm
/api/etsi/vnfpkgm/api_versions
/api/etsi/vnfpkgm/v2/api_versions
nsd
/api/etsi/nsd/api_versions
/api/etsi/nsd/v2/api_versions
HTTP Method GET

Response codes

HTTP status code Description
200 API version information was read successfully.
4xx/5xx In addition to the response codes defined in this table, any common error response codes.

Response

This section shows a typical response from the GET API.
Note: This example of the response does not include the retirementDate field as this version is not deprecated. Currently, there are no versions that have the isDeprecated set to True.
This is an example of nslcm response:
{
             "uriPrefix": "/api/etsi/nslcm/",
             "apiVersions": [
                   {
                         "version": "2.0.0",
                         "isDeprecated": false 
                   }
              ]
}
This is an example of vnfpkgm response:
{
                "uriPrefix": "/api/etsi/vnfpkgm/",
                "apiVersions": [
                      {
                            "version": "2.1.0",
                            "isDeprecated": false
                      }
                ]
}
This is an example of nsd response:
{
                "uriPrefix": "/api/etsi/nsd/",
                "apiVersions": [
                      {
                            "version": "2.1.0",
                            "isDeprecated": false
                      }
                ]
}